Owns the VTK actor for a single mesh Block. More...
#include <cl_VTK_MeshView.hpp>
Public Member Functions | |
| BlockActor (Points aPoints, Map< id_t, vtkIdType > &aNodeMap, Map< id_t, vtkIdType > &aElementMap, mesh::Block *aBlock) | |
| ~BlockActor ()=default | |
| mesh::Block * | block () |
| Actor | actor () |
| The VTK actor; ownership stays with this wrapper. | |
Owns the VTK actor for a single mesh Block.
Composition, not inheritance: the wrapper HOLDS a vtkActor (lifetime managed by the smart pointer) rather than being one. The block's volume elements become an unstructured grid, surface-extracted by a vtkDataSetMapper. The grid shares the parent MeshView's point set; only cell connectivity is stored here.
| belfem::vtk::BlockActor::BlockActor | ( | Points | aPoints, |
| Map< id_t, vtkIdType > & | aNodeMap, | ||
| Map< id_t, vtkIdType > & | aElementMap, | ||
| mesh::Block * | aBlock ) |
|
default |
|
inline |
The VTK actor; ownership stays with this wrapper.
|
inline |