24 #ifndef vtkUnstructuredPOPReader_h 25 #define vtkUnstructuredPOPReader_h 35 class vtkUnstructuredPOPReaderInternal;
36 class VTKPointIterator;
50 vtkSetStringMacro(FileName);
51 vtkGetStringMacro(FileName);
60 vtkSetVector3Macro(Stride,
int);
61 vtkGetVector3Macro(Stride,
int);
70 vtkSetVector6Macro(VOI,
int);
71 vtkGetVector6Macro(VOI,
int);
78 virtual int GetNumberOfVariableArrays();
79 virtual const char* GetVariableArrayName(
int idx);
80 virtual int GetVariableArrayStatus(
const char* name);
81 virtual void SetVariableArrayStatus(
const char* name,
int status);
89 vtkSetMacro(Radius,
double);
90 vtkGetMacro(Radius,
double);
99 vtkGetMacro(VectorGrid,
int);
108 vtkSetMacro(VerticalVelocity,
bool);
109 vtkGetMacro(VerticalVelocity,
bool);
118 static void SelectionModifiedCallback(
119 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
121 static void EventCallback(
vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
135 vtkSetStringMacro(OpenedFileName);
187 int* subExtent,
int numberOfGhostLevels,
int wrapped,
int piece,
int numberOfPieces);
201 bool ReadMetaData(
int wholeExtent[6]);
212 size_t* count, ptrdiff_t* rStride,
const char* arrayName);
219 int numberOfGhostLevels,
int latlonFileId);
226 void CommunicateParallelVerticalVelocity(
int* wholeExtent,
int* subExtent,
227 int numberOfGhostLevels, VTKPointIterator& pointIterator,
double* w);
237 int GetPointOwnerPiece(
int iIndex,
int jIndex,
int kKindex,
int numberOfPieces,
238 int numberOfGhostLevels,
int* wholeExtent);
247 void GetPiecesNeedingPoint(
int iIndex,
int jIndex,
int kKindex,
int numberOfPieces,
248 int numberOfGhostLevels,
int* wholeExtent,
vtkIdList* pieceIds);
254 bool GetExtentInformation(
255 int piece,
int numberOfPieces,
int numberOfGhostLevels,
int* wholeExtent,
int* subExtent);
263 bool BuildGhostInformation(
vtkUnstructuredGrid* grid,
int numberOfGhostLevels,
int* wholeExtent,
264 int* subExtent,
int wrapped,
int piece,
int numberOfPieces);
270 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 &)