|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   29 #ifndef vtkTestDataArray_h 
   30 #define vtkTestDataArray_h 
   32 #include "vtkCommonCoreModule.h"  
   36 template <
class ArrayT>
 
   62     this->Array->SetTypedTuple(tupleIdx, tuple);
 
   66     this->Array->SetTypedTuple(tupleIdx, tuple);
 
   71     return this->Array->GetTypedComponent(tupleIdx, compIdx);
 
   75     this->Array->SetTypedComponent(tupleIdx, compIdx, 
value);
 
   80     return this->Array->GetVoidPointer(valueIdx);
 
  
void SetTypedComponent(vtkIdType tupleIdx, int compIdx, ValueType value)
bool ReallocateTuples(vtkIdType numTuples)
void GetTypedTuple(vtkIdType tupleIdx, ValueType *tuple) const
vtkAbstractTemplateTypeMacro(SelfType, GenericDataArrayType)
Base interface for all typed vtkDataArray subclasses.
vtkAOSArrayNewInstanceMacro(SelfType)
ValueType GetValue(vtkIdType valueIdx) const
An implementation of vtkGenericDataArray for testing fallback algorithms.
vtkGenericDataArray< vtkTestDataArray< ArrayT >, ValueType > GenericDataArrayType
~vtkTestDataArray() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
void * GetVoidPointer(vtkIdType valueIdx) override
Return a void pointer.
bool AllocateTuples(vtkIdType numTuples)
void SetTypedTuple(vtkIdType tupleIdx, const ValueType *tuple)
static vtkTestDataArray< ArrayType > * New()
vtkTestDataArray< ArrayT > SelfType
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_STANDARD_NEW_BODY(thisClass)
ArrayType::ValueType ValueType
ValueType GetTypedComponent(vtkIdType tupleIdx, int compIdx) const
void SetValue(vtkIdType valueIdx, ValueType value)