20 #ifndef __vtkMRMLPlotViewNode_h 21 #define __vtkMRMLPlotViewNode_h 35 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
54 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
58 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
66 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "PlotView"; };
70 virtual void SetPlotChartNodeID(
const char *PlotChartNodeID);
74 const char* GetPlotChartNodeID();
85 vtkSetMacro (DoPropagatePlotChartSelection,
bool );
86 vtkGetMacro (DoPropagatePlotChartSelection,
bool );
93 vtkGetMacro(InteractionMode,
int);
94 vtkSetMacro(InteractionMode,
int);
98 vtkBooleanMacro(EnablePointMoveAlongX,
bool);
99 vtkGetMacro(EnablePointMoveAlongX,
bool);
100 vtkSetMacro(EnablePointMoveAlongX,
bool);
104 vtkBooleanMacro(EnablePointMoveAlongY,
bool);
105 vtkGetMacro(EnablePointMoveAlongY,
bool);
106 vtkSetMacro(EnablePointMoveAlongY,
bool);
110 static const char *GetInteractionModeAsString(
int id);
111 static int GetInteractionModeFromString(
const char *name);
117 void *callData) VTK_OVERRIDE;
129 PlotChartNodeChangedEvent = 18000
132 virtual const char* GetPlotChartNodeReferenceRole();
140 virtual const char* GetPlotChartNodeReferenceMRMLAttributeName();
MRML node to represent Plot view parameters.
MRML node for referencing a collection of data to plot.
static const char * PlotChartNodeReferenceRole
void operator=(const vtkMRMLAbstractViewNode &)
static const char * PlotChartNodeReferenceMRMLAttributeName
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.
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D...
bool DoPropagatePlotChartSelection
virtual void OnNodeReferenceRemoved(vtkMRMLNodeReference *reference)
Called when a referenced node pointer is removed (set to NULL).
bool EnablePointMoveAlongX
virtual void OnNodeReferenceAdded(vtkMRMLNodeReference *reference)
Abstract Superclass for all specific types of MRML nodes.
Class to hold information about a node reference.
bool EnablePointMoveAlongY
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE