34 #ifndef vtkNetCDFReader_h 35 #define vtkNetCDFReader_h 38 #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);
112 bool ComputeArraySelection();
137 vtkBooleanMacro(ReplaceFillValueWithNan,
vtkTypeBool);
146 vtkGetStringMacro(TimeUnits);
147 vtkGetStringMacro(Calendar);
153 std::string QueryArrayUnits(
const char* ArrayName);
200 static void SelectionModifiedCallback(
201 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
207 vtkStdString DescribeDimensions(
int ncFD,
const int* dimIds,
int numDims);
212 virtual int ReadMetaData(
int ncFD);
217 virtual int FillVariableDimensions(
int ncFD);
226 virtual int IsTimeDimension(
int ncFD,
int dimId);
257 virtual int LoadVariable(
int ncFD,
const char* varName,
double time,
vtkDataSet* output);
266 vtkNetCDFReaderPrivate* Private;
269 #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()
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.
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().
vtkSmartPointer< vtkDataArraySelection > VariableArraySelection
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.