39 #ifndef vtkAVSucdReader_h
40 #define vtkAVSucdReader_h
42 #include "vtkIOGeometryModule.h"
61 vtkSetFilePathMacro(FileName);
62 vtkGetFilePathMacro(FileName);
78 vtkGetMacro(NumberOfCells,
int);
85 vtkGetMacro(NumberOfNodes,
int);
92 vtkGetMacro(NumberOfNodeFields,
int);
99 vtkGetMacro(NumberOfCellFields,
int);
107 vtkGetMacro(NumberOfFields,
int);
114 vtkGetMacro(NumberOfNodeComponents,
int);
115 vtkGetMacro(NumberOfCellComponents,
int);
122 void SetByteOrderToBigEndian();
123 void SetByteOrderToLittleEndian();
124 const char* GetByteOrderAsString();
127 vtkSetMacro(ByteOrder,
int);
128 vtkGetMacro(ByteOrder,
int);
136 int GetNumberOfPointArrays();
137 int GetNumberOfCellArrays();
138 const char* GetPointArrayName(
int index);
139 const char* GetCellArrayName(
int index);
140 int GetPointArrayStatus(
const char*
name);
141 int GetCellArrayStatus(
const char*
name);
142 void SetPointArrayStatus(
const char*
name,
int status);
143 void SetCellArrayStatus(
const char*
name,
int status);
146 void DisableAllCellArrays();
147 void EnableAllCellArrays();
148 void DisableAllPointArrays();
149 void EnableAllPointArrays();
153 void GetCellDataRange(
int cellComp,
int index,
float* min,
float*
max);
157 void GetNodeDataRange(
int nodeComp,
int index,
float* min,
float*
max);
183 int GetLabel(
char*
string,
int number,
char* label);
188 FILE_LITTLE_ENDIAN = 1
221 int ReadFloatBlock(
int n,
float* block);
222 int ReadIntBlock(
int n,
int* block);
223 void ReadXYZCoords(
vtkFloatArray* coords, idMapping& nodeMap);
226 const idMapping& nodeMap, idMapping& cellMap);
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
int NumberOfCellComponents
vtkDataArraySelection * PointDataArraySelection
static vtkUnstructuredGridAlgorithm * New()
dynamic, self-adjusting array of float
dynamic, self-adjusting array of vtkIdType
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
dynamic, self-adjusting array of int
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Store on/off settings for data arrays, etc.
dataset represents arbitrary combinations of all possible cell types
vtkDataArraySelection * CellDataArraySelection
Superclass for algorithms that produce only unstructured grid as output.
int NumberOfNodeComponents
reads a dataset in AVS "UCD" format