15#ifndef __vtkMRMLDisplayableHierarchyNode_h
16#define __vtkMRMLDisplayableHierarchyNode_h
22class vtkCallbackCommand;
30 void PrintSelf(ostream& os, vtkIndent indent)
override;
44 void WriteXML(ostream& of,
int indent)
override;
113 const char *displayableNodeID);
Abstract class that contains graphical display properties for displayable nodes.
vtkMRMLDisplayableHierarchyNode * GetCollapsedParentNode()
Get the top parent node in the hierarchy which is not expanded.
static vtkMRMLDisplayableHierarchyNode * New()
void RemoveAllChildrenNodes()
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file.
void PrintSelf(ostream &os, vtkIndent indent) override
vtkMRMLDisplayNode * GetDisplayNode()
Get associated display MRML node.
void GetChildrenDisplayableNodes(vtkCollection *children)
Find all child displayable nodes in the hierarchy.
void ProcessMRMLEvents(vtkObject *, unsigned long, void *) override
alternative method to propagate events generated in Display nodes
virtual char * GetDisplayableNodeID()
String ID of the corresponding displayable MRML node.
vtkMRMLDisplayableNode * GetDisplayableNode()
Get associated displayable MRML node.
void RemoveChildrenNodes()
vtkMRMLDisplayableHierarchyNode()
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
vtkMRMLDisplayNode * DisplayNode
void UpdateReferences() override
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
void SetDisplayNodeID(const char *)
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object.
static vtkMRMLDisplayableHierarchyNode * GetDisplayableHierarchyNode(vtkMRMLScene *scene, const char *displayableNodeID)
Get Hierarchy node for a given displayable node.
const char * GetNodeTagName() override
Get node XML tag name (like Volume, DisplayableHierarchy)
void SetSceneReferences() override
Set the display node as reference into the scene.
~vtkMRMLDisplayableHierarchyNode() override
vtkMRMLDisplayableHierarchyNode(const vtkMRMLDisplayableHierarchyNode &)
void SetAndObserveDisplayNodeID(const char *DisplayNodeID)
void UpdateReferenceID(const char *oldID, const char *newID) override
Update the stored reference to another node in the scene.
void operator=(const vtkMRMLDisplayableHierarchyNode &)
void UpdateScene(vtkMRMLScene *scene) override
Finds the Displayable node and read the data.
virtual void SetDisplayableNodeID(const char *ref)
virtual void SetAssociatedNodeID(const char *ref)
virtual char * GetAssociatedNodeID()
String ID of the corresponding displayable MRML node.
friend class vtkMRMLScene