34 #ifndef vtkNetCDFReader_h
35 #define vtkNetCDFReader_h
37 #include "vtkIONetCDFModule.h"
49 class vtkNetCDFReaderPrivate;
58 virtual void SetFileName(
const char *filename);
76 virtual int GetNumberOfVariableArrays();
77 virtual const char *GetVariableArrayName(
int idx);
78 virtual int GetVariableArrayStatus(
const char *
name);
79 virtual void SetVariableArrayStatus(
const char *
name,
int status);
106 virtual void SetDimensions(
const char *dimensions);
129 vtkGetMacro(ReplaceFillValueWithNan,
int);
147 std::string QueryArrayUnits(
const char *ArrayName);
195 static void SelectionModifiedCallback(
vtkObject *caller,
unsigned long eid,
196 void *clientdata,
void *calldata);
202 vtkStdString DescribeDimensions(
int ncFD,
const int *dimIds,
int numDims);
207 virtual int ReadMetaData(
int ncFD);
212 virtual int FillVariableDimensions(
int ncFD);
221 virtual int IsTimeDimension(
int ncFD,
int dimId);
254 virtual int LoadVariable(
int ncFD,
const char *varName,
double time,
264 vtkNetCDFReaderPrivate *Private;
267 #endif //vtkNetCDFReader_h
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Wrapper around std::string to keep symbols short.
abstract base class for most VTK objects
abstract class to specify dataset behavior
static vtkDataObjectAlgorithm * New()
virtual bool DimensionsAreForPointData(vtkIntArray *vtkNotUsed(dimensions))
Called internally to determine whether a variable with the given set of dimensions should be loaded a...
record modification and/or execution time
a vtkAbstractArray subclass for strings
vtkTimeStamp FileNameMTime
A superclass for reading netCDF files.
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 for a vtkSource.
int ReplaceFillValueWithNan
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSmartPointer< vtkIntArray > LoadingDimensions
The dimension ids of the arrays being loaded into the data.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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)
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkTimeStamp MetaDataMTime
vtkStringArray * AllDimensions
Placeholder for structure returned from GetAllDimensions().
vtkSmartPointer< vtkDataArraySelection > VariableArraySelection
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.