VTK
|
#include <vtkNetCDFCFReader.h>
Reads netCDF files that follow the CF convention. Details on this convention can be found at http://cf-pcmdi.llnl.gov/.
Definition at line 49 of file vtkNetCDFCFReader.h.
Reimplemented from vtkNetCDFReader.
Definition at line 52 of file vtkNetCDFCFReader.h.
enum vtkNetCDFCFReader::CoordinateTypesEnum [protected] |
Definition at line 226 of file vtkNetCDFCFReader.h.
vtkNetCDFCFReader::vtkNetCDFCFReader | ( | ) | [protected] |
vtkNetCDFCFReader::~vtkNetCDFCFReader | ( | ) | [protected] |
static int vtkNetCDFCFReader::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkNetCDFReader.
virtual int vtkNetCDFCFReader::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkNetCDFReader.
static vtkNetCDFCFReader* vtkNetCDFCFReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkNetCDFReader.
virtual vtkObjectBase* vtkNetCDFCFReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkNetCDFReader.
vtkNetCDFCFReader* vtkNetCDFCFReader::NewInstance | ( | ) | const |
Reimplemented from vtkNetCDFReader.
static vtkNetCDFCFReader* vtkNetCDFCFReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkNetCDFReader.
virtual void vtkNetCDFCFReader::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkNetCDFReader.
virtual int vtkNetCDFCFReader::GetSphericalCoordinates | ( | ) | [virtual] |
If on (the default), then 3D data with latitude/longitude dimensions will be read in as curvilinear data shaped like spherical coordinates. If false, then the data will always be read in Cartesian coordinates.
virtual void vtkNetCDFCFReader::SetSphericalCoordinates | ( | int | ) | [virtual] |
If on (the default), then 3D data with latitude/longitude dimensions will be read in as curvilinear data shaped like spherical coordinates. If false, then the data will always be read in Cartesian coordinates.
virtual void vtkNetCDFCFReader::SphericalCoordinatesOn | ( | ) | [virtual] |
If on (the default), then 3D data with latitude/longitude dimensions will be read in as curvilinear data shaped like spherical coordinates. If false, then the data will always be read in Cartesian coordinates.
virtual void vtkNetCDFCFReader::SphericalCoordinatesOff | ( | ) | [virtual] |
If on (the default), then 3D data with latitude/longitude dimensions will be read in as curvilinear data shaped like spherical coordinates. If false, then the data will always be read in Cartesian coordinates.
virtual double vtkNetCDFCFReader::GetVerticalScale | ( | ) | [virtual] |
The scale and bias of the vertical component of spherical coordinates. It is common to write the vertical component with respect to something other than the center of the sphere (for example, the surface). In this case, it might be necessary to scale and/or bias the vertical height. The height will become height*scale
virtual void vtkNetCDFCFReader::SetVerticalScale | ( | double | ) | [virtual] |
The scale and bias of the vertical component of spherical coordinates. It is common to write the vertical component with respect to something other than the center of the sphere (for example, the surface). In this case, it might be necessary to scale and/or bias the vertical height. The height will become height*scale
virtual double vtkNetCDFCFReader::GetVerticalBias | ( | ) | [virtual] |
The scale and bias of the vertical component of spherical coordinates. It is common to write the vertical component with respect to something other than the center of the sphere (for example, the surface). In this case, it might be necessary to scale and/or bias the vertical height. The height will become height*scale
virtual void vtkNetCDFCFReader::SetVerticalBias | ( | double | ) | [virtual] |
The scale and bias of the vertical component of spherical coordinates. It is common to write the vertical component with respect to something other than the center of the sphere (for example, the surface). In this case, it might be necessary to scale and/or bias the vertical height. The height will become height*scale
virtual int vtkNetCDFCFReader::GetOutputType | ( | ) | [virtual] |
Set/get the data type of the output. The index used is taken from the list of VTK data types in vtkType.h. Valid types are VTK_IMAGE_DATA, VTK_RECTILINEAR_GRID, VTK_STRUCTURED_GRID, and VTK_UNSTRUCTURED_GRID. In addition you can set the type to -1 (the default), and this reader will pick the data type best suited for the dimensions being read.
virtual void vtkNetCDFCFReader::SetOutputType | ( | int | type | ) | [virtual] |
Set/get the data type of the output. The index used is taken from the list of VTK data types in vtkType.h. Valid types are VTK_IMAGE_DATA, VTK_RECTILINEAR_GRID, VTK_STRUCTURED_GRID, and VTK_UNSTRUCTURED_GRID. In addition you can set the type to -1 (the default), and this reader will pick the data type best suited for the dimensions being read.
void vtkNetCDFCFReader::SetOutputTypeToAutomatic | ( | ) | [inline] |
Set/get the data type of the output. The index used is taken from the list of VTK data types in vtkType.h. Valid types are VTK_IMAGE_DATA, VTK_RECTILINEAR_GRID, VTK_STRUCTURED_GRID, and VTK_UNSTRUCTURED_GRID. In addition you can set the type to -1 (the default), and this reader will pick the data type best suited for the dimensions being read.
Definition at line 91 of file vtkNetCDFCFReader.h.
void vtkNetCDFCFReader::SetOutputTypeToImage | ( | ) | [inline] |
Set/get the data type of the output. The index used is taken from the list of VTK data types in vtkType.h. Valid types are VTK_IMAGE_DATA, VTK_RECTILINEAR_GRID, VTK_STRUCTURED_GRID, and VTK_UNSTRUCTURED_GRID. In addition you can set the type to -1 (the default), and this reader will pick the data type best suited for the dimensions being read.
Definition at line 92 of file vtkNetCDFCFReader.h.
void vtkNetCDFCFReader::SetOutputTypeToRectilinear | ( | ) | [inline] |
Set/get the data type of the output. The index used is taken from the list of VTK data types in vtkType.h. Valid types are VTK_IMAGE_DATA, VTK_RECTILINEAR_GRID, VTK_STRUCTURED_GRID, and VTK_UNSTRUCTURED_GRID. In addition you can set the type to -1 (the default), and this reader will pick the data type best suited for the dimensions being read.
Definition at line 93 of file vtkNetCDFCFReader.h.
void vtkNetCDFCFReader::SetOutputTypeToStructured | ( | ) | [inline] |
Set/get the data type of the output. The index used is taken from the list of VTK data types in vtkType.h. Valid types are VTK_IMAGE_DATA, VTK_RECTILINEAR_GRID, VTK_STRUCTURED_GRID, and VTK_UNSTRUCTURED_GRID. In addition you can set the type to -1 (the default), and this reader will pick the data type best suited for the dimensions being read.
Definition at line 94 of file vtkNetCDFCFReader.h.
void vtkNetCDFCFReader::SetOutputTypeToUnstructured | ( | ) | [inline] |
Set/get the data type of the output. The index used is taken from the list of VTK data types in vtkType.h. Valid types are VTK_IMAGE_DATA, VTK_RECTILINEAR_GRID, VTK_STRUCTURED_GRID, and VTK_UNSTRUCTURED_GRID. In addition you can set the type to -1 (the default), and this reader will pick the data type best suited for the dimensions being read.
Definition at line 95 of file vtkNetCDFCFReader.h.
static int vtkNetCDFCFReader::CanReadFile | ( | const char * | filename | ) | [static] |
Returns true if the given file can be read.
virtual int vtkNetCDFCFReader::RequestDataObject | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkNetCDFReader.
virtual int vtkNetCDFCFReader::RequestInformation | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
Reimplemented from vtkNetCDFReader.
virtual int vtkNetCDFCFReader::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
Reimplemented from vtkNetCDFReader.
virtual int vtkNetCDFCFReader::ReadMetaData | ( | int | ncFD | ) | [protected, virtual] |
Interprets the special conventions of COARDS.
Reimplemented from vtkNetCDFReader.
virtual int vtkNetCDFCFReader::IsTimeDimension | ( | int | ncFD, |
int | dimId | ||
) | [protected, virtual] |
Interprets the special conventions of COARDS.
Reimplemented from vtkNetCDFReader.
virtual vtkSmartPointer<vtkDoubleArray> vtkNetCDFCFReader::GetTimeValues | ( | int | ncFD, |
int | dimId | ||
) | [protected, virtual] |
Interprets the special conventions of COARDS.
Reimplemented from vtkNetCDFReader.
vtkDimensionInfo* vtkNetCDFCFReader::GetDimensionInfo | ( | int | dimension | ) | [protected] |
vtkDependentDimensionInfo* vtkNetCDFCFReader::FindDependentDimensionInfo | ( | vtkIntArray * | dims | ) | [protected] |
virtual void vtkNetCDFCFReader::IdentifySphericalCoordinates | ( | vtkIntArray * | dimensions, |
int & | longitudeDim, | ||
int & | latitudeDim, | ||
int & | verticalDim | ||
) | [protected, virtual] |
Given the list of dimensions, identify the longitude, latitude, and vertical dimensions. -1 is returned for any not found. The results depend on the values in this->DimensionInfo.
CoordinateTypesEnum vtkNetCDFCFReader::CoordinateType | ( | vtkIntArray * | dimensions | ) | [protected] |
Based on the given dimensions and the current state of the reader, returns how the coordinates should be interpreted. The returned value is one of the CoordinateTypesEnum identifiers.
virtual bool vtkNetCDFCFReader::DimensionsAreForPointData | ( | vtkIntArray * | dimensions | ) | [protected, virtual] |
Returns false for spherical dimensions, which should use cell data.
void vtkNetCDFCFReader::ExtentForDimensionsAndPiece | ( | int | pieceNumber, |
int | numberOfPieces, | ||
int | ghostLevels, | ||
int | extent[6] | ||
) | [protected] |
Convenience function that takes piece information and then returns a set of extents to load based on this->WholeExtent. The result is returned in extent.
virtual void vtkNetCDFCFReader::GetUpdateExtentForOutput | ( | vtkDataSet * | output, |
int | extent[6] | ||
) | [protected, virtual] |
Overridden to retrieve stored extent for unstructured data.
Reimplemented from vtkNetCDFReader.
void vtkNetCDFCFReader::AddRectilinearCoordinates | ( | vtkImageData * | imageOutput | ) | [protected] |
Internal methods for setting rectilinear coordinates.
void vtkNetCDFCFReader::AddRectilinearCoordinates | ( | vtkRectilinearGrid * | rectilinearOutput | ) | [protected] |
Internal methods for setting rectilinear coordinates.
void vtkNetCDFCFReader::Add1DRectilinearCoordinates | ( | vtkPoints * | points, |
const int | extent[6] | ||
) | [protected] |
Internal methods for setting rectilinear coordinates.
void vtkNetCDFCFReader::Add2DRectilinearCoordinates | ( | vtkPoints * | points, |
const int | extent[6] | ||
) | [protected] |
Internal methods for setting rectilinear coordinates.
void vtkNetCDFCFReader::Add1DRectilinearCoordinates | ( | vtkStructuredGrid * | structuredOutput | ) | [protected] |
Internal methods for setting rectilinear coordinates.
void vtkNetCDFCFReader::Add2DRectilinearCoordinates | ( | vtkStructuredGrid * | structuredOutput | ) | [protected] |
Internal methods for setting rectilinear coordinates.
void vtkNetCDFCFReader::Add1DRectilinearCoordinates | ( | vtkUnstructuredGrid * | unstructuredOutput, |
const int | extent[6] | ||
) | [protected] |
Internal methods for setting rectilinear coordinates.
void vtkNetCDFCFReader::Add2DRectilinearCoordinates | ( | vtkUnstructuredGrid * | unstructuredOutput, |
const int | extent[6] | ||
) | [protected] |
Internal methods for setting rectilinear coordinates.
void vtkNetCDFCFReader::Add1DSphericalCoordinates | ( | vtkPoints * | points, |
const int | extent[6] | ||
) | [protected] |
Internal methods for setting spherical coordinates.
void vtkNetCDFCFReader::Add2DSphericalCoordinates | ( | vtkPoints * | points, |
const int | extent[6] | ||
) | [protected] |
Internal methods for setting spherical coordinates.
void vtkNetCDFCFReader::Add1DSphericalCoordinates | ( | vtkStructuredGrid * | structuredOutput | ) | [protected] |
Internal methods for setting spherical coordinates.
void vtkNetCDFCFReader::Add2DSphericalCoordinates | ( | vtkStructuredGrid * | structuredOutput | ) | [protected] |
Internal methods for setting spherical coordinates.
void vtkNetCDFCFReader::Add1DSphericalCoordinates | ( | vtkUnstructuredGrid * | unstructuredOutput, |
const int | extent[6] | ||
) | [protected] |
Internal methods for setting spherical coordinates.
void vtkNetCDFCFReader::Add2DSphericalCoordinates | ( | vtkUnstructuredGrid * | unstructuredOutput, |
const int | extent[6] | ||
) | [protected] |
Internal methods for setting spherical coordinates.
void vtkNetCDFCFReader::AddStructuredCells | ( | vtkUnstructuredGrid * | unstructuredOutput, |
const int | extent[6] | ||
) | [protected] |
Internal method for building unstructred cells that match structured cells.
void vtkNetCDFCFReader::AddUnstructuredRectilinearCoordinates | ( | vtkUnstructuredGrid * | unstructuredOutput, |
const int | extent[6] | ||
) | [protected] |
Internal methods for creating unstructured cells.
void vtkNetCDFCFReader::AddUnstructuredSphericalCoordinates | ( | vtkUnstructuredGrid * | unstructuredOutput, |
const int | extent[6] | ||
) | [protected] |
Internal methods for creating unstructured cells.
friend class vtkDimensionInfoVector [friend] |
Definition at line 168 of file vtkNetCDFCFReader.h.
friend class vtkDependentDimensionInfo [friend] |
Definition at line 206 of file vtkNetCDFCFReader.h.
friend class vtkDependentDimensionInfoVector [friend] |
Definition at line 207 of file vtkNetCDFCFReader.h.
int vtkNetCDFCFReader::SphericalCoordinates [protected] |
Definition at line 107 of file vtkNetCDFCFReader.h.
double vtkNetCDFCFReader::VerticalScale [protected] |
Definition at line 109 of file vtkNetCDFCFReader.h.
double vtkNetCDFCFReader::VerticalBias [protected] |
Definition at line 110 of file vtkNetCDFCFReader.h.
int vtkNetCDFCFReader::OutputType [protected] |
Definition at line 112 of file vtkNetCDFCFReader.h.
vtkDimensionInfoVector* vtkNetCDFCFReader::DimensionInfo [protected] |
Definition at line 170 of file vtkNetCDFCFReader.h.
Definition at line 209 of file vtkNetCDFCFReader.h.