27 #ifndef vtkAVSucdReader_h
28 #define vtkAVSucdReader_h
30 #include "vtkIOGeometryModule.h"
33 VTK_ABI_NAMESPACE_BEGIN
50 vtkSetFilePathMacro(FileName);
51 vtkGetFilePathMacro(FileName);
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);
111 void SetByteOrderToBigEndian();
112 void SetByteOrderToLittleEndian();
113 const char* GetByteOrderAsString();
116 vtkSetMacro(ByteOrder,
int);
117 vtkGetMacro(ByteOrder,
int);
125 int GetNumberOfPointArrays();
126 int GetNumberOfCellArrays();
127 const char* GetPointArrayName(
int index);
128 const char* GetCellArrayName(
int index);
129 int GetPointArrayStatus(
const char*
name);
130 int GetCellArrayStatus(
const char*
name);
131 void SetPointArrayStatus(
const char*
name,
int status);
132 void SetCellArrayStatus(
const char*
name,
int status);
135 void DisableAllCellArrays();
136 void EnableAllCellArrays();
137 void DisableAllPointArrays();
138 void EnableAllPointArrays();
142 void GetCellDataRange(
int cellComp,
int index,
float* min,
float*
max);
146 void GetNodeDataRange(
int nodeComp,
int index,
float* min,
float*
max);
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);
221 VTK_ABI_NAMESPACE_END
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