11 #ifndef vtkPGenericIOMultiBlockReader_h 12 #define vtkPGenericIOMultiBlockReader_h 15 #include "vtkPVVTKExtensionsCosmoToolsModule.h" 30 class GenericIOReader;
51 void PrintSelf(ostream& os,
vtkIndent indent)
override;
57 vtkSetStringMacro(XAxisVariableName);
58 vtkGetStringMacro(XAxisVariableName);
65 vtkSetStringMacro(YAxisVariableName);
66 vtkGetStringMacro(YAxisVariableName);
73 vtkSetStringMacro(ZAxisVariableName);
74 vtkGetStringMacro(ZAxisVariableName);
81 vtkSetStringMacro(FileName);
82 vtkGetStringMacro(FileName);
89 vtkSetMacro(GenericIOType,
int);
90 vtkGetMacro(GenericIOType,
int);
130 int GetNumberOfPointArrays();
135 const char* GetPointArrayName(
int i);
140 int GetPointArrayStatus(
const char* name);
145 void SetPointArrayStatus(
const char* name,
int status);
153 vtkSetStringMacro(HaloIdVariableName);
154 vtkGetStringMacro(HaloIdVariableName);
180 void SetNumberOfRequestedHaloIds(
vtkIdType numIds);
188 void AddRequestedHaloId(
vtkIdType haloId);
196 void ClearRequestedHaloIds();
230 gio::GenericIOReader* GetInternalReader();
232 bool ReaderParametersChanged();
236 void LoadRawVariableDataForBlock(
const std::string& varName,
int blockId);
238 void LoadRawDataForBlock(
int blockId);
240 void GetPointFromRawData(
int xType,
void* xBuffer,
int yType,
void* yBuffer,
int zType,
241 void* zBuffer,
vtkIdType id,
double point[3]);
243 void LoadCoordinatesForBlock(
246 void LoadDataArraysForBlock(
254 static void SelectionModifiedCallback(
255 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
265 class vtkGenericIOMultiBlockMetaData;
266 vtkGenericIOMultiBlockMetaData* MetaData;
vtkStringArray * ArrayList
vtkCallbackCommand * SelectionObserver
vtkDataArraySelection * PointDataArraySelection
Creates a vtkMultiBlockDataSet from a GenericIO file.
vtkMultiProcessController * Controller
char * HaloIdVariableName
gio::GenericIOReader * Reader