4 #ifndef vtkNetCDFUGRIDReader_h
5 #define vtkNetCDFUGRIDReader_h
8 #include "vtkIONetCDFModule.h"
15 VTK_ABI_NAMESPACE_BEGIN
87 vtkGetMacro(ReplaceFillValueWithNan,
bool);
88 vtkSetMacro(ReplaceFillValueWithNan,
bool);
89 vtkBooleanMacro(ReplaceFillValueWithNan,
bool);
117 char* FileName =
nullptr;
122 int FaceFillValue = -1;
123 int FaceStartIndex = 0;
127 std::size_t NodeCount = 0;
128 std::size_t FaceCount = 0;
129 std::size_t NodesPerFace = 0;
130 std::size_t FaceStride = 0;
131 std::size_t NodesPerFaceStride = 0;
132 bool ReplaceFillValueWithNan =
false;
133 std::vector<int> NodeArrayVarIds;
134 std::vector<int> FaceArrayVarIds;
135 std::vector<double> TimeSteps;
144 VTK_ABI_NAMESPACE_END
Store on/off settings for data arrays, etc.
a simple class to control print indentation
vtkSetFilePathMacro(FileName)
Get/Set the file name of the file.
const char * GetPointArrayName(int index)
Get the name of the point or cell with the given index in the input.
int GetNumberOfCellArrays()
Get the number of point or cell arrays available in the input.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
bool FillArrays(vtkUnstructuredGrid *output, std::size_t timeStep)
bool FillArraySelection(const std::vector< int > &ids, vtkDataArraySelection *selection)
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *outputVector) override
This is called by the superclass.
int GetCellArrayStatus(const char *name)
Get/Set whether the point or cell with the given name is to be read.
const char * GetCellArrayName(int index)
Get the name of the point or cell with the given index in the input.
void SetPointArrayStatus(const char *name, int status)
Get/Set whether the point or cell with the given name is to be read.
vtkGetFilePathMacro(FileName)
Get/Set the file name of the file.
int GetPointArrayStatus(const char *name)
Get/Set whether the point or cell with the given name is to be read.
~vtkNetCDFUGRIDReader() override
int GetNumberOfPointArrays()
Get the number of point or cell arrays available in the input.
void SetCellArrayStatus(const char *name, int status)
Get/Set whether the point or cell with the given name is to be read.
bool CheckError(int error)
std::string GetVariableName(int var)
bool FillCells(vtkUnstructuredGrid *output)
static vtkNetCDFUGRIDReader * New()
std::string GetDimensionName(int dim)
std::string GetAttributeName(int var, int att)
bool FillPoints(vtkUnstructuredGrid *output)
std::string GetAttributeString(int var, std::string name)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkSmartPointer< vtkDataArray > GetArrayData(int var, std::size_t time, std::size_t size)
Superclass for algorithms that produce only unstructured grid as output.
dataset represents arbitrary combinations of all possible cell types