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
vtkIdType InsertNextTypedTuple(const Scalar *t)
Insert (memory allocation performed) the tuple onto the end of the array.
void SetVariantValue(vtkIdType idx, vtkVariant value)
Set a value in the array from a variant.
vtkAbstractTemplateTypeMacro(vtkCPExodusIINodalCoordinatesTemplate< Scalar >, vtkMappedDataArray< Scalar >) vtkMappedDataArrayNewInstanceMacro(vtkCPExodusIINodalCoordinatesTemplate< Scalar >) static vtkCPExodusIINodalCoordinatesTemplate *New()
void ClearLookup()
Delete the associated fast lookup data structure on this array, if it exists.
void InterpolateTuple(vtkIdType i, vtkIdList *ptIndices, vtkAbstractArray *source, double *weights)
Set the tuple at dstTupleIdx in this array to the interpolated tuple value, given the ptIndices in th...
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
VTK_NEWINSTANCE vtkArrayIterator * NewIterator()
Subclasses must override this method and provide the right kind of templated vtkArrayIteratorTemplate...
Map native Exodus II coordinate arrays into the vtkDataArray interface.
abstract superclass for arrays of numeric data
void GetTypedTuple(vtkIdType idx, Scalar *t) const
Copy the tuple value into a user-provided array.
ValueType & GetValueReference(vtkIdType idx)
Get a reference to the scalar value at a particular index.
Superclass::ValueType ValueType
Map non-contiguous data structures into the vtkDataArray API.
void InsertVariantValue(vtkIdType idx, vtkVariant value)
Insert a value into the array from a variant.
vtkGenericDataArrayLookupHelper< SelfType > Lookup
vtkIdType InsertNextTuple(vtkIdType j, vtkAbstractArray *source)
Insert the tuple from srcTupleIdx in the source array at the end of this array.
vtkVariant GetVariantValue(vtkIdType idx)
Retrieve value from the array as a variant.
~vtkCPExodusIINodalCoordinatesTemplate()
vtkIdType LookupTypedValue(Scalar value)
void SetValue(vtkIdType idx, Scalar value)
Set the data at a particular index.
#define vtkMappedDataArrayNewInstanceMacro(thisClass)
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void SetTypedTuple(vtkIdType i, const Scalar *t)
Set the tuple value at the ith location in the array.
void SetNumberOfTuples(vtkIdType number)
Set the number of tuples (a component group) in the array.
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
void InsertValue(vtkIdType idx, Scalar v)
Insert data at a specified position in the array.
void GetTuples(vtkIdList *ptIds, vtkAbstractArray *output)
Given a list of tuple ids, return an array of tuples.
ValueType GetValue(vtkIdType idx) const
Get the data at a particular index.
A atomic type representing the union of many types.
list of point or cell ids
void Squeeze()
Free any unnecessary memory.
void Initialize()
Release storage and reset array to initial state.
void InsertTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)
Insert the tuple at srcTupleIdx in the source array into this array at dstTupleIdx.
Abstract superclass for all arrays.
int Resize(vtkIdType numTuples)
Resize the array to the requested number of tuples and preserve data.
void SetTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)
Set the tuple at dstTupleIdx in this array to the tuple at srcTupleIdx in the source array.
Abstract superclass to iterate over elements in an vtkAbstractArray.
vtkCPExodusIINodalCoordinatesTemplate()
void InsertTuples(vtkIdList *dstIds, vtkIdList *srcIds, vtkAbstractArray *source)
Copy the tuples indexed in srcIds from the source array to the tuple locations indexed by dstIds in t...
double * GetTuple(vtkIdType i)
Get the data tuple at tupleIdx.
int Allocate(vtkIdType sz, vtkIdType ext)
This container is read only – this method does nothing but print a warning.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkIdType InsertNextValue(Scalar v)
Insert data at the end of the array.
void RemoveTuple(vtkIdType id)
These methods remove tuples from the data array.
void DeepCopy(vtkAbstractArray *aa)
Deep copy of data.
vtkIdType LookupValue(vtkVariant value)
Return the value indices where a specific value appears.
void InsertTypedTuple(vtkIdType i, const Scalar *t)
Insert (memory allocation performed) the tuple into the ith location in the array.