VTK
Public Member Functions | Protected Member Functions | Protected Attributes
vtkCPExodusIINodalCoordinatesTemplate< Scalar > Class Template Reference

Map native Exodus II coordinate arrays into the vtkDataArray interface. More...

#include <vtkCPExodusIINodalCoordinatesTemplate.h>

Inheritance diagram for vtkCPExodusIINodalCoordinatesTemplate< Scalar >:
Inheritance graph
[legend]
Collaboration diagram for vtkCPExodusIINodalCoordinatesTemplate< Scalar >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 vtkMappedDataArrayNewInstanceMacro (vtkCPExodusIINodalCoordinatesTemplate< Scalar >) static vtkCPExodusIINodalCoordinatesTemplate *New()
virtual void PrintSelf (ostream &os, vtkIndent indent)
void Initialize ()
void GetTuples (vtkIdList *ptIds, vtkAbstractArray *output)
void GetTuples (vtkIdType p1, vtkIdType p2, vtkAbstractArray *output)
void Squeeze ()
vtkArrayIteratorNewIterator ()
vtkIdType LookupValue (vtkVariant value)
void LookupValue (vtkVariant value, vtkIdList *ids)
vtkVariant GetVariantValue (vtkIdType idx)
void ClearLookup ()
doubleGetTuple (vtkIdType i)
void GetTuple (vtkIdType i, double *tuple)
vtkIdType LookupTypedValue (Scalar value)
void LookupTypedValue (Scalar value, vtkIdList *ids)
Scalar GetValue (vtkIdType idx)
Scalar & GetValueReference (vtkIdType idx)
void GetTupleValue (vtkIdType idx, Scalar *t)
void SetExodusScalarArrays (Scalar *x, Scalar *y, Scalar *z, vtkIdType numPoints)
int Allocate (vtkIdType sz, vtkIdType ext)
int Resize (vtkIdType numTuples)
void SetNumberOfTuples (vtkIdType number)
void SetTuple (vtkIdType i, vtkIdType j, vtkAbstractArray *source)
void SetTuple (vtkIdType i, const float *source)
void SetTuple (vtkIdType i, const double *source)
void InsertTuple (vtkIdType i, vtkIdType j, vtkAbstractArray *source)
void InsertTuple (vtkIdType i, const float *source)
void InsertTuple (vtkIdType i, const double *source)
void InsertTuples (vtkIdList *dstIds, vtkIdList *srcIds, vtkAbstractArray *source)
vtkIdType InsertNextTuple (vtkIdType j, vtkAbstractArray *source)
vtkIdType InsertNextTuple (const float *source)
vtkIdType InsertNextTuple (const double *source)
void DeepCopy (vtkAbstractArray *aa)
void DeepCopy (vtkDataArray *da)
void InterpolateTuple (vtkIdType i, vtkIdList *ptIndices, vtkAbstractArray *source, double *weights)
void InterpolateTuple (vtkIdType i, vtkIdType id1, vtkAbstractArray *source1, vtkIdType id2, vtkAbstractArray *source2, double t)
void SetVariantValue (vtkIdType idx, vtkVariant value)
void RemoveTuple (vtkIdType id)
void RemoveFirstTuple ()
void RemoveLastTuple ()
void SetTupleValue (vtkIdType i, const Scalar *t)
void InsertTupleValue (vtkIdType i, const Scalar *t)
vtkIdType InsertNextTupleValue (const Scalar *t)
void SetValue (vtkIdType idx, Scalar value)
vtkIdType InsertNextValue (Scalar v)
void InsertValue (vtkIdType idx, Scalar v)

Protected Member Functions

 vtkCPExodusIINodalCoordinatesTemplate ()
 ~vtkCPExodusIINodalCoordinatesTemplate ()

Protected Attributes

Scalar * XArray
Scalar * YArray
Scalar * ZArray

Detailed Description

template<class Scalar>
class vtkCPExodusIINodalCoordinatesTemplate< Scalar >

Map native Exodus II coordinate arrays into the vtkDataArray interface.

Map native Exodus II coordinate arrays into the vtkDataArray interface. Use the vtkCPExodusIIInSituReader to read an Exodus II file's data into this structure.

Definition at line 36 of file vtkCPExodusIINodalCoordinatesTemplate.h.


Constructor & Destructor Documentation

