 |
VTK
9.0.1
|
Go to the documentation of this file.
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
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)
std::string CurrentDimensions