6 #ifndef __vtkMRMLAnnotationHierarchyNode_h 7 #define __vtkMRMLAnnotationHierarchyNode_h 9 #include "vtkSlicerAnnotationsModuleMRMLExport.h" 12 class vtkAbstractTransform;
20 void PrintSelf(ostream& os, vtkIndent indent)
override;
24 virtual const char*
GetIcon() {
return ":/Icons/Medium/SlicerHierarchy.png";};
32 void WriteXML(ostream& of,
int indent)
override;
40 virtual void GetDirectChildren(vtkCollection *children);
44 virtual void GetAllChildren(vtkCollection *children);
50 virtual void GetChildren(vtkCollection *children,
int level);
55 virtual void DeleteDirectChildren();
58 virtual bool CanApplyNonLinearTransforms()
const;
59 virtual void ApplyTransform(vtkAbstractTransform* transform);
virtual const char * GetIcon()
const char * GetNodeTagName() override
Get node XML tag name (like Volume, DisplayableHierarchy)
static vtkMRMLDisplayableHierarchyNode * New()
void PrintSelf(ostream &os, vtkIndent indent) override
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
void operator=(const vtkMRMLDisplayableHierarchyNode &)
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
MRML node to represent a hierarchy of displayable nodes.
Abstract Superclass for all specific types of MRML nodes.