1 #ifndef __vtkMRMLAnnotationFiducialNode_h 2 #define __vtkMRMLAnnotationFiducialNode_h 4 #include "vtkSlicerAnnotationsModuleMRMLExport.h" 7 #include <vtkStdString.h> 34 const char*
GetIcon()
override {
return ":/Icons/AnnotationPoint.png";}
36 int SetFiducial(
double newControl[3],
int selectedFlag,
int visibleFlag);
76 return this->SetFiducialCoordinates(newCoord);
90 bool GetFiducialCoordinates(
double coord[3]);
94 FiducialNodeAddedEvent = 0,
106 void SetTextFromID();
static vtkMRMLAnnotationControlPointsNode * New()
vtkStdString GetFiducialLabel()
int SetControlPointWorldCoordinates(int id, double newControl[3], int selectedFlag, int visibleFlag)
int GetFiducialValue()
return atoi(this->GetText(1).c_str());
const char * GetIcon() override
void SetFiducialValue(const char *newValue)
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
int SetFiducialCoordinates(double x, double y, double z)
double * GetFiducialCoordinates()
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
MRML node to represent a fiducial in the Annotations module - deprecated.
vtkStdString GetText(int id)
A superclass for other storage nodes.
void SetFiducialLabel(const char *newLabel)
Selected and visible are currently always set to 1 and are controlled by selected and visible flag...
double * GetControlPointCoordinates(vtkIdType id)
void SetText(int id, const char *newText, int selectedFlag, int visibleFlag)
int SetFiducialCoordinates(double newCoord[3], int selFlag=1, int visFlag=1)
void operator=(const vtkMRMLAnnotationControlPointsNode &)
void GetControlPointWorldCoordinates(vtkIdType id, double *point)
Abstract Superclass for all specific types of MRML nodes.
int SetFiducialWorldCoordinates(double newCoord[3], int selFlag=1, int visFlag=1)
int SetControlPoint(int id, double newControl[3], int selectedFlag, int visibleFlag)
void GetFiducialWorldCoordinates(double *point)