20 #ifndef __vtkMRMLPlotViewNode_h 21 #define __vtkMRMLPlotViewNode_h 35 void PrintSelf(ostream& os, vtkIndent indent)
override;
58 void WriteXML(ostream& of,
int indent)
override;
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)
override;
129 PlotChartNodeChangedEvent = 18000
132 virtual const char* GetPlotChartNodeReferenceRole();
140 virtual const char* GetPlotChartNodeReferenceMRMLAttributeName();
157 bool DoPropagatePlotChartSelection{
true};
159 int InteractionMode{InteractionModePanView};
160 bool EnablePointMoveAlongX{
true};
161 bool EnablePointMoveAlongY{
true};
MRML node to represent Plot view parameters.
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model).
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...
void ReadXMLAttributes(const char **atts) override
MRMLNode methods.
virtual void OnNodeReferenceRemoved(vtkMRMLNodeReference *reference)
Called when a referenced node pointer is removed (set to nullptr).
vtkMRMLCopyContentMacro(vtkMRMLAbstractViewNode)
void PrintSelf(ostream &os, vtkIndent indent) override
virtual void OnNodeReferenceAdded(vtkMRMLNodeReference *reference)
Abstract Superclass for all specific types of MRML nodes.
Class to hold information about a node reference.
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.