#include <SignFiducialCollection.h>
The SignFiducialCollection class collects all fiducials that belong to one specific object in the MRML scene. This object can be a volume, a model, or anything else that is a subclass of MrmlVirtualObjectNode. Methods to add, delete, and update fiducials are provided.
Public Member Functions | |
| SignFiducialCollection () | |
| Constructor. | |
| ~SignFiducialCollection () | |
| Destructor. | |
| SignFiducial * | AddFiducial (float x, float y, float z) |
| SignFiducial * | AddFiducial (float x, float y, float z, int newID) |
| SignFiducial * | AddFiducial (float *P) |
| SignFiducial * | AddFiducial (float x, float y, float z, vtkKWFrame *menu) |
| SignFiducial * | AddFiducial (float x, float y, float z, vtkKWFrame *menu, const char *name) |
| SignFiducial * | AddFiducial (float x, float y, float z, vtkKWFrame *menu, const char *name, int newID) |
| int | GetNumberOfFiducials () |
| Get the number of fiducial stored in this collection. | |
| int | DeleteFiducial (int id) |
| void | DeleteFiducialAndGUI (SignFiducial *fiducial) |
| void | SetParentNode (vtkMRMLNode *parent) |
| vtkMRMLNode * | GetParentNode () |
| Get the parent MRML node for this fiducial collection. | |
| void | UpdateFiducials (Sign2DViewer *viewer) |
Public Attributes | |
| bool | hasActors |
| hasActors is true if this fiducial collection has any 2D or 3D markers, i.e. if it belongs to a volume. | |
| FiducialVector | Fiducials |
| Vector of all fiducials in this collection. | |
|
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||||||||||||||||||
|
Coordinates have to be world coordinates.
|
|
||||||||||||||||||||||||
|
Coordinates have to be world coordinates. The ID of the new fiducial will be generated automatically.
|
|
||||||||||||||||||||
|
Coordinates have to be world coordinates. Name and ID of the new fiducial will be generated automatically.
|
|
|
Coordinates have to be world coordinates. Name and IF of the new fiducial will be generated automatically.
|
|
||||||||||||||||||||
|
Coordinates have to be world coordinates. The name of the new fiducial will be generated automatically.
|
|
||||||||||||||||
|
Coordinates have to be world coordinates. Name and ID of the new fiducial will be generated automatically.
|
|
|
Remove a fiducial from this collection.
|
|
|
Remove a fiducial from this collection and remove its label and button from the GUI.
|
|
|
Get the number of fiducial stored in this collection.
|
|
|
Get the parent MRML node for this fiducial collection.
|
|
|
Set the parent MRML node for this fiducial collection.
|
|
|
Update all markers for fiducials in this collection in the specified 2D viewer.
|
|
|
Vector of all fiducials in this collection.
|
|
|
hasActors is true if this fiducial collection has any 2D or 3D markers, i.e. if it belongs to a volume.
|
1.4.6