Go to the documentation of this file.
35 #ifndef vtkNetCDFCFReader_h
36 #define vtkNetCDFCFReader_h
140 const char *
GetName()
const {
return this->Name.c_str(); }
155 return this->SpecialVariables;
168 class vtkDimensionInfoVector;
169 friend class vtkDimensionInfoVector;
181 return this->GridDimensions;
184 return this->LongitudeCoordinates;
187 return this->LatitudeCoordinates;
190 return this->SpecialVariables;
207 class vtkDependentDimensionInfoVector;
208 friend class vtkDependentDimensionInfoVector;
235 COORDS_SPHERICAL_PSIDED_CELLS
310 #endif //vtkNetCDFCFReader_h
represent and manipulate 3D points
void AddRectilinearCoordinates(vtkRectilinearGrid *rectilinearOutput)
vtkDependentDimensionInfo()
int LoadUnstructuredBoundsVariable(int ncFD, int varId, vtkDoubleArray *coords)
void Add1DRectilinearCoordinates(vtkStructuredGrid *structuredOutput)
vtkDimensionInfoVector * DimensionInfo
void Add2DRectilinearCoordinates(vtkPoints *points, const int extent[6])
static int CanReadFile(const char *filename)
vtkDimensionInfo * GetDimensionInfo(int dimension)
void SetOutputTypeToUnstructured()
void Add1DRectilinearCoordinates(vtkPoints *points, const int extent[6])
vtkSmartPointer< vtkDoubleArray > Bounds
void SetOutputTypeToStructured()
vtkSmartPointer< vtkDoubleArray > GetLongitudeCoordinates() const
a dataset that is topologically regular with variable spacing in the three coordinate directions
int LoadMetaData(int ncFD)
virtual bool DimensionsAreForPointData(vtkIntArray *dimensions)
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define vtkTypeMacro(thisClass, superclass)
topologically regular array of data
vtkSmartPointer< vtkStringArray > SpecialVariables
void Add1DSphericalCoordinates(vtkUnstructuredGrid *unstructuredOutput, const int extent[6])
virtual vtkSmartPointer< vtkDoubleArray > GetTimeValues(int ncFD, int dimId)
GLsizei const GLfloat * points
bool GetCellsUnstructured() const
vtkSmartPointer< vtkDoubleArray > LatitudeCoordinates
void SetOutputTypeToImage()
int LoadMetaData(int ncFD, int varId, vtkNetCDFCFReader *parent)
void FakeStructuredCoordinates(vtkStructuredGrid *structuredOutput)
CoordinateTypesEnum CoordinateType(vtkIntArray *dimensions)
vtkSmartPointer< vtkDoubleArray > GetBounds()
virtual int IsTimeDimension(int ncFD, int dimId)
void SetOutputTypeToAutomatic()
vtkSmartPointer< vtkStringArray > SpecialVariables
@ COORDS_EUCLIDEAN_PSIDED_CELLS
void Add2DSphericalCoordinates(vtkUnstructuredGrid *unstructuredOutput, const int extent[6])
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkSmartPointer< vtkDoubleArray > LongitudeCoordinates
topologically and geometrically regular array of data
a simple class to control print indentation
dynamic, self-adjusting array of int
vtkSmartPointer< vtkDoubleArray > GetCoordinates()
virtual void GetUpdateExtentForOutput(vtkDataSet *output, int extent[6])
vtkSmartPointer< vtkStringArray > GetSpecialVariables() const
UnitsEnum GetUnits() const
const char * GetName() const
vtkDependentDimensionInfo(int ncFD, int varId, vtkNetCDFCFReader *parent)
bool GetHasRegularSpacing() const
void Add2DRectilinearCoordinates(vtkUnstructuredGrid *unstructuredOutput, const int extent[6])
int LoadBoundsVariable(int ncFD, int varId, vtkDoubleArray *coords)
#define vtkGetMacro(name, type)
bool GetHasBounds() const
vtkSmartPointer< vtkDoubleArray > Coordinates
void AddUnstructuredSphericalCoordinates(vtkUnstructuredGrid *unstructuredOutput, const int extent[6])
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void SetOutputType(int type)
virtual int ReadMetaData(int ncFD)
abstract class to specify dataset behavior
vtkDependentDimensionInfoVector * DependentDimensionInfo
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
virtual void IdentifySphericalCoordinates(vtkIntArray *dimensions, int &longitudeDim, int &latitudeDim, int &verticalDim)
static vtkNetCDFCFReader * New()
vtkSmartPointer< vtkDoubleArray > GetLatitudeCoordinates() const
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetOutputTypeToRectilinear()
#define VTKIONETCDF_EXPORT
vtkDimensionInfo(int ncFD, int id)
vtkSmartPointer< vtkIntArray > GridDimensions
double GetSpacing() const
void AddRectilinearCoordinates(vtkImageData *imageOutput)
void ExtentForDimensionsAndPiece(int pieceNumber, int numberOfPieces, int ghostLevels, int extent[6])
@ COORDS_NONUNIFORM_RECTILINEAR
dynamic, self-adjusting array of double
dataset represents arbitrary combinations of all possible cell types
vtkSmartPointer< vtkIntArray > GetGridDimensions() const
Wrapper around std::string to keep symbols short.
@ COORDS_UNIFORM_RECTILINEAR
#define VTK_UNSTRUCTURED_GRID
@ COORDS_REGULAR_SPHERICAL
void AddUnstructuredRectilinearCoordinates(vtkUnstructuredGrid *unstructuredOutput, const int extent[6])
void FakeRectilinearCoordinates(vtkRectilinearGrid *rectilinearOutput)
GLuint GLuint GLsizei GLenum type
vtkSmartPointer< vtkStringArray > GetSpecialVariables() const
void Add1DSphericalCoordinates(vtkPoints *points, const int extent[6])
@ COORDS_SPHERICAL_4SIDED_CELLS
void Add2DSphericalCoordinates(vtkStructuredGrid *structuredOutput)
void Add1DSphericalCoordinates(vtkStructuredGrid *structuredOutput)
#define VTK_RECTILINEAR_GRID
void Add2DSphericalCoordinates(vtkPoints *points, const int extent[6])
vtkDependentDimensionInfo * FindDependentDimensionInfo(vtkIntArray *dims)
void Add1DRectilinearCoordinates(vtkUnstructuredGrid *unstructuredOutput, const int extent[6])
@ COORDS_EUCLIDEAN_4SIDED_CELLS
int LoadCoordinateVariable(int ncFD, int varId, vtkDoubleArray *coords)
#define VTK_STRUCTURED_GRID
void AddStructuredCells(vtkUnstructuredGrid *unstructuredOutput, const int extent[6])
void Add2DRectilinearCoordinates(vtkStructuredGrid *structuredOutput)