Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Type-OpenMesh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenFlipper-Free
Type-OpenMesh
Merge requests
!3
add const mesh() getter for MeshObject
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
add const mesh() getter for MeshObject
const_mesh_getter
into
master
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Janis Born
requested to merge
const_mesh_getter
into
master
6 years ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
6fd2a19e
1 commit,
6 years ago
2 files
+
12
−
1
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
ObjectTypes/MeshObject/MeshObjectT.cc
+
9
−
1
Options
@@ -343,7 +343,7 @@
@@ -343,7 +343,7 @@
// Content
// Content
// ===============================================================================
// ===============================================================================
/** Get a pointer to the objects mesh.
/** Get a pointer to the object
'
s mesh.
* @return Pointer to the mesh
* @return Pointer to the mesh
*/
*/
template
<
class
MeshT
>
template
<
class
MeshT
>
@@ -351,6 +351,14 @@
@@ -351,6 +351,14 @@
return
mesh_
;
return
mesh_
;
}
}
/** Get a const pointer to the object's mesh.
* @return Const pointer to the mesh
*/
template
<
class
MeshT
>
const
MeshT
*
MeshObject
<
MeshT
>::
mesh
()
const
{
return
mesh_
;
}
/** Updates the visualization of the object. Calls MeshObject::updateGeometry,
/** Updates the visualization of the object. Calls MeshObject::updateGeometry,
* MeshObject::updateTopology, MeshObject::updateSelection and
* MeshObject::updateTopology, MeshObject::updateSelection and
* MeshObject::updateModelingRegions.
* MeshObject::updateModelingRegions.
Loading