15 #ifndef __vtkMRMLDoubleArrayNode_h 16 #define __vtkMRMLDoubleArrayNode_h 44 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
50 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
54 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
62 virtual const
char* GetNodeTagName() VTK_OVERRIDE
63 {
return "DoubleArray";}
67 virtual void ProcessMRMLEvents ( vtkObject *caller,
unsigned long event,
void *callData ) VTK_OVERRIDE;
72 virtual void SetArray(vtkDoubleArray*);
73 vtkGetObjectMacro ( Array, vtkDoubleArray );
81 void SetSize(
unsigned int n);
85 unsigned int GetSize();
91 double GetYAxisValue(
double x,
int interp=INTERP_LINEAR);
104 int SetValues(
int index,
double* values);
108 int SetValue(
int index,
int component,
double value);
112 int SetXYValue(
int index,
double x,
double y);
117 int SetXYValue(
int index,
double x,
double y,
double yerr);
121 int GetValues(
int index,
double* values);
125 double GetValue(
int index,
int component,
int& success);
129 int GetXYValue(
int index,
double* x,
double* y);
134 int GetXYValue(
int index,
double* x,
double* y,
double* yerr);
138 int AddValues(
double* values);
142 int AddValue(
int component,
double value);
146 int AddXYValue(
double x,
double y);
151 int AddXYValue(
double x,
double y,
double yerr);
157 void GetRange(
double* rangeX,
double* rangeY,
int fIncludeError=1);
162 void GetXRange(
double* range);
168 void GetYRange(
double* range,
int fIncludeError=1);
199 vtkDoubleArray* Array;
virtual vtkMRMLStorageNode * CreateDefaultStorageNode()
virtual void ProcessMRMLEvents(vtkObject *, unsigned long, void *) VTK_OVERRIDE
alternative method to propagate events generated in Storage nodes
std::vector< std::string > LabelsVectorType
virtual vtkMRMLNode * CreateNodeInstance() VTK_OVERRIDE=0
MRMLNode methods.
MRML node to represent a 3D surface model.
A superclass for other storage nodes.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract Superclass for all specific types of MRML nodes.