template<class Scalar >
vtkCPExodusIINodalCoordinatesTemplate< Scalar >::vtkCPExodusIINodalCoordinatesTemplate ( ) [protected]
template<class Scalar >
vtkCPExodusIINodalCoordinatesTemplate< Scalar >::~vtkCPExodusIINodalCoordinatesTemplate ( ) [protected]

Member Function Documentation

template<class Scalar >
virtual void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkMappedDataArray< Scalar >.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::SetExodusScalarArrays ( Scalar *  x,
Scalar *  y,
Scalar *  z,
vtkIdType  numPoints 
)

Set the raw scalar arrays for the coordinate set. This class takes ownership of the arrays and deletes them with delete[].

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::Initialize ( ) [virtual]

Release storage and reset array to initial state.

Implements vtkAbstractArray.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::GetTuples ( vtkIdList ptIds,
vtkAbstractArray output 
) [virtual]

Given a list of point ids, return an array of tuples. You must insure that the output array has been previously allocated with enough space to hold the data.

Implements vtkMappedDataArray< Scalar >.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::GetTuples ( vtkIdType  p1,
vtkIdType  p2,
vtkAbstractArray output 
) [virtual]

Get the tuples for the range of points ids specified (i.e., p1->p2 inclusive). You must insure that the output array has been previously allocated with enough space to hold the data.

Implements vtkMappedDataArray< Scalar >.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::Squeeze ( ) [virtual]

Free any unnecessary memory. Description: Resize object to just fit data requirement. Reclaims extra memory.

Implements vtkAbstractArray.

template<class Scalar >
vtkArrayIterator* vtkCPExodusIINodalCoordinatesTemplate< Scalar >::NewIterator ( ) [virtual]

Subclasses must override this method and provide the right kind of templated vtkArrayIteratorTemplate.

Implements vtkAbstractArray.

template<class Scalar >
vtkIdType vtkCPExodusIINodalCoordinatesTemplate< Scalar >::LookupValue ( vtkVariant  value) [virtual]

Return the indices where a specific value appears.

Implements vtkAbstractArray.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::LookupValue ( vtkVariant  value,
vtkIdList ids 
) [virtual]

Return the indices where a specific value appears.

Implements vtkAbstractArray.

template<class Scalar >
vtkVariant vtkCPExodusIINodalCoordinatesTemplate< Scalar >::GetVariantValue ( vtkIdType  idx) [virtual]

Retrieve value from the array as a variant.

Implements vtkMappedDataArray< Scalar >.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::ClearLookup ( ) [virtual]

Delete the associated fast lookup data structure on this array, if it exists. The lookup will be rebuilt on the next call to a lookup function.

Implements vtkAbstractArray.

template<class Scalar >
double* vtkCPExodusIINodalCoordinatesTemplate< Scalar >::GetTuple ( vtkIdType  i) [virtual]

Get the data tuple at ith location. Return it as a pointer to an array. Note: this method is not thread-safe, and the pointer is only valid as long as another method invocation to a vtk object is not performed.

Implements vtkDataArray.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::GetTuple ( vtkIdType  i,
double tuple 
) [virtual]

Get the data tuple at ith location by filling in a user-provided array, Make sure that your array is large enough to hold the NumberOfComponents amount of data being returned.

Implements vtkDataArray.

template<class Scalar >
vtkIdType vtkCPExodusIINodalCoordinatesTemplate< Scalar >::LookupTypedValue ( Scalar  value) [virtual]

Return the indices where a specific value appears.

Implements vtkTypedDataArray< Scalar >.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::LookupTypedValue ( Scalar  value,
vtkIdList ids 
) [virtual]

Return the indices where a specific value appears.

Implements vtkTypedDataArray< Scalar >.

template<class Scalar >
Scalar vtkCPExodusIINodalCoordinatesTemplate< Scalar >::GetValue ( vtkIdType  idx) [virtual]

Get the data at a particular index.

Implements vtkTypedDataArray< Scalar >.

template<class Scalar >
Scalar& vtkCPExodusIINodalCoordinatesTemplate< Scalar >::GetValueReference ( vtkIdType  idx) [virtual]

Get a reference to the scalar value at a particular index.

Implements vtkTypedDataArray< Scalar >.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::GetTupleValue ( vtkIdType  idx,
Scalar *  t 
) [virtual]

Copy the tuple value into a user-provided array.

