NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Go to the source code of this file.
Functions | |
NIFTKIGIGUI_EXPORT mitk::Surface::Pointer | LoadSurfaceFromSTLFile (QString &surfaceFilename) |
For testing purposes, loads an STL file. More... | |
NIFTKIGIGUI_EXPORT QString | CreateTestDeviceDescriptor () |
Creates a test NDI Polaris Vicra message, used for initial testing. More... | |
NIFTKIGIGUI_EXPORT bool | SaveMatrixToFile (const vtkMatrix4x4 &matrix, const QString &fileName) |
Saves the matrix to file, returning true if successful and false otherwise. This function also raises QMessage boxes, so, possibly no need to return the true/false status. More... | |
NIFTKIGIGUI_EXPORT void | ApplyTransformToSelectedNodes (const vtkMatrix4x4 &transform, const niftk::DataStorageCheckableComboBox &comboBox) |
Applies (sets, i.e. copies) the given transform to all checked nodes in the comboBox. More... | |
NIFTKIGIGUI_EXPORT void | ComposeTransformWithSelectedNodes (const vtkMatrix4x4 &transform, const niftk::DataStorageCheckableComboBox &comboBox) |
Composes the given transform with all checked nodes in the comboBox. More... | |
NIFTKIGIGUI_EXPORT mitk::Surface::Pointer | MakeLaparoscope (QString &rigidBodyFilename, const vtkMatrix4x4 &handeye) |
For visualisation purposes, creates a representation of the laparoscope. More... | |
NIFTKIGIGUI_EXPORT mitk::Surface::Pointer | MakePointer (QString &rigidBodyFilename, const vtkMatrix4x4 &handeye) |
For visualisation purposes, creates a representation of the pointer. More... | |
NIFTKIGIGUI_EXPORT mitk::Surface::Pointer | MakeReference (QString &rigidBodyFilename, const vtkMatrix4x4 &handeye) |
For visualisation purposes, creates a representation of the reference. More... | |
NIFTKIGIGUI_EXPORT mitk::Surface::Pointer | MakeAWall (const int &whichwall, const float &size=3000, 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... | |
NIFTKIGIGUI_EXPORT std::vector < float[3]> | ReadRigidBodyDefinitionFile (QString &rigidBodyFilename) |
get the IRED positions from a rigid body definition file More... | |
NIFTKIGIGUI_EXPORT QString | ConvertNanoSecondsToString (const igtlUint32 &nanosec) |
Converts an integer number of nanoseconds to a 9 digit string, prefixed with zeros. More... | |
NIFTKIGIGUI_EXPORT void ApplyTransformToSelectedNodes | ( | const vtkMatrix4x4 & | transform, |
const niftk::DataStorageCheckableComboBox & | comboBox | ||
) |
Applies (sets, i.e. copies) the given transform to all checked nodes in the comboBox.
NIFTKIGIGUI_EXPORT void ComposeTransformWithSelectedNodes | ( | const vtkMatrix4x4 & | transform, |
const niftk::DataStorageCheckableComboBox & | comboBox | ||
) |
Composes the given transform with all checked nodes in the comboBox.
NIFTKIGIGUI_EXPORT QString ConvertNanoSecondsToString | ( | const igtlUint32 & | nanosec | ) |
Converts an integer number of nanoseconds to a 9 digit string, prefixed with zeros.
NIFTKIGIGUI_EXPORT QString CreateTestDeviceDescriptor | ( | ) |
Creates a test NDI Polaris Vicra message, used for initial testing.
NIFTKIGIGUI_EXPORT mitk::Surface::Pointer LoadSurfaceFromSTLFile | ( | QString & | surfaceFilename | ) |
For testing purposes, loads an STL file.
surfaceFilename | the full filename |
NIFTKIGIGUI_EXPORT mitk::Surface::Pointer MakeAWall | ( | const int & | whichwall, |
const float & | size = 3000 , |
||
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.
the | size of the cube in mm |
which | wall to make |
the | xoffset, room will be centred at x= size * xOffset |
NIFTKIGIGUI_EXPORT mitk::Surface::Pointer MakeLaparoscope | ( | QString & | rigidBodyFilename, |
const vtkMatrix4x4 & | handeye | ||
) |
For visualisation purposes, creates a representation of the laparoscope.
the | rigid body filename to define the location of the tracking markers |
the | handeye calibration to define the tool origin |
NIFTKIGIGUI_EXPORT mitk::Surface::Pointer MakePointer | ( | QString & | rigidBodyFilename, |
const vtkMatrix4x4 & | handeye | ||
) |
For visualisation purposes, creates a representation of the pointer.
the | rigid body filename to define the location of the tracking markers |
the | handeye calibration to define the tool origin |
NIFTKIGIGUI_EXPORT mitk::Surface::Pointer MakeReference | ( | QString & | rigidBodyFilename, |
const vtkMatrix4x4 & | handeye | ||
) |
For visualisation purposes, creates a representation of the reference.
the | rigid body filename to define the location of the tracking markers |
the | handeye calibration to define the tool origin |
NIFTKIGIGUI_EXPORT std::vector<float [3]> ReadRigidBodyDefinitionFile | ( | QString & | rigidBodyFilename | ) |
get the IRED positions from a rigid body definition file
the | file name |
NIFTKIGIGUI_EXPORT bool SaveMatrixToFile | ( | const vtkMatrix4x4 & | matrix, |
const QString & | fileName | ||
) |
Saves the matrix to file, returning true if successful and false otherwise. This function also raises QMessage boxes, so, possibly no need to return the true/false status.