30 #ifndef vtkCPExodusIIResultsArrayTemplate_h 31 #define vtkCPExodusIIResultsArrayTemplate_h 37 template <
class Scalar>
129 double *TempDoubleArray;
138 #include "vtkCPExodusIIResultsArrayTemplate.txx" 140 #endif //vtkCPExodusIIResultsArrayTemplate_h vtkVariant GetVariantValue(vtkIdType idx) override
Retrieve value from the array as a variant.
void RemoveFirstTuple() override
This container is read only – this method does nothing but print a warning.
void InsertTuples(vtkIdList *dstIds, vtkIdList *srcIds, vtkAbstractArray *source) override
This container is read only – this method does nothing but print a warning.
void InsertVariantValue(vtkIdType idx, vtkVariant value) override
This container is read only – this method does nothing but print a warning.
void SetExodusScalarArrays(std::vector< Scalar * > arrays, vtkIdType numTuples)
Set the arrays to be used and the number of tuples in each array.
void ClearLookup() override
Delete the associated fast lookup data structure on this array, if it exists.
Map non-contiguous data structures into the vtkDataArray API.
Abstract superclass for all arrays.
void DeepCopy(vtkAbstractArray *aa) override
This container is read only – this method does nothing but print a warning.
void Initialize() override
Release storage and reset array to initial state.
void SetTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source) override
This container is read only – this method does nothing but print a warning.
ValueType GetValue(vtkIdType idx) const override
Get the data at a particular index.
void RemoveLastTuple() override
This container is read only – this method does nothing but print a warning.
void RemoveTuple(vtkIdType id) override
This container is read only – this method does nothing but print a warning.
#define vtkMappedDataArrayNewInstanceMacro(thisClass)
vtkCPExodusIIResultsArrayTemplate()
A atomic type representing the union of many types.
vtkIdType InsertNextTuple(vtkIdType j, vtkAbstractArray *source) override
This container is read only – this method does nothing but print a warning.
vtkTypeBool Allocate(vtkIdType sz, vtkIdType ext) override
This container is read only – this method does nothing but print a warning.
void GetTypedTuple(vtkIdType idx, Scalar *t) const override
Copy the tuple value into a user-provided array.
void SetVariantValue(vtkIdType idx, vtkVariant value) override
This container is read only – this method does nothing but print a warning.
~vtkCPExodusIIResultsArrayTemplate() override
void InterpolateTuple(vtkIdType i, vtkIdList *ptIndices, vtkAbstractArray *source, double *weights) override
This container is read only – this method does nothing but print a warning.
void InsertValue(vtkIdType idx, Scalar v) override
This container is read only – this method does nothing but print a warning.
vtkAbstractTemplateTypeMacro(vtkCPExodusIIResultsArrayTemplate< Scalar >, vtkMappedDataArray< Scalar >) vtkMappedDataArrayNewInstanceMacro(vtkCPExodusIIResultsArrayTemplate< Scalar >) static vtkCPExodusIIResultsArrayTemplate *New()
a simple class to control print indentation
list of point or cell ids
void InsertTypedTuple(vtkIdType i, const Scalar *t) override
This container is read only – this method does nothing but print a warning.
abstract superclass for arrays of numeric data
double * GetTuple(vtkIdType i) override
Get the data tuple at tupleIdx.
void GetTuples(vtkIdList *ptIds, vtkAbstractArray *output) override
Given a list of tuple ids, return an array of tuples.
vtkTypeBool Resize(vtkIdType numTuples) override
This container is read only – this method does nothing but print a warning.
Map native Exodus II results arrays into the vtkDataArray interface.
Abstract superclass to iterate over elements in an vtkAbstractArray.
Superclass::ValueType ValueType
vtkIdType LookupValue(vtkVariant value) override
Return the value indices where a specific value appears.
void save(Archiver &ar, const vtkUnicodeString &str, const unsigned int vtkNotUsed(version))
void SetNumberOfTuples(vtkIdType number) override
This container is read only – this method does nothing but print a warning.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
vtkIdType InsertNextTypedTuple(const Scalar *t) override
This container is read only – this method does nothing but print a warning.
void SetTypedTuple(vtkIdType i, const Scalar *t) override
This container is read only – this method does nothing but print a warning.
ValueType & GetValueReference(vtkIdType idx) override
Get a reference to the scalar value at a particular index.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdType InsertNextValue(Scalar v) override
This container is read only – this method does nothing but print a warning.
vtkArrayIterator * NewIterator() override
Subclasses must override this method and provide the right kind of templated vtkArrayIteratorTemplate...
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkIdType LookupTypedValue(Scalar value) override
void Squeeze() override
Free any unnecessary memory.
void InsertTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source) override
This container is read only – this method does nothing but print a warning.
void SetValue(vtkIdType idx, Scalar value) override
This container is read only – this method does nothing but print a warning.
std::vector< Scalar * > Arrays