15 #ifndef __vtkMRMLDoubleArrayNode_h 16 #define __vtkMRMLDoubleArrayNode_h 44 void PrintSelf(ostream& os, vtkIndent indent)
override;
54 void WriteXML(ostream& of,
int indent)
override;
63 {
return "DoubleArray";}
67 void ProcessMRMLEvents ( vtkObject *caller,
unsigned long event,
void *callData )
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);
201 std::vector< std::string >
Unit;
virtual vtkMRMLStorageNode * CreateDefaultStorageNode()
void ReadXMLAttributes(const char **atts) override
Read node attributes from XML file
vtkMRMLNode * CreateNodeInstance() override=0
MRMLNode methods.
std::vector< std::string > LabelsVectorType
MRML node to represent a 3D surface model.
std::vector< std::string > Unit
A superclass for other storage nodes.
void ProcessMRMLEvents(vtkObject *, unsigned long, void *) override
alternative method to propagate events generated in Storage nodes
vtkMRMLCopyContentMacro(vtkMRMLStorableNode)
const char * GetNodeTagName() override
Get node XML tag name (like Volume, Model)
std::vector< std::string > Labels
Abstract Superclass for all specific types of MRML nodes.
void operator=(const vtkMRMLStorableNode &)
void WriteXML(ostream &of, int indent) override
Write this node's information to a MRML file in XML format.
void PrintSelf(ostream &os, vtkIndent indent) override
vtkDoubleArray * Array
Data.