36#ifndef vtkAVSucdReader_h
37#define vtkAVSucdReader_h
39#include "vtkIOGeometryModule.h"
75 vtkGetMacro(NumberOfCells,
int);
82 vtkGetMacro(NumberOfNodes,
int);
89 vtkGetMacro(NumberOfNodeFields,
int);
96 vtkGetMacro(NumberOfCellFields,
int);
104 vtkGetMacro(NumberOfFields,
int);
111 vtkGetMacro(NumberOfNodeComponents,
int);
112 vtkGetMacro(NumberOfCellComponents,
int);
124 vtkSetMacro(ByteOrder,
int);
125 vtkGetMacro(ByteOrder,
int);
180 int GetLabel(
char*
string,
int number,
char* label);
185 FILE_LITTLE_ENDIAN = 1
218 int ReadFloatBlock(
int n,
float* block);
219 int ReadIntBlock(
int n,
int* block);
220 void ReadXYZCoords(
vtkFloatArray* coords, idMapping& nodeMap);
223 const idMapping& nodeMap, idMapping& cellMap);
reads a dataset in AVS "UCD" format
void DisableAllPointArrays()
const char * GetByteOrderAsString()
Set/Get the endian-ness of the binary file.
void SetCellArrayStatus(const char *name, int status)
The following methods allow selective reading of solutions fields.
void SetPointArrayStatus(const char *name, int status)
The following methods allow selective reading of solutions fields.
static vtkAVSucdReader * New()
vtkDataArraySelection * CellDataArraySelection
void DisableAllCellArrays()
int GetNumberOfPointArrays()
The following methods allow selective reading of solutions fields.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int GetNumberOfCellArrays()
The following methods allow selective reading of solutions fields.
void EnableAllPointArrays()
void SetByteOrderToBigEndian()
Set/Get the endian-ness of the binary file.
const char * GetCellArrayName(int index)
The following methods allow selective reading of solutions fields.
int NumberOfNodeComponents
int GetLabel(char *string, int number, char *label)
void SetByteOrderToLittleEndian()
Set/Get the endian-ness of the binary file.
int NumberOfCellComponents
const char * GetPointArrayName(int index)
The following methods allow selective reading of solutions fields.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void GetNodeDataRange(int nodeComp, int index, float *min, float *max)
void EnableAllCellArrays()
void GetCellDataRange(int cellComp, int index, float *min, float *max)
int GetPointArrayStatus(const char *name)
The following methods allow selective reading of solutions fields.
~vtkAVSucdReader() override
vtkSetFilePathMacro(FileName)
Specify file name of AVS UCD datafile to read.
vtkGetFilePathMacro(FileName)
Specify file name of AVS UCD datafile to read.
int GetCellArrayStatus(const char *name)
The following methods allow selective reading of solutions fields.
vtkDataArraySelection * PointDataArraySelection
Store on/off settings for data arrays for a vtkSource.
dynamic, self-adjusting array of float
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
dynamic, self-adjusting array of int
Superclass for algorithms that produce only unstructured grid as output.
dataset represents arbitrary combinations of all possible cell types