35 #ifndef vtkUnstructuredPOPReader_h 36 #define vtkUnstructuredPOPReader_h 46 class vtkUnstructuredPOPReaderInternal;
47 class VTKPointIterator;
61 vtkSetStringMacro(FileName);
62 vtkGetStringMacro(FileName);
71 vtkSetVector3Macro(Stride,
int);
72 vtkGetVector3Macro(Stride,
int);
81 vtkSetVector6Macro(VOI,
int);
82 vtkGetVector6Macro(VOI,
int);
89 virtual int GetNumberOfVariableArrays();
90 virtual const char* GetVariableArrayName(
int idx);
91 virtual int GetVariableArrayStatus(
const char* name);
92 virtual void SetVariableArrayStatus(
const char* name,
int status);
100 vtkSetMacro(Radius,
double);
101 vtkGetMacro(Radius,
double);
110 vtkGetMacro(VectorGrid,
int);
119 vtkSetMacro(VerticalVelocity,
bool);
120 vtkGetMacro(VerticalVelocity,
bool);
129 static void SelectionModifiedCallback(
130 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
132 static void EventCallback(
vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
146 vtkSetStringMacro(OpenedFileName);
198 int* subExtent,
int numberOfGhostLevels,
int wrapped,
int piece,
int numberOfPieces);
212 bool ReadMetaData(
int wholeExtent[6]);
223 size_t* count, ptrdiff_t* rStride,
const char* arrayName);
230 int numberOfGhostLevels,
int latlonFileId);
237 void CommunicateParallelVerticalVelocity(
int* wholeExtent,
int* subExtent,
238 int numberOfGhostLevels, VTKPointIterator& pointIterator,
double* w);
248 int GetPointOwnerPiece(
int iIndex,
int jIndex,
int kKindex,
int numberOfPieces,
249 int numberOfGhostLevels,
int* wholeExtent);
258 void GetPiecesNeedingPoint(
int iIndex,
int jIndex,
int kKindex,
int numberOfPieces,
259 int numberOfGhostLevels,
int* wholeExtent,
vtkIdList* pieceIds);
265 bool GetExtentInformation(
266 int piece,
int numberOfPieces,
int numberOfGhostLevels,
int* wholeExtent,
int* subExtent);
274 bool BuildGhostInformation(
vtkUnstructuredGrid* grid,
int numberOfGhostLevels,
int* wholeExtent,
275 int* subExtent,
int wrapped,
int piece,
int numberOfPieces);
281 vtkUnstructuredPOPReaderInternal* Internals;
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
bool SubsettingXMax
State variables so that we know whether or not we are only reading in part of the grid...
bool SubsettingXMin
State variables so that we know whether or not we are only reading in part of the grid...
vtkCallbackCommand * SelectionObserver
char * FileName
The name of the file to be opened.
static vtkUnstructuredGridAlgorithm * New()
char * OpenedFileName
If a file is opened, the file name of the opened file.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
double Radius
The radius of the sphere to be outputted in meters.
bool VerticalVelocity
If it is a vector grid (i.e.
int NCDFFD
The NetCDF file descriptor.
#define VTKPVVTKEXTENSIONSIOGENERAL_EXPORT
int VectorGrid
Specify whether the grid points are at the vector field (U_LAT and U_LON) locations or the scalar fie...
bool ReducedHeightResolution
State variables so that we know whether or not we are only reading in part of the grid...
void operator=(const vtkObjectBase &)