28 #ifndef vtkPeriodicDataArray_h
29 #define vtkPeriodicDataArray_h
34 template <
class Scalar>
36 public vtkTypeTemplate <vtkPeriodicDataArray <Scalar>, vtkMappedDataArray <Scalar> >
208 virtual void Transform(Scalar* tuple) = 0;
228 Scalar* TempScalarArray;
229 double* TempDoubleArray;
234 double PeriodicRange[6];
237 #include "vtkPeriodicDataArray.txx"
239 #endif //vtkPeriodicDataArray_h
vtkIdType InsertNextValue(Scalar v)
Provides the equivalent of vtkTypeMacro for use with template classes.
void RemoveTuple(vtkIdType id)
void GetTupleValue(vtkIdType idx, Scalar *t)
double * GetTuple(vtkIdType i)
Abstract superclass for all arrays.
void InsertValue(vtkIdType idx, Scalar v)
int Resize(vtkIdType numTuples)
virtual void ComputePeriodicRange()
unsigned long GetActualMemorySize()
int Allocate(vtkIdType sz, vtkIdType ext)
void SetNumberOfTuples(vtkIdType number)
void InsertTuples(vtkIdList *dstIds, vtkIdList *srcIds, vtkAbstractArray *source)
A atomic type representing the union of many types.
virtual void PrintSelf(ostream &os, vtkIndent indent)
void InsertTupleValue(vtkIdType i, const Scalar *t)
void InsertTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)
Map native an Array into an angulat periodic array.
virtual bool ComputeScalarRange(double *range)
vtkIdType LookupValue(vtkVariant value)
a simple class to control print indentation
vtkIdType InsertNextTupleValue(const Scalar *t)
void InterpolateTuple(vtkIdType i, vtkIdList *ptIndices, vtkAbstractArray *source, double *weights)
list of point or cell ids
abstract superclass for arrays of numeric data
vtkArrayIterator * NewIterator()
void SetTupleValue(vtkIdType i, const Scalar *t)
Abstract superclass to iterate over elements in an vtkAbstractArray.
vtkIdType InsertNextTuple(vtkIdType j, vtkAbstractArray *source)
void DeepCopy(vtkAbstractArray *aa)
void InitializeArray(vtkDataArrayTemplate< Scalar > *inputData)
vtkIdType LookupTypedValue(Scalar value)
void GetTuples(vtkIdList *ptIds, vtkAbstractArray *output)
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Scalar & GetValueReference(vtkIdType idx)
Scalar GetValue(vtkIdType idx)
virtual bool ComputeVectorRange(double range[2])
void InsertVariantValue(vtkIdType idx, vtkVariant value)
virtual void Transform(Scalar *tuple)=0
void SetVariantValue(vtkIdType idx, vtkVariant value)
vtkVariant GetVariantValue(vtkIdType idx)
void SetValue(vtkIdType idx, Scalar value)
void SetTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)