glenoidplanefitting.algorithms.models module
Functions to create vtk models for visualisation of results
- glenoidplanefitting.algorithms.models.make_friedman_model(point1, point2)[source]
Makes a vtk line source from two set points
- Parameters
point1 – one end of the line
point2 – other end of the line
- Returns
The line
- glenoidplanefitting.algorithms.models.make_plane_model(plane_centre, normal_vector, resolution=10, plane_size=200.0)[source]
Makes a vtk plane source, with centre and normal vector
- Parameters
plane_centre – a point on the plane
normal_vector – the plane normal vector
- Returns
The plane