GEOSX
Public Member Functions | List of all members
geos::vtk::AllMeshes Class Reference

Gathers all the vtk meshes together. More...

#include <VTKUtilities.hpp>

Public Member Functions

 AllMeshes (vtkSmartPointer< vtkDataSet > const &main, std::map< string, vtkSmartPointer< vtkDataSet > > const &faceBlocks)
 Builds the compound from values. More...
 
vtkSmartPointer< vtkDataSet > getMainMesh ()
 
std::map< string, vtkSmartPointer< vtkDataSet > > & getFaceBlocks ()
 
void setMainMesh (vtkSmartPointer< vtkDataSet > main)
 Defines the main 3d mesh for the simulation. More...
 
void setFaceBlocks (std::map< string, vtkSmartPointer< vtkDataSet > > const &faceBlocks)
 Defines the face blocks/fractures. More...
 

Detailed Description

Gathers all the vtk meshes together.

Definition at line 72 of file VTKUtilities.hpp.

Constructor & Destructor Documentation

◆ AllMeshes()

geos::vtk::AllMeshes::AllMeshes ( vtkSmartPointer< vtkDataSet > const &  main,
std::map< string, vtkSmartPointer< vtkDataSet > > const &  faceBlocks 
)
inline

Builds the compound from values.

Parameters
mainThe main 3d mesh (the matrix).
faceBlocksThe fractures meshes.

Definition at line 82 of file VTKUtilities.hpp.

Member Function Documentation

◆ getFaceBlocks()

std::map< string, vtkSmartPointer< vtkDataSet > >& geos::vtk::AllMeshes::getFaceBlocks ( )
inline
Returns
a mapping linking the name of each face block to its mesh.

Definition at line 99 of file VTKUtilities.hpp.

◆ getMainMesh()

vtkSmartPointer< vtkDataSet > geos::vtk::AllMeshes::getMainMesh ( )
inline
Returns
the main 3d mesh for the simulation.

Definition at line 91 of file VTKUtilities.hpp.

◆ setFaceBlocks()

void geos::vtk::AllMeshes::setFaceBlocks ( std::map< string, vtkSmartPointer< vtkDataSet > > const &  faceBlocks)
inline

Defines the face blocks/fractures.

Parameters
faceBlocksA map which connects each name of the face block to its mesh.

Definition at line 117 of file VTKUtilities.hpp.

◆ setMainMesh()

void geos::vtk::AllMeshes::setMainMesh ( vtkSmartPointer< vtkDataSet >  main)
inline

Defines the main 3d mesh for the simulation.

Parameters
mainThe new 3d mesh.

Definition at line 108 of file VTKUtilities.hpp.


The documentation for this class was generated from the following file: