NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | List of all members
niftk::VTKIGIGeometry Class Reference

Public Member Functions

vtkSmartPointer< vtkPolyData > MakeLaparoscope (std::string rigidBodyFilename, std::string leftHandeyeFilename, std::string rightHandeyeFilename, std::string centreHandeyeFilename, bool AddCrossHairs=true, float trackerMarkerRadius=3.0, float LensAngle=30.0, float BodyLength=550)
 For visualisation purposes, creates a representation of the laparoscope. More...
 
vtkSmartPointer< vtkPolyData > MakePointer (std::string rigidBodyFilename, std::string handeyeFilename)
 For visualisation purposes, creates a representation of the pointer. More...
 
vtkSmartPointer< vtkPolyData > MakeReference (std::string rigidBodyFilename, std::string handeyeFilename)
 For visualisation purposes, creates a representation of the reference. More...
 
vtkSmartPointer< vtkPolyData > MakeReferencePolaris (std::string rigidBodyFilename, std::string handeyeFilename)
 For visualisation purposes, creates a representation of the reference. More...
 
vtkSmartPointer< vtkPolyData > MakeAWall (const int &whichwall, const float &size=4000, const float &xOffset=0.0, const float &yOffset=0.0, const float &zOffset=-0.3, const float &thickness=10.0)
 For visualisation purposes, make a wall of a cube. More...
 
vtkSmartPointer< vtkPolyData > MakeXAxes (const float &length=4000, const bool &symmetric=false)
 For visualisation purposes, make a nice big axes. More...
 
vtkSmartPointer< vtkPolyData > MakeYAxes (const float &length=4000, const bool &symmetric=false)
 For visualisation purposes, make a nice big axes. More...
 
vtkSmartPointer< vtkPolyData > MakeZAxes (const float &length=4000, const bool &symmetric=true)
 For visualisation purposes, make a nice big axes. More...
 
vtkSmartPointer< vtkPolyData > MakeLapLensAxes ()
 a special type of axis useful for cameras More...
 
vtkSmartPointer< vtkPolyData > MakeOptotrak (const float &width=500, bool Polaris=false)
 for visualisation purposes, make a representation of an Optotrak Certus camera unit More...
 
vtkSmartPointer< vtkPolyData > MakeTransrectalUSProbe (std::string handeyeFilename)
 For visualisation purposes, creates a representation of a transrectal ultrasound probe. More...
 
vtkSmartPointer< vtkPolyData > MakeMonitor ()
 For visualisation purposes, creates a representation of a monitor. More...
 

Member Function Documentation

vtkSmartPointer< vtkPolyData > niftk::VTKIGIGeometry::MakeAWall ( const int whichwall,
const float &  size = 4000,
const float &  xOffset = 0.0,
const float &  yOffset = 0.0,
const float &  zOffset = -0.3,
const float &  thickness = 10.0 
)

For visualisation purposes, make a wall of a cube.

Parameters
thesize of the cube in mm
whichwall to make
thexoffset, room will be centred at x= size * xOffset
vtkSmartPointer< vtkPolyData > niftk::VTKIGIGeometry::MakeLaparoscope ( std::string  rigidBodyFilename,
std::string  leftHandeyeFilename,
std::string  rightHandeyeFilename,
std::string  centreHandeyeFilename,
bool  AddCrossHairs = true,
float  trackerMarkerRadius = 3.0,
float  LensAngle = 30.0,
float  BodyLength = 550 
)

For visualisation purposes, creates a representation of the laparoscope.

Parameters
therigid body filename to define the location of the tracking markers
thehandeye calibration to define the tool origin
vtkSmartPointer< vtkPolyData > niftk::VTKIGIGeometry::MakeLapLensAxes ( )

a special type of axis useful for cameras

vtkSmartPointer< vtkPolyData > niftk::VTKIGIGeometry::MakeMonitor ( )

For visualisation purposes, creates a representation of a monitor.

Parameters
vtkSmartPointer< vtkPolyData > niftk::VTKIGIGeometry::MakeOptotrak ( const float &  width = 500,
bool  Polaris = false 
)

for visualisation purposes, make a representation of an Optotrak Certus camera unit

Parameters
thewidth of the camera unit
setto true to turn the neck over so it looks (a bit) more like a polaris
vtkSmartPointer< vtkPolyData > niftk::VTKIGIGeometry::MakePointer ( std::string  rigidBodyFilename,
std::string  handeyeFilename 
)

For visualisation purposes, creates a representation of the pointer.

Parameters
therigid body filename to define the location of the tracking markers
thehandeye calibration to define the tool origin
vtkSmartPointer< vtkPolyData > niftk::VTKIGIGeometry::MakeReference ( std::string  rigidBodyFilename,
std::string  handeyeFilename 
)

For visualisation purposes, creates a representation of the reference.

Parameters
therigid body filename to define the location of the tracking markers
thehandeye calibration to define the tool origin
vtkSmartPointer< vtkPolyData > niftk::VTKIGIGeometry::MakeReferencePolaris ( std::string  rigidBodyFilename,
std::string  handeyeFilename 
)

For visualisation purposes, creates a representation of the reference.

Parameters
therigid body filename to define the location of the tracking markers
thehandeye calibration to define the tool origin
vtkSmartPointer< vtkPolyData > niftk::VTKIGIGeometry::MakeTransrectalUSProbe ( std::string  handeyeFilename)

For visualisation purposes, creates a representation of a transrectal ultrasound probe.

Parameters
thehandeye calibration to define the tool origin
vtkSmartPointer< vtkPolyData > niftk::VTKIGIGeometry::MakeXAxes ( const float &  length = 4000,
const bool &  symmetric = false 
)

For visualisation purposes, make a nice big axes.

Parameters
thelength of the axis
whetheror not the axis is symmetric
vtkSmartPointer< vtkPolyData > niftk::VTKIGIGeometry::MakeYAxes ( const float &  length = 4000,
const bool &  symmetric = false 
)

For visualisation purposes, make a nice big axes.

Parameters
thelength of the axis
whetheror not the axis is symmetric
vtkSmartPointer< vtkPolyData > niftk::VTKIGIGeometry::MakeZAxes ( const float &  length = 4000,
const bool &  symmetric = true 
)

For visualisation purposes, make a nice big axes.

Parameters
thelength of the axis
whetheror not the axis is symmetric

The documentation for this class was generated from the following files: