15 #ifndef __vtkMRMLDisplayableNode_h 16 #define __vtkMRMLDisplayableNode_h 47 void PrintSelf(ostream& os, vtkIndent indent)
override;
63 void WriteXML(ostream& of,
int indent)
override;
70 virtual void WriteCLI(std::vector<std::string>& vtkNotUsed(commandLine),
71 std::string vtkNotUsed(prefix),
72 int vtkNotUsed(coordinateSystemFlag) = 0,
73 int vtkNotUsed(multipleFlag) = 1) {};
82 void SetAndObserveDisplayNodeID(
const char *displayNodeID);
87 void AddAndObserveDisplayNodeID(
const char *displayNodeID);
92 void RemoveNthDisplayNodeID(
int n);
96 void RemoveAllDisplayNodeIDs();
112 void SetAndObserveNthDisplayNodeID(
int n,
const char *displayNodeID);
116 bool HasDisplayNodeID(
const char* displayNodeID);
121 int GetNumberOfDisplayNodes();
128 const char *GetNthDisplayNodeID(
int n);
133 const char *GetDisplayNodeID();
175 DisplayModifiedEvent = 17000,
181 virtual void CreateDefaultDisplayNodes();
186 virtual void CreateDefaultSequenceDisplayNodes();
192 virtual int GetDisplayVisibility();
193 virtual void SetDisplayVisibility(
int visible);
197 virtual int GetDisplayClassVisibility(
const char* nodeClass);
198 virtual void SetDisplayClassVisibility(
const char* nodeClass,
int visible);
204 virtual void GetRASBounds(
double bounds[6]);
209 virtual void GetBounds(
double bounds[6]);
211 virtual const char* GetDisplayNodeReferenceRole();
227 virtual const char* GetDisplayNodeReferenceMRMLAttributeName();
244 std::vector<vtkMRMLDisplayNode *> DisplayNodes;
virtual void WriteCLI(std::vector< std::string > &vtkNotUsed(commandLine), std::string vtkNotUsed(prefix), int vtkNotUsed(coordinateSystemFlag)=0, int vtkNotUsed(multipleFlag)=1)
virtual void Copy(vtkMRMLNode *node)
Copy node contents from another node of the same type. Does not copy node ID and Scene. Performs deep copy - an independent copy is created from all data, including bulk data.
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)