35 #ifndef vtkNetCDFCFReader_h
36 #define vtkNetCDFCFReader_h
61 vtkGetMacro(SphericalCoordinates,
int);
62 vtkSetMacro(SphericalCoordinates,
int);
63 vtkBooleanMacro(SphericalCoordinates,
int);
76 vtkGetMacro(VerticalScale,
double);
77 vtkSetMacro(VerticalScale,
double);
78 vtkGetMacro(VerticalBias,
double);
79 vtkSetMacro(VerticalBias,
double);
89 vtkGetMacro(OutputType,
int);
90 virtual void SetOutputType(
int type);
101 static int CanReadFile(
const char *filename);
140 const char *
GetName()
const {
return this->Name.c_str(); }
155 return this->SpecialVariables;
166 int LoadMetaData(
int ncFD);
168 class vtkDimensionInfoVector;
169 friend class vtkDimensionInfoVector;
181 return this->GridDimensions;
184 return this->LongitudeCoordinates;
187 return this->LatitudeCoordinates;
190 return this->SpecialVariables;
201 int LoadCoordinateVariable(
int ncFD,
int varId,
vtkDoubleArray *coords);
202 int LoadBoundsVariable(
int ncFD,
int varId,
vtkDoubleArray *coords);
203 int LoadUnstructuredBoundsVariable(
int ncFD,
int varId,
207 class vtkDependentDimensionInfoVector;
208 friend class vtkDependentDimensionInfoVector;
220 virtual void IdentifySphericalCoordinates(
vtkIntArray *dimensions,
235 COORDS_SPHERICAL_PSIDED_CELLS
241 CoordinateTypesEnum CoordinateType(
vtkIntArray *dimensions);
250 void ExtentForDimensionsAndPiece(
int pieceNumber,
261 void AddRectilinearCoordinates(
vtkImageData *imageOutput);
296 void AddUnstructuredRectilinearCoordinates(
299 void AddUnstructuredSphericalCoordinates(
310 #endif //vtkNetCDFCFReader_h
vtkDependentDimensionInfo()
Wrapper around std::string to keep symbols short.
vtkSmartPointer< vtkDoubleArray > Coordinates
vtkSmartPointer< vtkDoubleArray > GetCoordinates()
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkSmartPointer< vtkDoubleArray > LatitudeCoordinates
void SetOutputTypeToStructured()
#define VTK_RECTILINEAR_GRID
virtual void PrintSelf(ostream &os, vtkIndent indent)
abstract class to specify dataset behavior
virtual bool DimensionsAreForPointData(vtkIntArray *vtkNotUsed(dimensions))
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkDimensionInfoVector * DimensionInfo
vtkSmartPointer< vtkStringArray > SpecialVariables
void SetOutputTypeToUnstructured()
bool GetCellsUnstructured() const
UnitsEnum GetUnits() const
void SetOutputTypeToImage()
virtual int ReadMetaData(int ncFD)
dynamic, self-adjusting array of double
dynamic, self-adjusting array of int
void SetOutputTypeToAutomatic()
static vtkNetCDFReader * New()
virtual void GetUpdateExtentForOutput(vtkDataSet *output, int extent[6])
a simple class to control print indentation
double GetSpacing() const
vtkSmartPointer< vtkDoubleArray > GetLatitudeCoordinates() const
topologically and geometrically regular array of data
dataset represents arbitrary combinations of all possible cell types
vtkSmartPointer< vtkStringArray > GetSpecialVariables() const
virtual int IsTimeDimension(int ncFD, int dimId)
vtkSmartPointer< vtkStringArray > SpecialVariables
vtkSmartPointer< vtkDoubleArray > GetBounds()
virtual vtkSmartPointer< vtkDoubleArray > GetTimeValues(int ncFD, int dimId)
bool GetHasBounds() const
bool GetHasRegularSpacing() const
vtkSmartPointer< vtkDoubleArray > LongitudeCoordinates
vtkDependentDimensionInfoVector * DependentDimensionInfo
topologically regular array of data
void SetOutputTypeToRectilinear()
#define VTKIONETCDF_EXPORT
vtkSmartPointer< vtkDoubleArray > GetLongitudeCoordinates() const
const char * GetName() const
vtkSmartPointer< vtkDoubleArray > Bounds
vtkSmartPointer< vtkIntArray > GridDimensions
#define VTK_STRUCTURED_GRID
represent and manipulate 3D points
#define VTK_UNSTRUCTURED_GRID
vtkSmartPointer< vtkStringArray > GetSpecialVariables() const
vtkSmartPointer< vtkIntArray > GetGridDimensions() const
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)