15 #ifndef __vtkMRMLDisplayableHierarchyNode_h 16 #define __vtkMRMLDisplayableHierarchyNode_h 22 class vtkCallbackCommand;
30 void PrintSelf(ostream& os, vtkIndent indent)
override;
44 void WriteXML(ostream& of,
int indent)
override;
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();
134 DisplayModifiedEvent = 17000
144 void SetDisplayNodeID(
const char *);
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object
const char * GetNodeTagName() override
Get node XML tag name (like Volume, DisplayableHierarchy)
vtkMRMLNode * CreateNodeInstance() override
Create instance of the default node. Like New only virtual.
void UpdateReferenceID(const char *oldID, const char *newID) override
Update the stored reference to another node in the scene
void PrintSelf(ostream &os, vtkIndent indent) override
virtual void SetAssociatedNodeID(const char *ref)
virtual char * GetDisplayableNodeID()
String ID of the corresponding displayable MRML node
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
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 &)
void SetSceneReferences() override
Set the reference node to current scene.
A set of MRML Nodes that supports serialization and undo/redo.
virtual void SetDisplayableNodeID(const char *ref)
void UpdateReferences() override
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
void UpdateScene(vtkMRMLScene *scene) override
Observe the reference transform node