Go to the documentation of this file.
34 #ifndef vtkMappedDataArray_h
35 #define vtkMappedDataArray_h
41 template <
class Scalar>
43 vtkTypedDataArray<Scalar> >
126 size_t TemporaryScalarPointerSize;
130 #include "vtkMappedDataArray.txx"
135 #define vtkMappedDataArrayNewInstanceMacro(thisClass) \
137 vtkObjectBase *NewInstanceInternal() const \
139 if (vtkDataArray *da = \
140 vtkDataArray::CreateDataArray(thisClass::VTK_DATA_TYPE)) \
144 return thisClass::New(); \
150 #define vtkMappedDataArrayTypeMacro(thisClass, superClass) \
151 vtkAbstractTypeMacroWithNewInstanceType(thisClass, superClass, vtkDataArray) \
152 vtkMappedDataArrayNewInstanceMacro(thisClass)
154 #endif //vtkMappedDataArray_h
void InterpolateTuple(vtkIdType i, vtkIdList *ptIndices, vtkAbstractArray *source, double *weights)=0
Extend vtkDataArray with abstract type-specific API.
bool HasStandardMemoryLayout()
static vtkMappedDataArray< Scalar > * FastDownCast(vtkAbstractArray *source)
abstract superclass for arrays of numeric data
Map non-contiguous data structures into the vtkDataArray API.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void DeepCopy(vtkDataArray *da)=0
void PrintSelf(ostream &os, vtkIndent indent)
GLsizei const GLfloat * value
vtkTypedDataArray< Scalar > Superclass
a simple class to control print indentation
void ExportToVoidPointer(void *ptr)
A atomic type representing the union of many types.
list of point or cell ids
void * GetVoidPointer(vtkIdType id)
vtkVariant GetVariantValue(vtkIdType idx)=0
void SetVoidArray(void *, vtkIdType, int)
Abstract superclass for all arrays.
void GetTuples(vtkIdType p1, vtkIdType p2, vtkAbstractArray *output)=0
virtual int GetArrayType()
void InterpolateTuple(vtkIdType i, vtkIdType id1, vtkAbstractArray *source1, vtkIdType id2, vtkAbstractArray *source2, double t)=0
void DeepCopy(vtkAbstractArray *aa)=0
Superclass::ValueType ValueType
void GetTuples(vtkIdList *ptIds, vtkAbstractArray *output)=0
void SetVariantValue(vtkIdType idx, vtkVariant value)=0
void * WriteVoidPointer(vtkIdType, vtkIdType)
Provides the equivalent of vtkTypeMacro for use with template classes.