1 #ifndef __vtkMRMLAnnotationBidimensionalNode_h 2 #define __vtkMRMLAnnotationBidimensionalNode_h 4 #include "vtkSlicerAnnotationsModuleMRMLExport.h" 8 class vtkAbstractTransform;
25 virtual
vtkMRMLNode* CreateNodeInstance() VTK_OVERRIDE;
28 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "AnnotationBidimensional";}
30 virtual const char*
GetIcon() VTK_OVERRIDE {
return ":/Icons/AnnotationBidimensional.png";}
38 virtual void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
51 void * ) VTK_OVERRIDE;
56 vtkGetStringMacro(AnnotationFormat);
57 vtkSetStringMacro(AnnotationFormat);
61 vtkGetMacro(Resolution,
int);
62 vtkSetMacro(Resolution,
int);
68 std::vector<double> GetBidimensionalMeasurement();
69 void SetBidimensionalMeasurement(
double val1,
double val2);
75 double localPoint[4]={0,0,0,1};
82 BidimensionalNodeAddedEvent = 0,
void Initialize(vtkMRMLScene *mrmlScene) VTK_OVERRIDE
virtual void PrintAnnotationInfo(ostream &os, vtkIndent indent, int titleFlag=1) VTK_OVERRIDE
int SetControlPointWorldCoordinates(double newControl[3], int id)
void operator=(const vtkMRMLAnnotationLinesNode &)
virtual void ReadXMLAttributes(const char **atts) VTK_OVERRIDE
Read node attributes from XML file.
int SetControlPoint(int id, double newControl[3], int selectedFlag, int visibleFlag)
A set of MRML Nodes that supports serialization and undo/redo.
virtual void Copy(vtkMRMLNode *node) VTK_OVERRIDE
Copy the node's attributes to this object.
virtual void WriteXML(ostream &of, int indent) VTK_OVERRIDE
Write this node's information to a MRML file in XML format.
virtual const char * GetIcon() VTK_OVERRIDE
static vtkMRMLAnnotationLinesNode * New()
Abstract Superclass for all specific types of MRML nodes.
virtual void ProcessMRMLEvents(vtkObject *, unsigned long, void *) VTK_OVERRIDE
alternative method to propagate events generated in Display nodes
void UpdateScene(vtkMRMLScene *scene) VTK_OVERRIDE
Finds the storage node and read the data.