 |
VTK
9.0.1
|
Go to the documentation of this file.
33 #ifndef vtkADIOS2CoreImageReader_h
34 #define vtkADIOS2CoreImageReader_h
43 #include "vtkSetGet.h"
46 #include "vtkIOADIOS2Module.h"
68 using Params = std::map<std::string, std::string>;
98 vtkSetVector3Macro(Origin,
double);
99 vtkGetVector3Macro(Origin,
double);
107 vtkSetVector3Macro(Spacing,
double);
108 vtkGetVector3Macro(Spacing,
double);
127 vtkSetMacro(DimensionArrayAsCell,
bool);
128 vtkGetMacro(DimensionArrayAsCell,
bool);
129 vtkBooleanMacro(DimensionArrayAsCell,
bool);
172 vtkSetMacro(IsColumnMajor,
bool);
173 vtkGetMacro(IsColumnMajor,
bool);
174 vtkBooleanMacro(IsColumnMajor,
bool);
242 template <
typename T>
246 template <
typename T,
template <
typename...>
class U>
251 template <
typename T>
270 struct vtkADIOS2CoreImageReaderImpl;
271 std::unique_ptr<vtkADIOS2CoreImageReaderImpl>
Impl;
void SetActiveScalar(const std::pair< std::string, VarType > &inqVars)
Get/Set the active scalar on each image block.
int CanReadFile(const std::string &name)
Test whether or not a given file should even be attempted for use with this reader.
virtual int CanReadFile(const char *filename)
vtkSmartPointer< vtkAbstractArray > PopulateDataArrayFromVar(const std::string &varName, size_t blockIndex)
int GetNumberOfArrays()
Get information about arrays.
void SetArrayStatus(const char *name, int status)
Set the array that should be read in.
vtkADIOS2CoreImageReader()
bool DimensionArrayAsCell
std::map< std::string, Params > StringToParams
std::string DimensionArray
represent and manipulate attribute data in a dataset
void ReadImageBlocks(vtkMultiBlockDataSet *mbds)
StringToParams & GetAvailableAttributes()
Get the available attributes.
Superclass for algorithms that produce only data object as output.
vtkSmartPointer< vtkMultiProcessController > Controller
const char * GetArrayName(int index)
void SetController(vtkMultiProcessController *)
Set the MPI controller.
std::unique_ptr< vtkADIOS2CoreImageReaderImpl > Impl
void ConvertArraySelectionToInqVar()
std::string FetchTypeStringFromVarName(const std::string &name)
const std::pair< std::string, VarType > & GetActiveScalar() const
bool InitWorkDistribution()
abstract superclass for arrays of numeric data
void UpdateDimensionFromDimensionArray()
Composite dataset that organizes datasets into blocks.
virtual int RequestData(vtkInformation *request, vtkInformationVector **input, vtkInformationVector *output) override
represent and manipulate fields of data
std::pair< std::string, VarType > & GetActiveScalar()
void CalculateWorkDistribution(const std::string &varName)
std::string TimeStepArray
Multiprocessing communication superclass.
topologically and geometrically regular array of data
a simple class to control print indentation
object to represent cell connectivity
bool OpenAndReadMetaData()
std::map< std::string, std::string > Params
StringToParams & GetAvilableVariables()
Get the available variables.
vtkStringArray * GetAllDimensionArrays()
Get/Set the name of the array to deduce the dimension of vtkImageData.
const StringToParams & GetAvailableAttributes() const
abstract class to specify dataset behavior
int RequestDataObjectInternal(vtkInformationVector *)
std::vector< std::pair< std::string, VarType > > InquireVariablesType
~vtkADIOS2CoreImageReader() override
static vtkADIOS2CoreImageReader * New(void)
vtkStringArray * GetAllTimeStepArrays()
a vtkAbstractArray subclass for strings
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **input, vtkInformationVector *output) override
const StringToParams & GetAvilableVariables() const
general representation of visualization data
void SetFileName(const char *filename)
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
The main interface which triggers the reader to start.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetArrayStatus(const char *name)
void GatherTimeStepsFromADIOSTimeArray()