Commit 54c01d0b authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'add-vmo-const-mesh-getter' into 'master'

Add VolumeMeshObject const mesh getter

See merge request !6
parents afca71d4 16c586a4
......@@ -122,6 +122,7 @@ public:
/// return a pointer to the mesh
MeshT* mesh();
const MeshT* mesh() const;
/** return a full copy of this object ( All scenegraph nodes will be created )
* but the object will not be a part of the object tree.
......@@ -216,6 +216,11 @@ MeshT* VolumeMeshObject<MeshT>::mesh() {
return mesh_.get();
template<class MeshT>
const MeshT* VolumeMeshObject<MeshT>::mesh() const {
return mesh_.get();
/** Updates the visualization of the object. Calls VolumeMeshObject::updateGeometry,
* VolumeMeshObject::updateTopology, VolumeMeshObject::updateSelection and
* VolumeMeshObject::updateModelingRegions.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment