42 #ifndef __vtkDataArray_h
43 #define __vtkDataArray_h
137 virtual double *GetTuple(
vtkIdType i) = 0;
142 virtual void GetTuple(
vtkIdType i,
double * tuple) = 0;
168 void SetTuple2(
vtkIdType i,
double val0,
double val1);
169 void SetTuple3(
vtkIdType i,
double val0,
double val1,
double val2);
170 void SetTuple4(
vtkIdType i,
double val0,
double val1,
double val2,
172 void SetTuple9(
vtkIdType i,
double val0,
double val1,
double val2,
173 double val3,
double val4,
double val5,
double val6,
174 double val7,
double val8);
189 void InsertTuple2(
vtkIdType i,
double val0,
double val1);
190 void InsertTuple3(
vtkIdType i,
double val0,
double val1,
double val2);
191 void InsertTuple4(
vtkIdType i,
double val0,
double val1,
double val2,
193 void InsertTuple9(
vtkIdType i,
double val0,
double val1,
double val2,
194 double val3,
double val4,
double val5,
double val6,
195 double val7,
double val8);
210 void InsertNextTuple1(
double value);
211 void InsertNextTuple2(
double val0,
double val1);
212 void InsertNextTuple3(
double val0,
double val1,
double val2);
213 void InsertNextTuple4(
double val0,
double val1,
double val2,
215 void InsertNextTuple9(
double val0,
double val1,
double val2,
216 double val3,
double val4,
double val5,
double val6,
217 double val7,
double val8);
224 virtual void RemoveTuple(
vtkIdType id) = 0;
225 virtual void RemoveFirstTuple() = 0;
226 virtual void RemoveLastTuple() = 0;
232 virtual double GetComponent(
vtkIdType i,
int j);
238 virtual void SetComponent(
vtkIdType i,
int j,
double c);
243 virtual void InsertComponent(
vtkIdType i,
int j,
double c);
267 virtual void FillComponent(
int j,
double c);
295 void CreateDefaultLookupTable();
310 this->ComputeRange(range, comp);
322 this->GetRange(this->Range, comp);
332 return this->GetRange(0);
341 this->GetRange(range,0);
348 void GetDataTypeRange(
double range[2]);
349 double GetDataTypeMin();
350 double GetDataTypeMax();
351 static void GetDataTypeRange(
int type,
double range[2]);
352 static double GetDataTypeMin(
int type);
353 static double GetDataTypeMax(
int type);
358 virtual double GetMaxNorm();
394 virtual void ComputeRange(
double range[2],
int comp);
397 virtual void ComputeScalarRange(
double range[2],
int comp);
398 virtual void ComputeVectorRange(
double range[2]);
GLsizei GLsizei GLenum GLenum const GLvoid * data
void PrintSelf(ostream &os, vtkIndent indent)
void GetRange(double range[2])
GLuint GLuint GLsizei GLenum type
virtual void DeepCopy(vtkAbstractArray *da)
Abstract superclass for all arrays.
virtual int GetDataTypeSize()=0
#define VTKCOMMONCORE_EXPORT
virtual void SetTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)=0
map scalar values into colors via a lookup table
virtual int GetArrayType()
virtual int GetArrayType()
GLsizei const GLfloat * value
virtual int GetElementComponentSize()
void GetRange(double range[2], int comp)
#define vtkTypeMacro(thisClass, superclass)
virtual int CopyInformation(vtkInformation *infoFrom, int deep=1)
dynamic, self-adjusting array of double
double * GetRange(int comp)
a simple class to control print indentation
list of point or cell ids
virtual void InsertTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)=0
abstract superclass for arrays of numeric data
virtual void GetTuples(vtkIdList *ptIds, vtkAbstractArray *output)
vtkLookupTable * LookupTable
#define vtkGetObjectMacro(name, type)
virtual void InterpolateTuple(vtkIdType i, vtkIdList *ptIndices, vtkAbstractArray *source, double *weights)=0
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
static vtkDataArray * FastDownCast(vtkAbstractArray *source)
virtual vtkIdType InsertNextTuple(vtkIdType j, vtkAbstractArray *source)=0
virtual unsigned long GetActualMemorySize()=0