Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
Plugin-Laplace
Commits
7ee4af85
Commit
7ee4af85
authored
May 08, 2020
by
Jan
Browse files
Fixed remaining QElapsedTimer warnings
parent
cc6949c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
LaplacePlugin.cc
View file @
7ee4af85
...
...
@@ -48,6 +48,8 @@
#include
<ObjectTypes/PolyMesh/PolyMesh.hh>
#include
<ObjectTypes/TriangleMesh/TriangleMesh.hh>
#include
<QElapsedTimer>
#ifdef USE_OPENMP
#endif
...
...
@@ -112,7 +114,7 @@ void LaplaceLengthPlugin::computeLaplaceLength(MeshT* _mesh) {
_mesh
->
add_property
(
laplace_length_property
,
UNIFORM_LAPLACE_NAME
);
QTime
time
;
Q
Elapsed
Time
r
time
;
time
.
start
();
std
::
vector
<
typename
MeshT
::
VertexHandle
>
handles
;
handles
.
reserve
(
_mesh
->
n_vertices
());
...
...
@@ -157,7 +159,7 @@ void LaplaceLengthPlugin::computeLaplaceSquaredLength(MeshT* _mesh) {
if
(
!
_mesh
->
get_property_handle
(
laplace_squared
,
UNIFORM_LAPLACE_SQUARED_NAME
))
_mesh
->
add_property
(
laplace_squared
,
UNIFORM_LAPLACE_SQUARED_NAME
);
QTime
time
;
Q
Elapsed
Time
r
time
;
time
.
start
();
std
::
vector
<
typename
MeshT
::
VertexHandle
>
handles
;
handles
.
reserve
(
_mesh
->
n_vertices
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment