42 #ifndef vtkAVSucdReader_h
43 #define vtkAVSucdReader_h
45 #include "vtkIOGeometryModule.h"
64 vtkSetStringMacro(FileName);
73 vtkGetMacro(BinaryFile,
int);
81 vtkGetMacro(NumberOfCells,
int);
88 vtkGetMacro(NumberOfNodes,
int);
95 vtkGetMacro(NumberOfNodeFields,
int);
102 vtkGetMacro(NumberOfCellFields,
int);
110 vtkGetMacro(NumberOfFields,
int);
117 vtkGetMacro(NumberOfNodeComponents,
int);
118 vtkGetMacro(NumberOfCellComponents,
int);
131 vtkGetMacro(ByteOrder,
int);
186 int GetLabel(
char *
string,
int number,
char *label);
225 int ReadFloatBlock(
int n,
float *block);
226 int ReadIntBlock(
int n,
int *block);
227 void ReadXYZCoords(
vtkFloatArray *coords, idMapping& nodeMap);
228 void ReadBinaryCellTopology(
vtkIntArray *material,
int *types,
232 const idMapping& nodeMap,
reads a dataset in AVS "UCD" format
const char * GetByteOrderAsString()
void DisableAllPointArrays()
void SetCellArrayStatus(const char *name, int status)
void SetPointArrayStatus(const char *name, int status)
vtkDataArraySelection * CellDataArraySelection
void DisableAllCellArrays()
int GetNumberOfPointArrays()
The following methods allow selective reading of solutions fields.
int GetNumberOfCellArrays()
void EnableAllPointArrays()
void SetByteOrderToBigEndian()
Set/Get the endian-ness of the binary file.
int NumberOfNodeComponents
int GetLabel(char *string, int number, char *label)
void SetByteOrderToLittleEndian()
int NumberOfCellComponents
const char * GetCellArrayName(int index)
static vtkAVSucdReader * New()
void GetNodeDataRange(int nodeComp, int index, float *min, float *max)
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void EnableAllCellArrays()
void GetCellDataRange(int cellComp, int index, float *min, float *max)
int GetPointArrayStatus(const char *name)
int GetCellArrayStatus(const char *name)
const char * GetPointArrayName(int index)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkDataArraySelection * PointDataArraySelection
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
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
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.