16 #ifndef vtkNetCDFReader_h
17 #define vtkNetCDFReader_h
20 #include "vtkIONetCDFModule.h"
26 VTK_ABI_NAMESPACE_BEGIN
33 class vtkNetCDFReaderPrivate;
42 virtual void SetFileName(
VTK_FILEPATH const char* filename);
43 vtkGetFilePathMacro(FileName);
64 virtual int GetNumberOfVariableArrays();
65 virtual const char* GetVariableArrayName(
int index);
66 virtual int GetVariableArrayStatus(
const char*
name);
67 virtual void SetVariableArrayStatus(
const char*
name,
int status);
94 virtual void SetDimensions(
const char* dimensions);
100 bool ComputeArraySelection();
125 vtkBooleanMacro(ReplaceFillValueWithNan,
vtkTypeBool);
134 vtkGetStringMacro(TimeUnits);
135 vtkGetStringMacro(Calendar);
141 std::string QueryArrayUnits(
const char* ArrayName);
188 static void SelectionModifiedCallback(
189 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
195 vtkStdString DescribeDimensions(
int ncFD,
const int* dimIds,
int numDims);
200 virtual int ReadMetaData(
int ncFD);
205 virtual int FillVariableDimensions(
int ncFD);
214 virtual int IsTimeDimension(
int ncFD,
int dimId);
245 virtual int LoadVariable(
int ncFD,
const char* varName,
double time,
vtkDataSet* output);
256 vtkNetCDFReaderPrivate* Private;
259 VTK_ABI_NAMESPACE_END
260 #endif // vtkNetCDFReader_h
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Wrapper around std::string to keep symbols short.
vtkTypeBool ReplaceFillValueWithNan
abstract base class for most VTK objects
abstract class to specify dataset behavior
static vtkDataObjectAlgorithm * New()
record modification and/or execution time
a vtkAbstractArray subclass for strings
vtkTimeStamp FileNameMTime
A superclass for reading netCDF files.
vtkNetCDFAccessor * Accessor
dynamic, self-adjusting array of double
dynamic, self-adjusting array of int
vtkSmartPointer< vtkStringArray > AllVariableArrayNames
a simple class to control print indentation
Store on/off settings for data arrays, etc.
vtkSmartPointer< vtkIntArray > LoadingDimensions
The dimension ids of the arrays being loaded into the data.
std::string CurrentDimensions
Superclass for algorithms that produce only data object as output.
vtkStringArray * VariableDimensions
Placeholder for structure returned from GetVariableDimensions().
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkTimeStamp MetaDataMTime
vtkStringArray * AllDimensions
Placeholder for structure returned from GetAllDimensions().
virtual bool DimensionsAreForPointData(vtkIntArray *dimensions)
Called internally to determine whether a variable with the given set of dimensions should be loaded a...
vtkSmartPointer< vtkDataArraySelection > VariableArraySelection
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.