20 #ifndef GEOS_MESH_GENERATORS_VTKHIERARCHICALDATASOURCE_HPP
21 #define GEOS_MESH_GENERATORS_VTKHIERARCHICALDATASOURCE_HPP
26 #include <vtkSmartPointer.h>
27 #include <vtkDataSet.h>
28 #include <vtkDataAssembly.h>
29 #include <vtkPartitionedDataSet.h>
30 #include <vtkPartitionedDataSetCollection.h>
56 static string catalogName() {
return "VTKHierarchicalDataSource"; }
70 vtkSmartPointer< vtkPartitionedDataSet >
search(
string const & path );
85 vtkSmartPointer< vtkDataAssembly > m_dataAssembly;
88 vtkSmartPointer< vtkPartitionedDataSetCollection > m_collection;
The ExternalDataSourceBase class provides an abstract base class implementation for different mesh ty...
This class provides an API to access VTKPartitionedDataSetCollection through a vtkDataAssembly.
void open() override
Opens a vtkPartitionedDataSetCollection and gets the colletion and the associated dataAssembly.
VTKHierarchicalDataSource(string const &name, Group *const parent)
Main constructor for VTKHierarchicalDataSource base class.
static string catalogName()
Return the name of the MeshGenerator in object catalog.
vtkSmartPointer< vtkPartitionedDataSet > search(string const &path)
Performs a search in the dataAssembly to find a node of PartitionedDataSets.
constexpr char const filePathString[]
constexpr variable to hold name for inserting the file path into the xml file.
Structure to hold scoped key names.