15 #ifndef __vtkMRMLDisplayableNode_h 16 #define __vtkMRMLDisplayableNode_h 48 void PrintSelf(ostream& os, vtkIndent indent)
override;
64 void WriteXML(ostream& of,
int indent)
override;
71 virtual void WriteCLI(std::vector<std::string>& vtkNotUsed(commandLine),
72 std::string vtkNotUsed(prefix),
74 int vtkNotUsed(multipleFlag) = 1) {};
83 void SetAndObserveDisplayNodeID(
const char *displayNodeID);
88 void AddAndObserveDisplayNodeID(
const char *displayNodeID);
93 void RemoveNthDisplayNodeID(
int n);
97 void RemoveAllDisplayNodeIDs();
113 void SetAndObserveNthDisplayNodeID(
int n,
const char *displayNodeID);
117 bool HasDisplayNodeID(
const char* displayNodeID);
122 int GetNumberOfDisplayNodes();
129 const char *GetNthDisplayNodeID(
int n);
134 const char *GetDisplayNodeID();
176 DisplayModifiedEvent = 17000,
182 virtual void CreateDefaultDisplayNodes();
187 virtual void CreateDefaultSequenceDisplayNodes();
194 virtual int GetDisplayVisibility();
195 virtual void SetDisplayVisibility(
int visible);
200 virtual int GetDisplayClassVisibility(
const char* nodeClass);
201 virtual void SetDisplayClassVisibility(
const char* nodeClass,
int visible);
207 virtual void GetRASBounds(
double bounds[6]);
212 virtual void GetBounds(
double bounds[6]);
214 virtual const char* GetDisplayNodeReferenceRole();
230 virtual const char* GetDisplayNodeReferenceMRMLAttributeName();
247 std::vector<vtkMRMLDisplayNode *> DisplayNodes;
void Copy(vtkMRMLNode *node) override
Copy node contents from another node of the same type. Reimplemented to copy default sequence storage...
virtual void WriteCLI(std::vector< std::string > &vtkNotUsed(commandLine), std::string vtkNotUsed(prefix), int vtkNotUsed(coordinateSystemFlag)=vtkMRMLStorageNode::CoordinateSystemRAS, int vtkNotUsed(multipleFlag)=1)
static const char * DisplayNodeReferenceMRMLAttributeName
static const char * DisplayNodeReferenceRole
Abstract class that contains graphical display properties for displayable nodes.
Abstract Superclass for all specific types of MRML nodes.
Class to hold information about a node reference.
virtual void SetSelectable(int)