35 #ifndef vtkNetCDFCFReader_h 36 #define vtkNetCDFCFReader_h 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
244 virtual bool DimensionsAreForPointData(
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 ...
vtkSmartPointer< vtkStringArray > GetSpecialVariables() const
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
#define vtkGetMacro(name, type)
UnitsEnum GetUnits() const
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
bool GetCellsUnstructured() const
vtkDimensionInfoVector * DimensionInfo
vtkSmartPointer< vtkStringArray > SpecialVariables
void SetOutputTypeToUnstructured()
vtkSmartPointer< vtkDoubleArray > GetLongitudeCoordinates() const
void SetOutputTypeToImage()
virtual int ReadMetaData(int ncFD)
#define vtkTypeMacro(thisClass, superclass)
const char * GetName() const
dynamic, self-adjusting array of double
bool GetHasRegularSpacing() const
dynamic, self-adjusting array of int
void SetOutputTypeToAutomatic()
static vtkNetCDFReader * New()
bool GetHasBounds() const
a simple class to control print indentation
topologically and geometrically regular array of data
dataset represents arbitrary combinations of all possible cell types
vtkSmartPointer< vtkDoubleArray > GetLatitudeCoordinates() const
vtkSmartPointer< vtkIntArray > GetGridDimensions() const
virtual int IsTimeDimension(int ncFD, int dimId)
vtkSmartPointer< vtkStringArray > SpecialVariables
vtkSmartPointer< vtkDoubleArray > GetBounds()
virtual vtkSmartPointer< vtkDoubleArray > GetTimeValues(int ncFD, int dimId)
vtkSmartPointer< vtkDoubleArray > LongitudeCoordinates
vtkDependentDimensionInfoVector * DependentDimensionInfo
topologically regular array of data
void SetOutputTypeToRectilinear()
#define VTKIONETCDF_EXPORT
#define vtkBooleanMacro(name, type)
vtkSmartPointer< vtkStringArray > GetSpecialVariables() const
vtkSmartPointer< vtkDoubleArray > Bounds
vtkSmartPointer< vtkIntArray > GridDimensions
#define VTK_STRUCTURED_GRID
represent and manipulate 3D points
#define VTK_UNSTRUCTURED_GRID
#define vtkSetMacro(name, type)
double GetSpacing() const
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)