30 #ifndef vtkADIOS2CoreImageReader_h 31 #define vtkADIOS2CoreImageReader_h 40 #include "vtkSetGet.h" 43 #include "vtkIOADIOS2Module.h" 65 using Params = std::map<std::string, std::string>;
78 virtual int CanReadFile(
const char* filename);
88 void SetFileName(
const char* filename);
95 vtkSetVector3Macro(Origin,
double);
96 vtkGetVector3Macro(Origin,
double);
104 vtkSetVector3Macro(Spacing,
double);
105 vtkGetVector3Macro(Spacing,
double);
124 vtkSetMacro(DimensionArrayAsCell,
bool);
125 vtkGetMacro(DimensionArrayAsCell,
bool);
126 vtkBooleanMacro(DimensionArrayAsCell,
bool);
149 int GetNumberOfArrays();
150 const char* GetArrayName(
int index);
157 void SetArrayStatus(
const char*
name,
int status);
158 int GetArrayStatus(
const char*
name);
169 vtkSetMacro(IsColumnMajor,
bool);
170 vtkGetMacro(IsColumnMajor,
bool);
171 vtkBooleanMacro(IsColumnMajor,
bool);
178 void SetActiveScalar(
const std::pair<std::string, VarType>& inqVars);
179 std::pair<std::string, VarType>& GetActiveScalar();
180 const std::pair<std::string, VarType>& GetActiveScalar()
const;
222 void UpdateDimensionFromDimensionArray();
225 bool OpenAndReadMetaData();
228 void ConvertArraySelectionToInqVar();
231 bool InitWorkDistribution();
236 bool GatherTimeSteps();
239 template <
typename T>
240 void CalculateWorkDistribution(
const std::string& varName);
243 template <
typename T,
template <
typename...>
class U>
248 template <
typename T>
249 void GatherTimeStepsFromADIOSTimeArray();
267 struct vtkADIOS2CoreImageReaderImpl;
268 std::unique_ptr<vtkADIOS2CoreImageReaderImpl>
Impl;
abstract class to specify dataset behavior
static vtkDataObjectAlgorithm * New()
vtkTypeBool ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
a vtkAbstractArray subclass for strings
a simple class to control print indentation
bool DimensionArrayAsCell
topologically and geometrically regular array of data
std::vector< std::pair< std::string, VarType > > InquireVariablesType
abstract superclass for arrays of numeric data
std::map< std::string, Params > StringToParams
represent and manipulate attribute data in a dataset
std::string DimensionArray
Superclass for algorithms that produce only data object as output.
object to represent cell connectivity
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Composite dataset that organizes datasets into blocks.
std::unique_ptr< vtkADIOS2CoreImageReaderImpl > Impl
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkSmartPointer< vtkMultiProcessController > Controller
std::map< std::string, std::string > Params
general representation of visualization data
std::string TimeStepArray
represent and manipulate fields of data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Multiprocessing communication superclass.