9 #ifndef __vtkMRMLAnnotationTextNode_h 10 #define __vtkMRMLAnnotationTextNode_h 12 #include "vtkSlicerAnnotationsModuleMRMLExport.h" 15 #include <vtkStdString.h> 32 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "AnnotationText";}
34 virtual const char*
GetIcon() VTK_OVERRIDE {
return ":/Icons/AnnotationText.png";}
40 int SetCaptionCoordinates(
double x,
double y);
41 int SetCaptionCoordinates(
double newCoord[2]);
49 TextNodeAddedEvent = 0,
int SetTextCoordinates(double newCoord[3])
static vtkMRMLAnnotationControlPointsNode * New()
vtkStdString GetTextLabel()
double * GetCaptionCoordinates()
void SetTextLabel(const char *newLabel)
double * GetTextCoordinates()
vtkStdString GetText(int id)
virtual const char * GetIcon() VTK_OVERRIDE
double * GetControlPointCoordinates(vtkIdType id)
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
MRMLNode methods.
void SetText(int id, const char *newText, int selectedFlag, int visibleFlag)
void operator=(const vtkMRMLAnnotationControlPointsNode &)
~vtkMRMLAnnotationTextNode()
Abstract Superclass for all specific types of MRML nodes.
int SetControlPoint(int id, double newControl[3], int selectedFlag, int visibleFlag)