15 #ifndef __vtkMRMLDisplayableHierarchyNode_h 16 #define __vtkMRMLDisplayableHierarchyNode_h 22 class vtkCallbackCommand;
30 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
40 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
44 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
53 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "DisplayableHierarchy";}
61 virtual
void UpdateReferences() VTK_OVERRIDE;
65 virtual
void UpdateScene(
vtkMRMLScene *scene) VTK_OVERRIDE;
69 virtual
void UpdateReferenceID(const
char *oldID, const
char *newID) VTK_OVERRIDE;
73 virtual
char* GetDisplayableNodeID()
83 void SetAndObserveDisplayNodeID(
const char *DisplayNodeID);
84 vtkGetStringMacro(DisplayNodeID);
98 vtkBooleanMacro(Expanded,
int);
99 vtkGetMacro(Expanded,
int);
100 vtkSetMacro(Expanded,
int);
108 void GetChildrenDisplayableNodes(vtkCollection *children);
113 const char *displayableNodeID);
118 void RemoveChildrenNodes();
122 void RemoveAllChildrenNodes();
129 void * ) VTK_OVERRIDE;
134 DisplayModifiedEvent = 17000
144 void SetDisplayNodeID(
const char *);
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE
Create instance of the default node. Like New only virtual.
virtual void SetAssociatedNodeID(const char *ref)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual void SetSceneReferences() VTK_OVERRIDE
Set the reference node to current scene.
virtual char * GetAssociatedNodeID()
String ID of the corresponding displayable MRML node
virtual void ProcessMRMLEvents(vtkObject *caller, unsigned long event, void *callData)
Propagate events generated in mrml.
Abstract class representing a hierarchy member.
void operator=(const vtkMRMLHierarchyNode &)
A set of MRML Nodes that supports serialization and undo/redo.
virtual void SetDisplayableNodeID(const char *ref)
static vtkMRMLHierarchyNode * New()
Abstract class that contains graphical display properties for displayable nodes.
MRML node to represent a hierarchy of displayable nodes.
Abstract Superclass for all specific types of MRML nodes.
vtkMRMLDisplayNode * DisplayNode