15 #ifndef __vtkMRMLSelectionNode_h 16 #define __vtkMRMLSelectionNode_h 39 void PrintSelf(ostream& os, vtkIndent indent)
override;
47 void WriteXML(ostream& of,
int indent)
override;
56 const char* GetActiveVolumeID();
57 void SetActiveVolumeID(
const char*
id);
62 const char* GetSecondaryVolumeID();
63 void SetSecondaryVolumeID(
const char*
id);
68 const char* GetActiveLabelVolumeID();
69 void SetActiveLabelVolumeID(
const char*
id);
75 const char* GetActiveFiducialListID();
78 void SetActiveFiducialListID(
const char*
id);
87 vtkGetStringMacro (ActivePlaceNodeClassName);
92 vtkSetStringMacro(ActivePlaceNodeClassName);
97 void SetReferenceActivePlaceNodeClassName (
const char *className);
102 const char* GetActivePlaceNodeID();
106 void SetActivePlaceNodeID(
const char*
id);
112 { this->SetActivePlaceNodeID(
id);
116 const char* GetActiveROIListID();
117 void SetActiveROIListID(
const char*
id);
122 const char* GetActiveCameraID();
123 void SetActiveCameraID(
const char*
id);
128 const char* GetActiveTableID();
129 void SetActiveTableID(
const char*
id);
134 const char* GetActiveViewID();
135 void SetActiveViewID(
const char*
id );
140 const char* GetActiveLayoutID();
141 void SetActiveLayoutID(
const char*
id);
146 const char* GetActivePlotChartID();
147 void SetActivePlotChartID(
const char*
id);
165 ActivePlaceNodeIDChangedEvent = 19001,
173 void AddNewPlaceNodeClassNameToList(
const char *newID,
const char *resource =
nullptr,
const char *iconName =
"");
186 const char* GetUnitNodeID(
const char* quantity);
187 void SetUnitNodeID(
const char* quantity,
const char*
id);
196 void GetUnitNodes(std::vector<vtkMRMLUnitNode*>& units);
200 void GetUnitNodeIDs(std::vector<const char*>& quantities,
201 std::vector<const char*>& unitIDs);
206 void ProcessMRMLEvents(vtkObject *caller,
unsigned long event,
void *callData)
override;
210 void RemovePlaceNodeClassNameFromList(
const char *className);
213 std::string GetPlaceNodeClassNameByIndex(
int n);
216 std::string GetPlaceNodeResourceByIndex(
int n);
219 std::string GetPlaceNodeIconNameByIndex(
int n);
222 int PlaceNodeClassNameInList(std::string className);
227 std::string GetPlaceNodeResourceByClassName(std::string className);
void SetReferenceActiveTableID(char *id)
void SetReferenceActiveLayoutID(const char *id)
virtual void ReadXMLAttributes(const char **atts)
void SetReferenceActivePlaceNodeID(const char *id)
void operator=(const vtkMRMLNode &)
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
virtual void ProcessMRMLEvents(vtkObject *caller, unsigned long event, void *callData)
Propagate events generated in mrml.
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.
std::vector< std::string > PlaceNodeIconNameList
void SetReferenceActiveViewID(const char *id)
void SetReferenceActiveLabelVolumeID(const char *id)
void SetReferenceSecondaryVolumeID(char *id)
virtual void WriteXML(ostream &of, int indent)
void SetReferenceActiveFiducialListID(const char *id)
void SetReferenceActiveROIListID(const char *id)
void SetReferenceActiveVolumeID(const char *id)
int GetNumberOfPlaceNodeClassNamesInList()
Get the number of class names in the list.
void PrintSelf(ostream &os, vtkIndent indent) override
Abstract Superclass for all specific types of MRML nodes.
void SetReferenceActiveCameraID(const char *id)
Node that holds the information about a unit.
MRML node for storing information about the active nodes in the scene.
char * ActivePlaceNodeClassName
std::vector< std::string > PlaceNodeClassNameList
std::vector< std::string > PlaceNodeResourceList
void SetReferenceActivePlotChartID(const char *id)