33 #ifndef vtkNetCDFReader_h
34 #define vtkNetCDFReader_h
48 class vtkNetCDFReaderPrivate;
57 virtual void SetFileName(
const char *filename);
58 vtkGetStringMacro(FileName);
71 virtual int GetNumberOfVariableArrays();
72 virtual const char *GetVariableArrayName(
int idx);
73 virtual int GetVariableArrayStatus(
const char *
name);
74 virtual void SetVariableArrayStatus(
const char *
name,
int status);
98 virtual void SetDimensions(
const char *dimensions);
118 vtkGetMacro(ReplaceFillValueWithNan,
int);
119 vtkSetMacro(ReplaceFillValueWithNan,
int);
120 vtkBooleanMacro(ReplaceFillValueWithNan,
int);
127 vtkGetStringMacro(TimeUnits);
128 vtkGetStringMacro(Calendar);
132 std::string QueryArrayUnits(
const char *ArrayName);
177 static void SelectionModifiedCallback(
vtkObject *caller,
unsigned long eid,
178 void *clientdata,
void *calldata);
183 vtkStdString DescribeDimensions(
int ncFD,
const int *dimIds,
int numDims);
187 virtual int ReadMetaData(
int ncFD);
190 virtual int FillVariableDimensions(
int ncFD);
197 virtual int IsTimeDimension(
int ncFD,
int dimId);
231 virtual int LoadVariable(
int ncFD,
const char *varName,
double time,
242 vtkNetCDFReaderPrivate *Private;
245 #endif //vtkNetCDFReader_h
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
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))
record modification and/or execution time
a vtkAbstractArray subclass for strings
void PrintSelf(ostream &os, vtkIndent indent)
vtkTimeStamp FileNameMTime
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
vtkSmartPointer< vtkIntArray > LoadingDimensions
Superclass for algorithms that produce only data object as output.
vtkStringArray * VariableDimensions
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKIONETCDF_EXPORT
vtkTimeStamp MetaDataMTime
vtkStringArray * AllDimensions
vtkSmartPointer< vtkDataArraySelection > VariableArraySelection