15 #ifndef __vtkMRMLModelHierarchyNode_h 16 #define __vtkMRMLModelHierarchyNode_h 28 void PrintSelf(ostream& os, vtkIndent indent)
override;
42 void WriteXML(ostream& of,
int indent)
override;
80 this->SetModelNodeID(ref);
99 void GetChildrenModelNodes(vtkCollection *models);
void SetModelNodeIDReference(const char *ref)
Need this for tcl wrapping to call ReferenceStringMacro methods.
vtkMRMLDisplayableHierarchyNode * GetCollapsedParentNode()
Get the top parent node in the hierarchy which is not expanded
void ProcessMRMLEvents(vtkObject *, unsigned long, void *) override
alternative method to propagate events generated in Display nodes
void UpdateReferences() override
MRML node to represent a display property of 3D surface model.
MRML node to represent a 3D surface model.
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 &)
virtual char * GetDisplayableNodeID()
String ID of the corresponding displayable MRML node
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
vtkMRMLNode * CreateNodeInstance() override
MRMLNode methods.
void Copy(vtkMRMLNode *node) override
Copy the node's attributes to this object
A set of MRML Nodes that supports serialization and undo/redo.
virtual void SetDisplayableNodeID(const char *ref)
vtkMRMLModelDisplayNode * ModelDisplayNode
Data.
void SetModelNodeID(const char *id)
String ID of the model MRML node
MRML node to represent a hierarchyu of models.
void UpdateScene(vtkMRMLScene *scene) override
Finds the Displayable node and read the data
const char * GetNodeTagName() override
Get node XML tag name (like Volume, ModelHierarchy)
MRML node to represent a hierarchy of displayable nodes.
Abstract Superclass for all specific types of MRML nodes.
void UpdateReferenceID(const char *oldID, const char *newID) override
Update the stored reference to another node in the scene