|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   33 #ifndef vtkNetCDFCFReader_h 
   34 #define vtkNetCDFCFReader_h 
   36 #include "vtkIONetCDFModule.h"  
   77   vtkGetMacro(VerticalScale, 
double);
 
   78   vtkSetMacro(VerticalScale, 
double);
 
   79   vtkGetMacro(VerticalBias, 
double);
 
   80   vtkSetMacro(VerticalBias, 
double);
 
   91   vtkGetMacro(OutputType, 
int);
 
   92   virtual void SetOutputType(
int type);
 
  103   static int CanReadFile(
const char* filename);
 
  139     const char* 
GetName()
 const { 
return this->Name.c_str(); }
 
  165     int LoadMetaData(
int ncFD);
 
  167   class vtkDimensionInfoVector;
 
  168   friend class vtkDimensionInfoVector;
 
  186       return this->LongitudeCoordinates;
 
  190       return this->LatitudeCoordinates;
 
  203     int LoadCoordinateVariable(
int ncFD, 
int varId, 
vtkDoubleArray* coords);
 
  204     int LoadBoundsVariable(
int ncFD, 
int varId, 
vtkDoubleArray* coords);
 
  205     int LoadUnstructuredBoundsVariable(
int ncFD, 
int varId, 
vtkDoubleArray* coords);
 
  208   class vtkDependentDimensionInfoVector;
 
  209   friend class vtkDependentDimensionInfoVector;
 
  221   virtual void IdentifySphericalCoordinates(
 
  222     vtkIntArray* dimensions, 
int& longitudeDim, 
int& latitudeDim, 
int& verticalDim);
 
  234     COORDS_SPHERICAL_PSIDED_CELLS
 
  242   CoordinateTypesEnum CoordinateType(
vtkIntArray* dimensions);
 
  254   void ExtentForDimensionsAndPiece(
 
  255     int pieceNumber, 
int numberOfPieces, 
int ghostLevels, 
int extent[6]);
 
  266   void AddRectilinearCoordinates(
vtkImageData* imageOutput);
 
  299   void AddUnstructuredRectilinearCoordinates(
 
  301   void AddUnstructuredSphericalCoordinates(
 
  310 #endif // vtkNetCDFCFReader_h 
  
represent and manipulate 3D points
vtkDependentDimensionInfo()
vtkDimensionInfoVector * DimensionInfo
void SetOutputTypeToUnstructured()
vtkSmartPointer< vtkDoubleArray > Bounds
void SetOutputTypeToStructured()
vtkSmartPointer< vtkDoubleArray > GetLongitudeCoordinates() const
a dataset that is topologically regular with variable spacing in the three coordinate directions
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
topologically regular array of data
vtkSmartPointer< vtkStringArray > SpecialVariables
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkNetCDFReader * New()
bool GetCellsUnstructured() const
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
vtkSmartPointer< vtkDoubleArray > LatitudeCoordinates
void SetOutputTypeToImage()
vtkSmartPointer< vtkDoubleArray > GetBounds()
void SetOutputTypeToAutomatic()
vtkSmartPointer< vtkStringArray > SpecialVariables
@ COORDS_EUCLIDEAN_PSIDED_CELLS
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()
vtkTypeBool SphericalCoordinates
vtkSmartPointer< vtkStringArray > GetSpecialVariables() const
virtual vtkSmartPointer< vtkDoubleArray > GetTimeValues(int ncFD, int dimId)
Given a dimension already determined to be a time dimension (via a call to IsTimeDimension) returns a...
UnitsEnum GetUnits() const
const char * GetName() const
bool GetHasRegularSpacing() const
bool GetHasBounds() const
vtkSmartPointer< vtkDoubleArray > Coordinates
virtual int IsTimeDimension(int ncFD, int dimId)
Determines whether the given variable is a time dimension.
abstract class to specify dataset behavior
vtkDependentDimensionInfoVector * DependentDimensionInfo
vtkSmartPointer< vtkDoubleArray > GetLatitudeCoordinates() const
void SetOutputTypeToRectilinear()
vtkSmartPointer< vtkIntArray > GridDimensions
virtual void GetUpdateExtentForOutput(vtkDataSet *output, int extent[6])
Retrieves the update extent for the output object.
double GetSpacing() const
virtual int ReadMetaData(int ncFD)
Reads meta data and populates ivars.
virtual bool DimensionsAreForPointData(vtkIntArray *vtkNotUsed(dimensions))
Called internally to determine whether a variable with the given set of dimensions should be loaded a...
@ 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
vtkSmartPointer< vtkStringArray > GetSpecialVariables() const
@ COORDS_SPHERICAL_4SIDED_CELLS
#define VTK_RECTILINEAR_GRID
@ COORDS_EUCLIDEAN_4SIDED_CELLS
#define VTK_STRUCTURED_GRID