20 #ifndef __vtkMRMLPlotChartNode_h 21 #define __vtkMRMLPlotChartNode_h 43 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
49 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
53 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
61 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "PlotChart";};
67 void *callData) VTK_OVERRIDE;
79 PlotModifiedEvent = 17000,
89 void SetAndObservePlotDataNodeID(
const char *plotDataNodeID);
94 void AddAndObservePlotDataNodeID(
const char *plotDataNodeID);
99 void RemovePlotDataNodeID(
const char *plotDataNodeID);
104 void RemoveNthPlotDataNodeID(
int n);
108 void RemoveAllPlotDataNodeIDs();
124 void SetAndObserveNthPlotDataNodeID(
int n,
const char *plotDataNodeID);
128 bool HasPlotDataNodeID(
const char* plotDataNodeID);
133 int GetNumberOfPlotDataNodes();
140 const char *GetNthPlotDataNodeID(
int n);
145 int GetNthPlotIndexFromID(
const char* plotDataNodeID);
150 vtkIdType GetColorPlotIndexFromID(
const char* plotDataNodeID);
155 const char *GetPlotDataNodeID();
176 virtual int GetPlotNames(std::vector<std::string> &plotDataNodeNames);
180 virtual int GetPlotIDs(std::vector<std::string> &plotDataNodeIDs);
214 virtual const char* GetPlotDataNodeReferenceRole();
228 virtual const char* GetPlotDataNodeReferenceMRMLAttributeName();
static const char * PlotDataNodeReferenceMRMLAttributeName
MRML node for referencing a collection of data to plot.
void operator=(const vtkMRMLNode &)
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
virtual void OnNodeReferenceModified(vtkMRMLNodeReference *reference)
Called when a referenced node pointer is modified.
virtual void ProcessMRMLEvents(vtkObject *caller, unsigned long event, void *callData)
Propagate events generated in mrml.
virtual void OnNodeReferenceRemoved(vtkMRMLNodeReference *reference)
Called when a referenced node pointer is removed (set to NULL).
static const char * PlotDataNodeReferenceRole
MRML node to represent a vtkPlot object.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual void OnNodeReferenceAdded(vtkMRMLNodeReference *reference)
Abstract Superclass for all specific types of MRML nodes.
Class to hold information about a node reference.