VTK
vtkNetCDFCFReader.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 /*=========================================================================
3 
4  Program: Visualization Toolkit
5  Module: vtkNetCDFCFReader.h
6 
7  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
8  All rights reserved.
9  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
10 
11  This software is distributed WITHOUT ANY WARRANTY; without even
12  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13  PURPOSE. See the above copyright notice for more information.
14 
15 =========================================================================*/
16 
17 /*-------------------------------------------------------------------------
18  Copyright 2008 Sandia Corporation.
19  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
20  the U.S. Government retains certain rights in this software.
21 -------------------------------------------------------------------------*/
22 
36 #ifndef vtkNetCDFCFReader_h
37 #define vtkNetCDFCFReader_h
38 
39 #include "vtkIONetCDFModule.h" // For export macro
40 #include "vtkNetCDFReader.h"
41 
42 #include "vtkStdString.h" // Used for ivars.
43 
44 class vtkImageData;
45 class vtkPoints;
46 class vtkRectilinearGrid;
47 class vtkStructuredGrid;
49 
50 class VTKIONETCDF_EXPORT vtkNetCDFCFReader : public vtkNetCDFReader
51 {
52 public:
55  void PrintSelf(ostream &os, vtkIndent indent) override;
56 
58 
63  vtkGetMacro(SphericalCoordinates, vtkTypeBool);
64  vtkSetMacro(SphericalCoordinates, vtkTypeBool);
65  vtkBooleanMacro(SphericalCoordinates, vtkTypeBool);
67 
69 
80  vtkGetMacro(VerticalScale, double);
81  vtkSetMacro(VerticalScale, double);
82  vtkGetMacro(VerticalBias, double);
83  vtkSetMacro(VerticalBias, double);
85 
87 
94  vtkGetMacro(OutputType, int);
95  virtual void SetOutputType(int type);
96  void SetOutputTypeToAutomatic() { this->SetOutputType(-1); }
97  void SetOutputTypeToImage() { this->SetOutputType(VTK_IMAGE_DATA); }
98  void SetOutputTypeToRectilinear() {this->SetOutputType(VTK_RECTILINEAR_GRID);}
99  void SetOutputTypeToStructured() { this->SetOutputType(VTK_STRUCTURED_GRID); }
101  this->SetOutputType(VTK_UNSTRUCTURED_GRID);
102  }
104 
108  static int CanReadFile(const char *filename);
109 
110 protected:
112  ~vtkNetCDFCFReader() override;
113 
115 
117  double VerticalBias;
118 
120 
122  vtkInformationVector **inputVector,
123  vtkInformationVector *outputVector) override;
124 
126  vtkInformationVector **inputVector,
127  vtkInformationVector *outputVector) override;
128 
130  vtkInformationVector **inputVector,
131  vtkInformationVector *outputVector) override;
132 
134 
137  int ReadMetaData(int ncFD) override;
138  int IsTimeDimension(int ncFD, int dimId) override;
139  vtkSmartPointer<vtkDoubleArray> GetTimeValues(int ncFD, int dimId) override;
141 
143  public:
145  vtkDimensionInfo(int ncFD, int id);
146  const char *GetName() const { return this->Name.c_str(); }
147  enum UnitsEnum {
152  VERTICAL_UNITS
153  };
154  UnitsEnum GetUnits() const { return this->Units; }
155  vtkSmartPointer<vtkDoubleArray> GetCoordinates() {return this->Coordinates;}
156  vtkSmartPointer<vtkDoubleArray> GetBounds() { return this->Bounds; }
157  bool GetHasRegularSpacing() const { return this->HasRegularSpacing; }
158  double GetOrigin() const { return this->Origin; }
159  double GetSpacing() const { return this->Spacing; }
161  return this->SpecialVariables;
162  }
163  protected:
165  int DimId;
170  double Origin, Spacing;
172  int LoadMetaData(int ncFD);
173  };
174  class vtkDimensionInfoVector;
175  friend class vtkDimensionInfoVector;
176  vtkDimensionInfoVector *DimensionInfo;
178 
180  public:
181  vtkDependentDimensionInfo() : Valid(false) { };
182  vtkDependentDimensionInfo(int ncFD, int varId, vtkNetCDFCFReader *parent);
183  bool GetValid() const { return this->Valid; }
184  bool GetHasBounds() const { return this->HasBounds; }
185  bool GetCellsUnstructured() const { return this->CellsUnstructured; }
187  return this->GridDimensions;
188  }
190  return this->LongitudeCoordinates;
191  }
193  return this->LatitudeCoordinates;
194  }
196  return this->SpecialVariables;
197  }
198  protected:
199  bool Valid;
200  bool HasBounds;
206  int LoadMetaData(int ncFD, int varId, vtkNetCDFCFReader *parent);
207  int LoadCoordinateVariable(int ncFD, int varId, vtkDoubleArray *coords);
208  int LoadBoundsVariable(int ncFD, int varId, vtkDoubleArray *coords);
209  int LoadUnstructuredBoundsVariable(int ncFD, int varId,
210  vtkDoubleArray *coords);
211  };
213  class vtkDependentDimensionInfoVector;
214  friend class vtkDependentDimensionInfoVector;
215  vtkDependentDimensionInfoVector *DependentDimensionInfo;
216 
217  // Finds the dependent dimension information for the given set of dimensions.
218  // Returns nullptr if no information has been recorded.
220 
226  virtual void IdentifySphericalCoordinates(vtkIntArray *dimensions,
227  int &longitudeDim,
228  int &latitudeDim,
229  int &verticalDim);
230 
240  COORDS_SPHERICAL_PSIDED_CELLS
241  };
242 
249 
253  bool DimensionsAreForPointData(vtkIntArray *dimensions) override;
254 
260  void ExtentForDimensionsAndPiece(int pieceNumber,
261  int numberOfPieces,
262  int ghostLevels,
263  int extent[6]);
264 
268  void GetUpdateExtentForOutput(vtkDataSet *output, int extent[6]) override;
269 
271 
283  const int extent[6]);
285  const int extent[6]);
287 
289 
297  const int extent[6]);
299  const int extent[6]);
301 
305  void AddStructuredCells(vtkUnstructuredGrid *unstructuredOutput,
306  const int extent[6]);
307 
309 
313  vtkUnstructuredGrid *unstructuredOutput,
314  const int extent[6]);
316  vtkUnstructuredGrid *unstructuredOutput,
317  const int extent[6]);
319 
320 
321 private:
322  vtkNetCDFCFReader(const vtkNetCDFCFReader &) = delete;
323  void operator=(const vtkNetCDFCFReader &) = delete;
324 };
325 
326 #endif //vtkNetCDFCFReader_h
327 
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:40
vtkNetCDFCFReader::AddRectilinearCoordinates
void AddRectilinearCoordinates(vtkRectilinearGrid *rectilinearOutput)
vtkNetCDFCFReader::vtkDependentDimensionInfo::vtkDependentDimensionInfo
vtkDependentDimensionInfo()
Definition: vtkNetCDFCFReader.h:181
vtkStdString.h
vtkNetCDFCFReader::CoordinateTypesEnum
CoordinateTypesEnum
Definition: vtkNetCDFCFReader.h:231
vtkNetCDFCFReader::vtkDependentDimensionInfo::LoadUnstructuredBoundsVariable
int LoadUnstructuredBoundsVariable(int ncFD, int varId, vtkDoubleArray *coords)
vtkNetCDFCFReader::RequestDataObject
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkNetCDFCFReader::DimensionsAreForPointData
bool DimensionsAreForPointData(vtkIntArray *dimensions) override
Returns false for spherical dimensions, which should use cell data.
vtkNetCDFCFReader::Add1DRectilinearCoordinates
void Add1DRectilinearCoordinates(vtkStructuredGrid *structuredOutput)
vtkNetCDFCFReader::vtkDependentDimensionInfo::Valid
bool Valid
Definition: vtkNetCDFCFReader.h:199
vtkNetCDFCFReader::vtkDependentDimensionInfo::HasBounds
bool HasBounds
Definition: vtkNetCDFCFReader.h:200
vtkNetCDFCFReader::DimensionInfo
vtkDimensionInfoVector * DimensionInfo
Definition: vtkNetCDFCFReader.h:176
vtkNetCDFCFReader::Add2DRectilinearCoordinates
void Add2DRectilinearCoordinates(vtkPoints *points, const int extent[6])
vtkNetCDFCFReader::CanReadFile
static int CanReadFile(const char *filename)
Returns true if the given file can be read.
vtkNetCDFCFReader::vtkDimensionInfo::GetOrigin
double GetOrigin() const
Definition: vtkNetCDFCFReader.h:158
vtkNetCDFCFReader::GetDimensionInfo
vtkDimensionInfo * GetDimensionInfo(int dimension)
vtkNetCDFCFReader::SetOutputTypeToUnstructured
void SetOutputTypeToUnstructured()
Definition: vtkNetCDFCFReader.h:100
vtkNetCDFCFReader::Add1DRectilinearCoordinates
void Add1DRectilinearCoordinates(vtkPoints *points, const int extent[6])
vtkNetCDFCFReader::VerticalScale
double VerticalScale
Definition: vtkNetCDFCFReader.h:116
vtkX3D::type
@ type
Definition: vtkX3D.h:516
vtkNetCDFCFReader::vtkDimensionInfo::Bounds
vtkSmartPointer< vtkDoubleArray > Bounds
Definition: vtkNetCDFCFReader.h:167
vtkNetCDFCFReader::SetOutputTypeToStructured
void SetOutputTypeToStructured()
Definition: vtkNetCDFCFReader.h:99
vtkNetCDFCFReader::vtkDependentDimensionInfo::GetLongitudeCoordinates
vtkSmartPointer< vtkDoubleArray > GetLongitudeCoordinates() const
Definition: vtkNetCDFCFReader.h:189
vtkRectilinearGrid
a dataset that is topologically regular with variable spacing in the three coordinate directions
Definition: vtkRectilinearGrid.h:57
vtkNetCDFCFReader::vtkDimensionInfo::LoadMetaData
int LoadMetaData(int ncFD)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkNetCDFReader
Definition: vtkNetCDFReader.h:52
vtkNetCDFCFReader::vtkDimensionInfo::DimId
int DimId
Definition: vtkNetCDFCFReader.h:165
VTK_IMAGE_DATA
#define VTK_IMAGE_DATA
Definition: vtkType.h:97
vtkNetCDFCFReader::RequestInformation
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
vtkNetCDFCFReader::vtkNetCDFCFReader
vtkNetCDFCFReader()
vtkStructuredGrid
topologically regular array of data
Definition: vtkStructuredGrid.h:64
vtkSmartPointer< vtkDoubleArray >
vtkNetCDFCFReader
Definition: vtkNetCDFCFReader.h:51
vtkNetCDFCFReader::vtkDependentDimensionInfo::SpecialVariables
vtkSmartPointer< vtkStringArray > SpecialVariables
Definition: vtkNetCDFCFReader.h:205
vtkNetCDFCFReader::Add1DSphericalCoordinates
void Add1DSphericalCoordinates(vtkUnstructuredGrid *unstructuredOutput, const int extent[6])
vtkNetCDFCFReader::IsTimeDimension
int IsTimeDimension(int ncFD, int dimId) override
Determines whether the given variable is a time dimension.
vtkNetCDFCFReader::vtkDimensionInfo::Units
UnitsEnum Units
Definition: vtkNetCDFCFReader.h:168
vtkNetCDFCFReader::vtkDimensionInfo::UNDEFINED_UNITS
@ UNDEFINED_UNITS
Definition: vtkNetCDFCFReader.h:148
vtkNetCDFCFReader::vtkDependentDimensionInfo::GetCellsUnstructured
bool GetCellsUnstructured() const
Definition: vtkNetCDFCFReader.h:185
vtkNetCDFCFReader::vtkDependentDimensionInfo::LatitudeCoordinates
vtkSmartPointer< vtkDoubleArray > LatitudeCoordinates
Definition: vtkNetCDFCFReader.h:204
vtkNetCDFCFReader::SetOutputTypeToImage
void SetOutputTypeToImage()
Definition: vtkNetCDFCFReader.h:97
vtkNetCDFCFReader::vtkDependentDimensionInfo::CellsUnstructured
bool CellsUnstructured
Definition: vtkNetCDFCFReader.h:201
vtkNetCDFCFReader::vtkDimensionInfo::vtkDimensionInfo
vtkDimensionInfo()
Definition: vtkNetCDFCFReader.h:144
vtkNetCDFCFReader::~vtkNetCDFCFReader
~vtkNetCDFCFReader() override
vtkNetCDFCFReader::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
vtkNetCDFCFReader::vtkDependentDimensionInfo::LoadMetaData
int LoadMetaData(int ncFD, int varId, vtkNetCDFCFReader *parent)
vtkX3D::points
@ points
Definition: vtkX3D.h:446
vtkNetCDFCFReader::FakeStructuredCoordinates
void FakeStructuredCoordinates(vtkStructuredGrid *structuredOutput)
vtkNetCDFCFReader::CoordinateType
CoordinateTypesEnum CoordinateType(vtkIntArray *dimensions)
Based on the given dimensions and the current state of the reader, returns how the coordinates should...
vtkNetCDFCFReader::vtkDimensionInfo::GetBounds
vtkSmartPointer< vtkDoubleArray > GetBounds()
Definition: vtkNetCDFCFReader.h:156
vtkNetCDFCFReader::OutputType
int OutputType
Definition: vtkNetCDFCFReader.h:119
vtkNetCDFCFReader::SetOutputTypeToAutomatic
void SetOutputTypeToAutomatic()
Definition: vtkNetCDFCFReader.h:96
vtkNetCDFCFReader::vtkDimensionInfo::SpecialVariables
vtkSmartPointer< vtkStringArray > SpecialVariables
Definition: vtkNetCDFCFReader.h:171
vtkNetCDFCFReader::vtkDimensionInfo::Spacing
double Spacing
Definition: vtkNetCDFCFReader.h:170
vtkNetCDFCFReader::ReadMetaData
int ReadMetaData(int ncFD) override
Interprets the special conventions of COARDS.
vtkNetCDFCFReader::GetTimeValues
vtkSmartPointer< vtkDoubleArray > GetTimeValues(int ncFD, int dimId) override
Given a dimension already determined to be a time dimension (via a call to IsTimeDimension) returns a...
vtkNetCDFCFReader::COORDS_EUCLIDEAN_PSIDED_CELLS
@ COORDS_EUCLIDEAN_PSIDED_CELLS
Definition: vtkNetCDFCFReader.h:239
vtkNetCDFCFReader::Add2DSphericalCoordinates
void Add2DSphericalCoordinates(vtkUnstructuredGrid *unstructuredOutput, const int extent[6])
vtkNetCDFCFReader::vtkDependentDimensionInfo::LongitudeCoordinates
vtkSmartPointer< vtkDoubleArray > LongitudeCoordinates
Definition: vtkNetCDFCFReader.h:203
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:46
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkIntArray
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:46
vtkNetCDFCFReader::vtkDimensionInfo::GetCoordinates
vtkSmartPointer< vtkDoubleArray > GetCoordinates()
Definition: vtkNetCDFCFReader.h:155
vtkNetCDFCFReader::SphericalCoordinates
vtkTypeBool SphericalCoordinates
Definition: vtkNetCDFCFReader.h:114
vtkNetCDFCFReader::vtkDimensionInfo::GetSpecialVariables
vtkSmartPointer< vtkStringArray > GetSpecialVariables() const
Definition: vtkNetCDFCFReader.h:160
vtkNetCDFCFReader::vtkDimensionInfo::TIME_UNITS
@ TIME_UNITS
Definition: vtkNetCDFCFReader.h:149
vtkNetCDFCFReader::VerticalBias
double VerticalBias
Definition: vtkNetCDFCFReader.h:117
vtkNetCDFCFReader::vtkDimensionInfo::GetUnits
UnitsEnum GetUnits() const
Definition: vtkNetCDFCFReader.h:154
vtkNetCDFCFReader::vtkDimensionInfo::GetName
const char * GetName() const
Definition: vtkNetCDFCFReader.h:146
vtkNetCDFCFReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkNetCDFCFReader::vtkDependentDimensionInfo::vtkDependentDimensionInfo
vtkDependentDimensionInfo(int ncFD, int varId, vtkNetCDFCFReader *parent)
vtkNetCDFCFReader::vtkDimensionInfo::GetHasRegularSpacing
bool GetHasRegularSpacing() const
Definition: vtkNetCDFCFReader.h:157
vtkNetCDFCFReader::Add2DRectilinearCoordinates
void Add2DRectilinearCoordinates(vtkUnstructuredGrid *unstructuredOutput, const int extent[6])
vtkNetCDFCFReader::vtkDependentDimensionInfo::LoadBoundsVariable
int LoadBoundsVariable(int ncFD, int varId, vtkDoubleArray *coords)
vtkNetCDFCFReader::vtkDependentDimensionInfo::GetHasBounds
bool GetHasBounds() const
Definition: vtkNetCDFCFReader.h:184
vtkNetCDFCFReader::vtkDimensionInfo::Coordinates
vtkSmartPointer< vtkDoubleArray > Coordinates
Definition: vtkNetCDFCFReader.h:166
vtkNetCDFCFReader::vtkDimensionInfo::Name
vtkStdString Name
Definition: vtkNetCDFCFReader.h:164
vtkNetCDFCFReader::GetUpdateExtentForOutput
void GetUpdateExtentForOutput(vtkDataSet *output, int extent[6]) override
Overridden to retrieve stored extent for unstructured data.
vtkNetCDFCFReader::AddUnstructuredSphericalCoordinates
void AddUnstructuredSphericalCoordinates(vtkUnstructuredGrid *unstructuredOutput, const int extent[6])
vtkNetCDFCFReader::SetOutputType
virtual void SetOutputType(int type)
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
vtkNetCDFCFReader::DependentDimensionInfo
vtkDependentDimensionInfoVector * DependentDimensionInfo
Definition: vtkNetCDFCFReader.h:215
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkNetCDFCFReader::IdentifySphericalCoordinates
virtual void IdentifySphericalCoordinates(vtkIntArray *dimensions, int &longitudeDim, int &latitudeDim, int &verticalDim)
Given the list of dimensions, identify the longitude, latitude, and vertical dimensions.
vtkNetCDFCFReader::New
static vtkNetCDFCFReader * New()
vtkNetCDFCFReader::vtkDependentDimensionInfo::GetLatitudeCoordinates
vtkSmartPointer< vtkDoubleArray > GetLatitudeCoordinates() const
Definition: vtkNetCDFCFReader.h:192
vtkNetCDFCFReader::vtkDimensionInfo::LATITUDE_UNITS
@ LATITUDE_UNITS
Definition: vtkNetCDFCFReader.h:150
vtkNetCDFCFReader::SetOutputTypeToRectilinear
void SetOutputTypeToRectilinear()
Definition: vtkNetCDFCFReader.h:98
vtkNetCDFCFReader::vtkDimensionInfo::vtkDimensionInfo
vtkDimensionInfo(int ncFD, int id)
vtkNetCDFCFReader::vtkDependentDimensionInfo::GridDimensions
vtkSmartPointer< vtkIntArray > GridDimensions
Definition: vtkNetCDFCFReader.h:202
vtkNetCDFCFReader::vtkDimensionInfo::GetSpacing
double GetSpacing() const
Definition: vtkNetCDFCFReader.h:159
vtkNetCDFCFReader::AddRectilinearCoordinates
void AddRectilinearCoordinates(vtkImageData *imageOutput)
Internal methods for setting rectilinear coordinates.
vtkNetCDFCFReader::ExtentForDimensionsAndPiece
void ExtentForDimensionsAndPiece(int pieceNumber, int numberOfPieces, int ghostLevels, int extent[6])
Convenience function that takes piece information and then returns a set of extents to load based on ...
vtkNetCDFCFReader::vtkDimensionInfo
Definition: vtkNetCDFCFReader.h:142
vtkNetCDFCFReader::vtkDependentDimensionInfo::GetValid
bool GetValid() const
Definition: vtkNetCDFCFReader.h:183
vtkNetCDFReader.h
vtkNetCDFCFReader::vtkDependentDimensionInfo
Definition: vtkNetCDFCFReader.h:179
vtkNetCDFCFReader::COORDS_NONUNIFORM_RECTILINEAR
@ COORDS_NONUNIFORM_RECTILINEAR
Definition: vtkNetCDFCFReader.h:233
vtkDoubleArray
dynamic, self-adjusting array of double
Definition: vtkDoubleArray.h:42
vtkNetCDFCFReader::COORDS_2D_SPHERICAL
@ COORDS_2D_SPHERICAL
Definition: vtkNetCDFCFReader.h:236
vtkX3D::extent
@ extent
Definition: vtkX3D.h:345
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:89
vtkNetCDFCFReader::vtkDimensionInfo::UnitsEnum
UnitsEnum
Definition: vtkNetCDFCFReader.h:147
vtkNetCDFCFReader::vtkDependentDimensionInfo::GetGridDimensions
vtkSmartPointer< vtkIntArray > GetGridDimensions() const
Definition: vtkNetCDFCFReader.h:186
vtkStdString
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:41
vtkNetCDFCFReader::COORDS_2D_EUCLIDEAN
@ COORDS_2D_EUCLIDEAN
Definition: vtkNetCDFCFReader.h:235
vtkNetCDFCFReader::COORDS_UNIFORM_RECTILINEAR
@ COORDS_UNIFORM_RECTILINEAR
Definition: vtkNetCDFCFReader.h:232
VTK_UNSTRUCTURED_GRID
#define VTK_UNSTRUCTURED_GRID
Definition: vtkType.h:95
vtkNetCDFCFReader::COORDS_REGULAR_SPHERICAL
@ COORDS_REGULAR_SPHERICAL
Definition: vtkNetCDFCFReader.h:234
vtkNetCDFCFReader::AddUnstructuredRectilinearCoordinates
void AddUnstructuredRectilinearCoordinates(vtkUnstructuredGrid *unstructuredOutput, const int extent[6])
Internal methods for creating unstructured cells.
vtkNetCDFCFReader::FakeRectilinearCoordinates
void FakeRectilinearCoordinates(vtkRectilinearGrid *rectilinearOutput)
vtkNetCDFCFReader::vtkDependentDimensionInfo::GetSpecialVariables
vtkSmartPointer< vtkStringArray > GetSpecialVariables() const
Definition: vtkNetCDFCFReader.h:195
vtkNetCDFCFReader::Add1DSphericalCoordinates
void Add1DSphericalCoordinates(vtkPoints *points, const int extent[6])
Internal methods for setting spherical coordinates.
vtkNetCDFCFReader::COORDS_SPHERICAL_4SIDED_CELLS
@ COORDS_SPHERICAL_4SIDED_CELLS
Definition: vtkNetCDFCFReader.h:238
vtkNetCDFCFReader::Add2DSphericalCoordinates
void Add2DSphericalCoordinates(vtkStructuredGrid *structuredOutput)
vtkNetCDFCFReader::Add1DSphericalCoordinates
void Add1DSphericalCoordinates(vtkStructuredGrid *structuredOutput)
vtkNetCDFCFReader::vtkDimensionInfo::LONGITUDE_UNITS
@ LONGITUDE_UNITS
Definition: vtkNetCDFCFReader.h:151
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
VTK_RECTILINEAR_GRID
#define VTK_RECTILINEAR_GRID
Definition: vtkType.h:94
vtkNetCDFCFReader::Add2DSphericalCoordinates
void Add2DSphericalCoordinates(vtkPoints *points, const int extent[6])
vtkNetCDFCFReader::FindDependentDimensionInfo
vtkDependentDimensionInfo * FindDependentDimensionInfo(vtkIntArray *dims)
vtkNetCDFCFReader::Add1DRectilinearCoordinates
void Add1DRectilinearCoordinates(vtkUnstructuredGrid *unstructuredOutput, const int extent[6])
vtkNetCDFCFReader::COORDS_EUCLIDEAN_4SIDED_CELLS
@ COORDS_EUCLIDEAN_4SIDED_CELLS
Definition: vtkNetCDFCFReader.h:237
vtkNetCDFCFReader::vtkDependentDimensionInfo::LoadCoordinateVariable
int LoadCoordinateVariable(int ncFD, int varId, vtkDoubleArray *coords)
VTK_STRUCTURED_GRID
#define VTK_STRUCTURED_GRID
Definition: vtkType.h:93
vtkNetCDFCFReader::AddStructuredCells
void AddStructuredCells(vtkUnstructuredGrid *unstructuredOutput, const int extent[6])
Internal method for building unstructred cells that match structured cells.
vtkNetCDFCFReader::Add2DRectilinearCoordinates
void Add2DRectilinearCoordinates(vtkStructuredGrid *structuredOutput)
vtkNetCDFCFReader::vtkDimensionInfo::HasRegularSpacing
bool HasRegularSpacing
Definition: vtkNetCDFCFReader.h:169