Implements vtkTypedDataArray< Scalar >.

template<class Scalar >
int vtkCPExodusIINodalCoordinatesTemplate< Scalar >::Allocate ( vtkIdType  sz,
vtkIdType  ext 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkAbstractArray.

template<class Scalar >
int vtkCPExodusIINodalCoordinatesTemplate< Scalar >::Resize ( vtkIdType  numTuples) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkAbstractArray.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::SetNumberOfTuples ( vtkIdType  number) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkAbstractArray.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::SetTuple ( vtkIdType  i,
vtkIdType  j,
vtkAbstractArray source 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkDataArray.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::SetTuple ( vtkIdType  i,
const float source 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkDataArray.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::SetTuple ( vtkIdType  i,
const double source 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkDataArray.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::InsertTuple ( vtkIdType  i,
vtkIdType  j,
vtkAbstractArray source 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkDataArray.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::InsertTuple ( vtkIdType  i,
const float source 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkDataArray.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::InsertTuple ( vtkIdType  i,
const double source 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkDataArray.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::InsertTuples ( vtkIdList dstIds,
vtkIdList srcIds,
vtkAbstractArray source 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkAbstractArray.

template<class Scalar >
vtkIdType vtkCPExodusIINodalCoordinatesTemplate< Scalar >::InsertNextTuple ( vtkIdType  j,
vtkAbstractArray source 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkDataArray.

template<class Scalar >
vtkIdType vtkCPExodusIINodalCoordinatesTemplate< Scalar >::InsertNextTuple ( const float source) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkDataArray.

template<class Scalar >
vtkIdType vtkCPExodusIINodalCoordinatesTemplate< Scalar >::InsertNextTuple ( const double source) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkDataArray.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::DeepCopy ( vtkAbstractArray aa) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkMappedDataArray< Scalar >.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::DeepCopy ( vtkDataArray da) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkMappedDataArray< Scalar >.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::InterpolateTuple ( vtkIdType  i,
vtkIdList ptIndices,
vtkAbstractArray source,
double weights 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkMappedDataArray< Scalar >.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::InterpolateTuple ( vtkIdType  i,
vtkIdType  id1,
vtkAbstractArray source1,
vtkIdType  id2,
vtkAbstractArray source2,
double  t 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkMappedDataArray< Scalar >.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::SetVariantValue ( vtkIdType  idx,
vtkVariant  value 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkMappedDataArray< Scalar >.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::RemoveTuple ( vtkIdType  id) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkDataArray.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::RemoveFirstTuple ( ) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkDataArray.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::RemoveLastTuple ( ) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkDataArray.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::SetTupleValue ( vtkIdType  i,
const Scalar *  t 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkTypedDataArray< Scalar >.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::InsertTupleValue ( vtkIdType  i,
const Scalar *  t 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkTypedDataArray< Scalar >.

template<class Scalar >
vtkIdType vtkCPExodusIINodalCoordinatesTemplate< Scalar >::InsertNextTupleValue ( const Scalar *  t) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkTypedDataArray< Scalar >.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::SetValue ( vtkIdType  idx,
Scalar  value 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkTypedDataArray< Scalar >.

template<class Scalar >
vtkIdType vtkCPExodusIINodalCoordinatesTemplate< Scalar >::InsertNextValue ( Scalar  v) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkTypedDataArray< Scalar >.

template<class Scalar >
void vtkCPExodusIINodalCoordinatesTemplate< Scalar >::InsertValue ( vtkIdType  idx,
Scalar  v 
) [virtual]

This container is read only -- this method does nothing but print a warning.

Implements vtkTypedDataArray< Scalar >.


Member Data Documentation

template<class Scalar >
Scalar* vtkCPExodusIINodalCoordinatesTemplate< Scalar >::XArray [protected]

Definition at line 110 of file vtkCPExodusIINodalCoordinatesTemplate.h.

template<class Scalar >
Scalar* vtkCPExodusIINodalCoordinatesTemplate< Scalar >::YArray [protected]

Definition at line 111 of file vtkCPExodusIINodalCoordinatesTemplate.h.

template<class Scalar >
Scalar* vtkCPExodusIINodalCoordinatesTemplate< Scalar >::ZArray [protected]

Definition at line 112 of file vtkCPExodusIINodalCoordinatesTemplate.h.


The documentation for this class was generated from the following file: