11 #ifndef vtkPGenericIOReader_h 12 #define vtkPGenericIOReader_h 15 #include "vtkPVVTKExtensionsCosmoToolsModule.h" 24 class vtkGenericIOMetaData;
35 class GenericIOReader;
55 void PrintSelf(ostream& os,
vtkIndent indent)
override;
61 vtkSetStringMacro(FileName);
62 vtkGetStringMacro(FileName);
69 vtkSetStringMacro(XAxisVariableName);
70 vtkGetStringMacro(XAxisVariableName);
77 vtkSetStringMacro(YAxisVariableName);
78 vtkGetStringMacro(YAxisVariableName);
85 vtkSetStringMacro(ZAxisVariableName);
86 vtkGetStringMacro(ZAxisVariableName);
93 vtkSetMacro(GenericIOType,
int);
94 vtkGetMacro(GenericIOType,
int);
112 vtkSetMacro(RankInQuery,
int);
113 vtkGetMacro(RankInQuery,
int);
121 vtkSetMacro(QueryRankNeighbors,
int);
122 vtkGetMacro(QueryRankNeighbors,
int);
130 vtkSetMacro(AppendBlockCoordinates,
bool);
131 vtkBooleanMacro(AppendBlockCoordinates,
bool);
132 vtkGetMacro(AppendBlockCoordinates,
bool);
163 int GetNumberOfPointArrays();
168 const char* GetPointArrayName(
int i);
173 int GetPointArrayStatus(
const char* name);
179 void SetPointArrayStatus(
const char* name,
int status);
187 vtkSetStringMacro(HaloIdVariableName);
188 vtkGetStringMacro(HaloIdVariableName);
214 void SetNumberOfRequestedHaloIds(
vtkIdType numIds);
222 void AddRequestedHaloId(
vtkIdType haloId);
230 void ClearRequestedHaloIds();
258 bool ReaderParametersChanged();
263 gio::GenericIOReader* GetInternalReader();
268 void GetPointFromRawData(
int xType,
void* xBuffer,
int yType,
void* yBuffer,
int zType,
269 void* zBuffer,
vtkIdType idx,
double pnt[3]);
274 void LoadRawVariableData(std::string varName);
284 void LoadCoordinates(
vtkUnstructuredGrid* grid, std::set<vtkIdType>& pointsInSelectedHalos);
289 void LoadData(
vtkUnstructuredGrid* grid,
const std::set<vtkIdType>& pointsInSelectedHalos);
294 void FindRankNeighbors();
299 static void SelectionModifiedCallback(
300 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
gio::GenericIOReader * Reader
vtkMultiProcessController * Controller
char * HaloIdVariableName
vtkCallbackCommand * SelectionObserver
vtkGenericIOMetaData * MetaData
bool AppendBlockCoordinates
vtkStringArray * ArrayList
vtkDataArraySelection * PointDataArraySelection
Creates a vtkUnstructuredGrid instance from a GenericIO file.