24 #ifndef vtkUnstructuredPOPReader_h
25 #define vtkUnstructuredPOPReader_h
27 #include "vtkPVVTKExtensionsIOGeneralModule.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;