27#ifndef vtkAVSucdReader_h
28#define vtkAVSucdReader_h
30#include "vtkIOGeometryModule.h"
33VTK_ABI_NAMESPACE_BEGIN
67 vtkGetMacro(NumberOfCells,
int);
74 vtkGetMacro(NumberOfNodes,
int);
81 vtkGetMacro(NumberOfNodeFields,
int);
88 vtkGetMacro(NumberOfCellFields,
int);
96 vtkGetMacro(NumberOfFields,
int);
103 vtkGetMacro(NumberOfNodeComponents,
int);
104 vtkGetMacro(NumberOfCellComponents,
int);
116 vtkSetMacro(ByteOrder,
int);
117 vtkGetMacro(ByteOrder,
int);
172 int GetLabel(
char*
string,
int number,
char* label);
177 FILE_LITTLE_ENDIAN = 1
210 int ReadFloatBlock(
int n,
float* block);
211 int ReadIntBlock(
int n,
int* block);
212 void ReadXYZCoords(
vtkFloatArray* coords, idMapping& nodeMap);
215 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, etc.
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