15 #ifndef __vtkMRMLDisplayableNode_h 16 #define __vtkMRMLDisplayableNode_h 47 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
55 virtual const
char* GetNodeTagName() VTK_OVERRIDE = 0;
59 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
63 virtual
void WriteXML(ostream& of,
int indent) VTK_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();
163 void * ) VTK_OVERRIDE;
175 DisplayModifiedEvent = 17000,
181 virtual void CreateDefaultDisplayNodes();
188 virtual int GetDisplayVisibility();
189 virtual void SetDisplayVisibility(
int visible);
193 virtual int GetDisplayClassVisibility(
const char* nodeClass);
194 virtual void SetDisplayClassVisibility(
const char* nodeClass,
int visible);
200 virtual void GetRASBounds(
double bounds[6]);
205 virtual void GetBounds(
double bounds[6]);
207 virtual const char* GetDisplayNodeReferenceRole();
223 virtual const char* GetDisplayNodeReferenceMRMLAttributeName();
241 std::vector<vtkMRMLDisplayNode *> DisplayNodes;
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 Copy(vtkMRMLNode *node) VTK_OVERRIDE
Copy the node's attributes to this object
virtual void SetSelectable(int)