36 #ifndef vtkAVSucdReader_h
37 #define vtkAVSucdReader_h
39 #include "vtkIOGeometryModule.h"
58 vtkSetStringMacro(FileName);
67 vtkGetMacro(BinaryFile,
int);
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();
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);
160 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
167 int NumberOfNodeFields;
168 int NumberOfNodeComponents;
169 int NumberOfCellComponents;
170 int NumberOfCellFields;
174 ifstream *FileStream;
180 int GetLabel(
char *
string,
int number,
char *label);
219 int ReadFloatBlock(
int n,
float *block);
220 int ReadIntBlock(
int n,
int *block);
221 void ReadXYZCoords(
vtkFloatArray *coords, idMapping& nodeMap);
222 void ReadBinaryCellTopology(
vtkIntArray *material,
int *types,
226 const idMapping& nodeMap,
static vtkUnstructuredGridAlgorithm * New()
dynamic, self-adjusting array of float
dynamic, self-adjusting array of vtkIdType
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
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Superclass for algorithms that produce only unstructured grid as output.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
reads a dataset in AVS "UCD" format