4 #ifndef vtkNetCDFUGRIDReader_h
5 #define vtkNetCDFUGRIDReader_h
8 #include "vtkIONetCDFModule.h"
15 VTK_ABI_NAMESPACE_BEGIN
41 vtkSetFilePathMacro(FileName);
42 vtkGetFilePathMacro(FileName);
58 int GetNumberOfPointArrays();
59 int GetNumberOfCellArrays();
66 const char* GetPointArrayName(
int index);
67 const char* GetCellArrayName(
int index);
74 int GetPointArrayStatus(
const char*
name);
75 int GetCellArrayStatus(
const char*
name);
76 void SetPointArrayStatus(
const char*
name,
int status);
77 void SetCellArrayStatus(
const char*
name,
int status);
90 vtkGetMacro(ReplaceFillValueWithNan,
bool);
91 vtkSetMacro(ReplaceFillValueWithNan,
bool);
92 vtkBooleanMacro(ReplaceFillValueWithNan,
bool);
112 bool CheckError(
int error);
120 char* FileName =
nullptr;
125 int FaceFillValue = -1;
126 int FaceStartIndex = 0;
130 std::size_t NodeCount = 0;
131 std::size_t FaceCount = 0;
132 std::size_t NodesPerFace = 0;
133 std::size_t FaceStride = 0;
134 std::size_t NodesPerFaceStride = 0;
135 bool ReplaceFillValueWithNan =
false;
136 std::vector<int> NodeArrayVarIds;
137 std::vector<int> FaceArrayVarIds;
138 std::vector<double> TimeSteps;
147 VTK_ABI_NAMESPACE_END
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkUnstructuredGridAlgorithm * New()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
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
Superclass for algorithms that produce only unstructured grid as output.
Read unstructured NetCDF UGRID files.
VTKIOHDF_EXPORT bool Open(const char *fileName, hid_t &fileID)
Open a VTK HDF file and checks if it is valid.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.