36 #ifndef vtkAVSucdReader_h 37 #define vtkAVSucdReader_h 39 #include "vtkIOGeometryModule.h" 58 vtkSetStringMacro(FileName);
59 vtkGetStringMacro(FileName);
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);
119 void SetByteOrderToBigEndian();
120 void SetByteOrderToLittleEndian();
121 const char* GetByteOrderAsString();
124 vtkSetMacro(ByteOrder,
int);
125 vtkGetMacro(ByteOrder,
int);
133 int GetNumberOfPointArrays();
134 int GetNumberOfCellArrays();
135 const char* GetPointArrayName(
int index);
136 const char* GetCellArrayName(
int index);
137 int GetPointArrayStatus(
const char*
name);
138 int GetCellArrayStatus(
const char*
name);
139 void SetPointArrayStatus(
const char*
name,
int status);
140 void SetCellArrayStatus(
const char*
name,
int status);
143 void DisableAllCellArrays();
144 void EnableAllCellArrays();
145 void DisableAllPointArrays();
146 void EnableAllPointArrays();
150 void GetCellDataRange(
int cellComp,
int index,
float* min,
float*
max);
154 void GetNodeDataRange(
int nodeComp,
int index,
float* min,
float*
max);
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);
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 for a vtkSource.
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