vizStructuredFieldDataType Class Reference

#include <Tool.h>

Inheritance diagram for vizStructuredFieldDataType:

Inheritance graph
[legend]
List of all members.

Public Types

enum  { ACLVIS_UNKNOWN, ACLVIS_SCALAR, ACLVIS_VECTOR, ACLVIS_TENSOR }

Public Member Functions

 vizStructuredFieldDataType ()
 vizStructuredFieldDataType (unsigned numPts, int ptDataType=ACLVIS_UNKNOWN)
virtual ~vizStructuredFieldDataType ()
int InitData (unsigned numPts, int ptDataType=ACLVIS_UNKNOWN)
int InitPointDataType (int pdType)
int AddScalar (float sc)
int AddScalar (int index, float sc)
int AddVector (float vect[3])
int AddVector (int index, float vect[3])
int InsertFieldData (vtkDataSet *dataSet)
int SetPointData (vtkDataSet *dataSet)
int GetPointDataType () const
void * GetPointData ()

Protected Attributes

int type
int isPointData
int numPoints
vtkFloatScalars * scalars
vtkFloatVectors * vectors
vtkFloatTensors * tensors

Detailed Description

Definition at line 382 of file Tool.h.


Member Enumeration Documentation

anonymous enum
 

Enumerator:
ACLVIS_UNKNOWN 
ACLVIS_SCALAR 
ACLVIS_VECTOR 
ACLVIS_TENSOR 

Definition at line 385 of file Tool.h.


Constructor & Destructor Documentation

vizStructuredFieldDataType::vizStructuredFieldDataType  ) 
 

Definition at line 1601 of file Tool.cpp.

vizStructuredFieldDataType::vizStructuredFieldDataType unsigned  numPts,
int  ptDataType = ACLVIS_UNKNOWN
 

Definition at line 1606 of file Tool.cpp.

References InitData().

Here is the call graph for this function:

vizStructuredFieldDataType::~vizStructuredFieldDataType  )  [virtual]
 

Definition at line 1611 of file Tool.cpp.


Member Function Documentation

int vizStructuredFieldDataType::AddScalar int  index,
float  sc
 

Definition at line 1725 of file Tool.cpp.

References ACLVIS_SCALAR, scalars, and type.

int vizStructuredFieldDataType::AddScalar float  sc  ) 
 

Definition at line 1711 of file Tool.cpp.

References ACLVIS_SCALAR, scalars, and type.

int vizStructuredFieldDataType::AddVector int  index,
float  vect[3]
 

Definition at line 1751 of file Tool.cpp.

References ACLVIS_VECTOR, type, and vectors.

int vizStructuredFieldDataType::AddVector float  vect[3]  ) 
 

Definition at line 1738 of file Tool.cpp.

References ACLVIS_VECTOR, type, and vectors.

void * vizStructuredFieldDataType::GetPointData  ) 
 

Definition at line 1764 of file Tool.cpp.

References ACLVIS_SCALAR, ACLVIS_TENSOR, ACLVIS_VECTOR, isPointData, scalars, tensors, type, and vectors.

int vizStructuredFieldDataType::GetPointDataType  )  const
 

Definition at line 1705 of file Tool.cpp.

References type.

int vizStructuredFieldDataType::InitData unsigned  numPts,
int  ptDataType = ACLVIS_UNKNOWN
 

Definition at line 1616 of file Tool.cpp.

References endl(), InitPointDataType(), and numPoints.

Referenced by ACLVISFieldDataSource< T, Dim, M, C >::update(), and vizStructuredFieldDataType().

Here is the call graph for this function:

int vizStructuredFieldDataType::InitPointDataType int  pdType  ) 
 

Definition at line 1638 of file Tool.cpp.

References ACLVIS_SCALAR, ACLVIS_TENSOR, ACLVIS_VECTOR, isPointData, numPoints, scalars, tensors, type, and vectors.

Referenced by vizParticleDataType::InitData(), and InitData().

int vizStructuredFieldDataType::InsertFieldData vtkDataSet *  dataSet  ) 
 

Definition at line 1782 of file Tool.cpp.

References isPointData, and SetPointData().

Referenced by ReadFieldTool::PrepareFinishedData().

Here is the call graph for this function:

int vizStructuredFieldDataType::SetPointData vtkDataSet *  dataSet  ) 
 

Definition at line 1672 of file Tool.cpp.

References ACLVIS_SCALAR, ACLVIS_TENSOR, ACLVIS_VECTOR, isPointData, scalars, tensors, type, and vectors.

Referenced by InsertFieldData(), and vizParticleDataType::InsertParticleData().


Member Data Documentation

int vizStructuredFieldDataType::isPointData [protected]
 

Definition at line 425 of file Tool.h.

Referenced by GetPointData(), InitPointDataType(), InsertFieldData(), vizParticleDataType::InsertParticleData(), and SetPointData().

int vizStructuredFieldDataType::numPoints [protected]
 

Definition at line 426 of file Tool.h.

Referenced by vizParticleDataType::InitData(), InitData(), vizParticleDataType::InitIdInfo(), and InitPointDataType().

vtkFloatScalars* vizStructuredFieldDataType::scalars [protected]
 

Definition at line 420 of file Tool.h.

Referenced by AddScalar(), GetPointData(), InitPointDataType(), and SetPointData().

vtkFloatTensors* vizStructuredFieldDataType::tensors [protected]
 

Definition at line 422 of file Tool.h.

Referenced by GetPointData(), InitPointDataType(), and SetPointData().

int vizStructuredFieldDataType::type [protected]
 

Definition at line 418 of file Tool.h.

Referenced by AddScalar(), AddVector(), GetPointData(), GetPointDataType(), InitPointDataType(), and SetPointData().

vtkFloatVectors* vizStructuredFieldDataType::vectors [protected]
 

Definition at line 421 of file Tool.h.

Referenced by AddVector(), GetPointData(), InitPointDataType(), and SetPointData().


The documentation for this class was generated from the following files:
Generated on Mon Jan 16 14:48:05 2006 for IPPL by  doxygen 1.4.6