Go to the documentation of this file.
34 #ifndef vtkNetCDFReader_h
35 #define vtkNetCDFReader_h
37 #include "vtkIONetCDFModule.h"
49 class vtkNetCDFReaderPrivate;
58 virtual void SetFileName(
const char *filename);
59 vtkGetStringMacro(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);
131 vtkBooleanMacro(ReplaceFillValueWithNan,
vtkTypeBool);
140 vtkGetStringMacro(TimeUnits);
141 vtkGetStringMacro(Calendar);
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
vtkSmartPointer< vtkIntArray > LoadingDimensions
The dimension ids of the arrays being loaded into the data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
record modification and/or execution time
Superclass for algorithms that produce only data object as output.
abstract base class for most VTK objects
vtkSmartPointer< vtkStringArray > AllVariableArrayNames
Store on/off settings for data arrays for a vtkSource.
vtkTimeStamp FileNameMTime
a simple class to control print indentation
dynamic, self-adjusting array of int
vtkSmartPointer< vtkDataArraySelection > VariableArraySelection
abstract class to specify dataset behavior
vtkTimeStamp MetaDataMTime
vtkStringArray * AllDimensions
Placeholder for structure returned from GetAllDimensions().
vtkTypeBool ReplaceFillValueWithNan
vtkStringArray * VariableDimensions
Placeholder for structure returned from GetVariableDimensions().
static vtkDataObjectAlgorithm * New()
a vtkAbstractArray subclass for strings
virtual bool DimensionsAreForPointData(vtkIntArray *vtkNotUsed(dimensions))
Called internally to determine whether a variable with the given set of dimensions should be loaded a...
dynamic, self-adjusting array of double
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Wrapper around std::string to keep symbols short.
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)