Go to the documentation of this file.
27 #ifndef vtkCPExodusIINodalCoordinatesTemplate_h
28 #define vtkCPExodusIINodalCoordinatesTemplate_h
31 #include "vtkIOExodusModule.h"
35 template <
class Scalar>
128 double *TempDoubleArray;
131 #include "vtkCPExodusIINodalCoordinatesTemplate.txx"
133 #endif //vtkCPExodusIINodalCoordinatesTemplate_h
vtkAbstractTemplateTypeMacro(vtkCPExodusIINodalCoordinatesTemplate< Scalar >, vtkMappedDataArray< Scalar >) vtkMappedDataArrayNewInstanceMacro(vtkCPExodusIINodalCoordinatesTemplate< Scalar >) static vtkCPExodusIINodalCoordinatesTemplate *New()
void DeepCopy(vtkAbstractArray *aa) override
Deep copy of data.
void SetTuple(vtkIdType i, const double *source) override
vtkIdType InsertNextValue(Scalar v) override
Insert data at the end of the array.
vtkIdType InsertNextTuple(const float *source) override
Insert the data tuple at the end of the array and return the tuple index at which the data was insert...
void InterpolateTuple(vtkIdType i, vtkIdList *ptIndices, vtkAbstractArray *source, double *weights) override
Set the tuple at dstTupleIdx in this array to the interpolated tuple value, given the ptIndices in th...
void InsertValue(vtkIdType idx, Scalar v) override
Insert data at a specified position in the array.
void GetTuples(vtkIdList *ptIds, vtkAbstractArray *output) override
Given a list of tuple ids, return an array of tuples.
void ClearLookup() override
Delete the associated fast lookup data structure on this array, if it exists.
void GetTypedTuple(vtkIdType idx, Scalar *t) const override
Copy the tuple value into a user-provided array.
double * GetTuple(vtkIdType i) override
Get the data tuple at tupleIdx.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
void SetTuple(vtkIdType i, const float *source) override
Set the data tuple at tupleIdx.
Map native Exodus II coordinate arrays into the vtkDataArray interface.
void SetVariantValue(vtkIdType idx, vtkVariant value) override
Set a value in the array from a variant.
void RemoveLastTuple() override
void InsertTuples(vtkIdType dstStart, vtkIdType n, vtkIdType srcStart, vtkAbstractArray *source) override
Copy n consecutive tuples starting at srcStart from the source array to this array,...
abstract superclass for arrays of numeric data
ValueType & GetValueReference(vtkIdType idx) override
Get a reference to the scalar value at a particular index.
vtkIdType InsertNextTypedTuple(const Scalar *t) override
Insert (memory allocation performed) the tuple onto the end of the array.
Superclass::ValueType ValueType
Map non-contiguous data structures into the vtkDataArray API.
ValueType GetValue(vtkIdType idx) const override
Get the data at a particular index.
vtkGenericDataArrayLookupHelper< SelfType > Lookup
vtkIdType InsertNextTuple(const double *source) override
void LookupValue(vtkVariant value, vtkIdList *ids) override
#define vtkMappedDataArrayNewInstanceMacro(thisClass)
void InsertTuples(vtkIdList *dstIds, vtkIdList *srcIds, vtkAbstractArray *source) override
Copy the tuples indexed in srcIds from the source array to the tuple locations indexed by dstIds in t...
vtkIdType InsertNextTuple(vtkIdType j, vtkAbstractArray *source) override
Insert the tuple from srcTupleIdx in the source array at the end of this array.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void SetValue(vtkIdType idx, Scalar value) override
Set the data at a particular index.
void SetNumberOfTuples(vtkIdType number) override
Set the number of tuples (a component group) in the array.
vtkIdType LookupValue(vtkVariant value) override
Return the value indices where a specific value appears.
vtkTypeBool Allocate(vtkIdType sz, vtkIdType ext) override
This container is read only – this method does nothing but print a warning.
void DeepCopy(vtkDataArray *da) override
~vtkCPExodusIINodalCoordinatesTemplate() override
vtkArrayIterator * NewIterator() override
Subclasses must override this method and provide the right kind of templated vtkArrayIteratorTemplate...
void SetExodusScalarArrays(Scalar *x, Scalar *y, Scalar *z, vtkIdType numPoints)
Set the raw scalar arrays for the coordinate set.
a simple class to control print indentation
A atomic type representing the union of many types.
void Squeeze() override
Free any unnecessary memory.
list of point or cell ids
void RemoveFirstTuple() override
void LookupTypedValue(Scalar value, vtkIdList *ids) override
void InsertTuple(vtkIdType i, const float *source) override
Insert the data tuple at tupleIdx.
void InsertTuple(vtkIdType i, const double *source) override
Abstract superclass for all arrays.
void RemoveTuple(vtkIdType id) override
These methods remove tuples from the data array.
void InsertVariantValue(vtkIdType idx, vtkVariant value) override
Insert a value into the array from a variant.
void SetTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source) override
Set the tuple at dstTupleIdx in this array to the tuple at srcTupleIdx in the source array.
vtkIdType LookupTypedValue(Scalar value) override
void InsertTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source) override
Insert the tuple at srcTupleIdx in the source array into this array at dstTupleIdx.
void GetTuple(vtkIdType i, double *tuple) override
Get the data tuple at tupleIdx by filling in a user-provided array, Make sure that your array is larg...
Abstract superclass to iterate over elements in an vtkAbstractArray.
vtkCPExodusIINodalCoordinatesTemplate()
void GetTuples(vtkIdType p1, vtkIdType p2, vtkAbstractArray *output) override
Get the tuples for the range of tuple ids specified (i.e., p1->p2 inclusive).
void SetTypedTuple(vtkIdType i, const Scalar *t) override
Set the tuple value at the ith location in the array.
void InsertTypedTuple(vtkIdType i, const Scalar *t) override
Insert (memory allocation performed) the tuple into the ith location in the array.
vtkTypeBool Resize(vtkIdType numTuples) override
Resize the array to the requested number of tuples and preserve data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Initialize() override
Release storage and reset array to initial state.
void InterpolateTuple(vtkIdType i, vtkIdType id1, vtkAbstractArray *source1, vtkIdType id2, vtkAbstractArray *source2, double t) override
Insert the tuple at dstTupleIdx in this array to the tuple interpolated from the two tuple indices,...
vtkVariant GetVariantValue(vtkIdType idx) override
Retrieve value from the array as a variant.