vtkAVSucdReader creates an unstructured grid dataset. It reads binary or ASCII files stored in UCD format, with optional data stored at the nodes or at the cells of the model. A cell-based fielddata stores the material id. The class can automatically detect the endian-ness of the binary files.
|
Public Types |
typedef vtkUnstructuredGridAlgorithm | Superclass |
Public Member Functions |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | SetByteOrder (int) |
void | DisableAllCellArrays () |
void | EnableAllCellArrays () |
void | DisableAllPointArrays () |
void | EnableAllPointArrays () |
void | GetCellDataRange (int cellComp, int index, float *min, float *max) |
void | GetNodeDataRange (int nodeComp, int index, float *min, float *max) |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
|
virtual void | SetBinaryFile (int) |
virtual int | GetBinaryFile () |
virtual void | BinaryFileOn () |
virtual void | BinaryFileOff () |
|
virtual int | GetNumberOfCells () |
|
virtual int | GetNumberOfNodes () |
|
virtual int | GetNumberOfNodeFields () |
|
virtual int | GetNumberOfCellFields () |
|
virtual int | GetNumberOfFields () |
|
virtual int | GetNumberOfNodeComponents () |
virtual int | GetNumberOfCellComponents () |
|
void | SetByteOrderToBigEndian () |
void | SetByteOrderToLittleEndian () |
const char * | GetByteOrderAsString () |
|
virtual int | GetByteOrder () |
int | GetNumberOfPointArrays () |
int | GetNumberOfCellArrays () |
const char * | GetPointArrayName (int index) |
const char * | GetCellArrayName (int index) |
int | GetPointArrayStatus (const char *name) |
int | GetCellArrayStatus (const char *name) |
void | SetPointArrayStatus (const char *name, int status) |
void | SetCellArrayStatus (const char *name, int status) |
Static Public Member Functions |
static vtkAVSucdReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkAVSucdReader * | SafeDownCast (vtkObject *o) |
Protected Types |
enum | { FILE_BIG_ENDIAN = 0,
FILE_LITTLE_ENDIAN = 1
} |
enum | UCDCell_type {
PT = 0,
LINE = 1,
TRI = 2,
QUAD = 3,
TET = 4,
PYR = 5,
PRISM = 6,
HEX = 7
} |
Protected Member Functions |
| vtkAVSucdReader () |
| ~vtkAVSucdReader () |
int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | GetLabel (char *string, int number, char *label) |
Protected Attributes |
char * | FileName |
int | BinaryFile |
int | NumberOfNodes |
int | NumberOfCells |
int | NumberOfNodeFields |
int | NumberOfNodeComponents |
int | NumberOfCellComponents |
int | NumberOfCellFields |
int | NumberOfFields |
int | NlistNodes |
ifstream * | FileStream |
vtkDataArraySelection * | PointDataArraySelection |
vtkDataArraySelection * | CellDataArraySelection |
int | DecrementNodeIds |
int | ByteOrder |
DataInfo * | NodeDataInfo |
DataInfo * | CellDataInfo |
Classes |
struct | DataInfo |