Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
Plugin-PropertyVis
Commits
46c2dd2a
Commit
46c2dd2a
authored
Feb 07, 2019
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence some cppcheck warnings
parent
4ba6e989
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
15 additions
and
15 deletions
+15
-15
OpenMesh/OMPropertyVisualizerBoolean.hh
OpenMesh/OMPropertyVisualizerBoolean.hh
+1
-1
OpenMesh/OMPropertyVisualizerBooleanT.cc
OpenMesh/OMPropertyVisualizerBooleanT.cc
+1
-1
OpenMesh/OMPropertyVisualizerDouble.hh
OpenMesh/OMPropertyVisualizerDouble.hh
+1
-1
OpenMesh/OMPropertyVisualizerDoubleT.cc
OpenMesh/OMPropertyVisualizerDoubleT.cc
+1
-1
OpenMesh/OMPropertyVisualizerInteger.hh
OpenMesh/OMPropertyVisualizerInteger.hh
+1
-1
OpenMesh/OMPropertyVisualizerIntegerT.cc
OpenMesh/OMPropertyVisualizerIntegerT.cc
+1
-1
OpenMesh/OMPropertyVisualizerSkinWeights.hh
OpenMesh/OMPropertyVisualizerSkinWeights.hh
+1
-1
OpenMesh/OMPropertyVisualizerSkinWeightsT.cc
OpenMesh/OMPropertyVisualizerSkinWeightsT.cc
+1
-1
OpenMesh/OMPropertyVisualizerT.cc
OpenMesh/OMPropertyVisualizerT.cc
+1
-1
OpenMesh/OMPropertyVisualizerVector.hh
OpenMesh/OMPropertyVisualizerVector.hh
+1
-1
OpenMesh/OMPropertyVisualizerVector2.hh
OpenMesh/OMPropertyVisualizerVector2.hh
+1
-1
OpenMesh/OMPropertyVisualizerVector2T.cc
OpenMesh/OMPropertyVisualizerVector2T.cc
+1
-1
OpenMesh/OMPropertyVisualizerVectorFieldDifference.hh
OpenMesh/OMPropertyVisualizerVectorFieldDifference.hh
+1
-1
OpenMesh/OMPropertyVisualizerVectorFieldDifferenceT.cc
OpenMesh/OMPropertyVisualizerVectorFieldDifferenceT.cc
+1
-1
OpenMesh/OMPropertyVisualizerVectorT.cc
OpenMesh/OMPropertyVisualizerVectorT.cc
+1
-1
No files found.
OpenMesh/OMPropertyVisualizerBoolean.hh
View file @
46c2dd2a
...
...
@@ -54,7 +54,7 @@ template <typename MeshT>
class
OMPropertyVisualizerBoolean
:
public
OMPropertyVisualizer
<
MeshT
>
{
public:
OMPropertyVisualizerBoolean
(
MeshT
*
_mesh
,
int
_objectID
,
PropertyInfo
_propertyInfo
);
OMPropertyVisualizerBoolean
(
MeshT
*
_mesh
,
int
_objectID
,
const
PropertyInfo
&
_propertyInfo
);
virtual
~
OMPropertyVisualizerBoolean
(){}
protected:
...
...
OpenMesh/OMPropertyVisualizerBooleanT.cc
View file @
46c2dd2a
...
...
@@ -47,7 +47,7 @@
#include <ACG/Utils/ColorConversion.hh>
template
<
typename
MeshT
>
OMPropertyVisualizerBoolean
<
MeshT
>::
OMPropertyVisualizerBoolean
(
MeshT
*
_mesh
,
int
_objectID
,
PropertyInfo
_propertyInfo
)
OMPropertyVisualizerBoolean
<
MeshT
>::
OMPropertyVisualizerBoolean
(
MeshT
*
_mesh
,
int
_objectID
,
const
PropertyInfo
&
_propertyInfo
)
:
OMPropertyVisualizer
<
MeshT
>
(
_mesh
,
_objectID
,
_propertyInfo
)
{
if
(
PropertyVisualizer
::
widget
)
delete
PropertyVisualizer
::
widget
;
...
...
OpenMesh/OMPropertyVisualizerDouble.hh
View file @
46c2dd2a
...
...
@@ -59,7 +59,7 @@ template <typename MeshT>
class
OMPropertyVisualizerDouble
:
public
OMPropertyVisualizer
<
MeshT
>
{
public:
OMPropertyVisualizerDouble
(
MeshT
*
_mesh
,
int
_objectID
,
PropertyInfo
_propertyInfo
);
OMPropertyVisualizerDouble
(
MeshT
*
_mesh
,
int
_objectID
,
const
PropertyInfo
&
_propertyInfo
);
virtual
~
OMPropertyVisualizerDouble
(){}
protected:
...
...
OpenMesh/OMPropertyVisualizerDoubleT.cc
View file @
46c2dd2a
...
...
@@ -47,7 +47,7 @@
#include "OMPropertyVisualizerDouble.hh"
template
<
typename
MeshT
>
OMPropertyVisualizerDouble
<
MeshT
>::
OMPropertyVisualizerDouble
(
MeshT
*
_mesh
,
int
_objectID
,
PropertyInfo
_propertyInfo
)
OMPropertyVisualizerDouble
<
MeshT
>::
OMPropertyVisualizerDouble
(
MeshT
*
_mesh
,
int
_objectID
,
const
PropertyInfo
&
_propertyInfo
)
:
OMPropertyVisualizer
<
MeshT
>
(
_mesh
,
_objectID
,
_propertyInfo
)
{
if
(
PropertyVisualizer
::
widget
)
delete
PropertyVisualizer
::
widget
;
...
...
OpenMesh/OMPropertyVisualizerInteger.hh
View file @
46c2dd2a
...
...
@@ -56,7 +56,7 @@ template <typename MeshT, typename T>
class
OMPropertyVisualizerInteger
:
public
OMPropertyVisualizer
<
MeshT
>
{
public:
OMPropertyVisualizerInteger
(
MeshT
*
_mesh
,
int
_objectID
,
PropertyInfo
_propertyInfo
,
bool
isUnsigned
);
OMPropertyVisualizerInteger
(
MeshT
*
_mesh
,
int
_objectID
,
const
PropertyInfo
&
_propertyInfo
,
bool
isUnsigned
);
virtual
~
OMPropertyVisualizerInteger
(){}
protected:
...
...
OpenMesh/OMPropertyVisualizerIntegerT.cc
View file @
46c2dd2a
...
...
@@ -48,7 +48,7 @@
#include "OMPropertyVisualizerInteger.hh"
template
<
typename
MeshT
,
typename
T
>
OMPropertyVisualizerInteger
<
MeshT
,
T
>::
OMPropertyVisualizerInteger
(
MeshT
*
_mesh
,
int
_objectID
,
PropertyInfo
_propertyInfo
,
bool
isUnsigned
)
OMPropertyVisualizerInteger
<
MeshT
,
T
>::
OMPropertyVisualizerInteger
(
MeshT
*
_mesh
,
int
_objectID
,
const
PropertyInfo
&
_propertyInfo
,
bool
isUnsigned
)
:
OMPropertyVisualizer
<
MeshT
>
(
_mesh
,
_objectID
,
_propertyInfo
)
{
if
(
PropertyVisualizer
::
widget
)
delete
PropertyVisualizer
::
widget
;
...
...
OpenMesh/OMPropertyVisualizerSkinWeights.hh
View file @
46c2dd2a
...
...
@@ -58,7 +58,7 @@ template <typename MeshT>
class
OMPropertyVisualizerSkinWeights
:
public
OMPropertyVisualizer
<
MeshT
>
{
public:
OMPropertyVisualizerSkinWeights
(
MeshT
*
_mesh
,
int
_objectID
,
PropertyInfo
_propertyInfo
);
OMPropertyVisualizerSkinWeights
(
MeshT
*
_mesh
,
int
_objectID
,
const
PropertyInfo
&
_propertyInfo
);
virtual
~
OMPropertyVisualizerSkinWeights
(){}
protected:
...
...
OpenMesh/OMPropertyVisualizerSkinWeightsT.cc
View file @
46c2dd2a
...
...
@@ -49,7 +49,7 @@
#include "OMPropertyVisualizerSkinWeights.hh"
template
<
typename
MeshT
>
OMPropertyVisualizerSkinWeights
<
MeshT
>::
OMPropertyVisualizerSkinWeights
(
MeshT
*
_mesh
,
int
_objectID
,
PropertyInfo
_propertyInfo
)
OMPropertyVisualizerSkinWeights
<
MeshT
>::
OMPropertyVisualizerSkinWeights
(
MeshT
*
_mesh
,
int
_objectID
,
const
PropertyInfo
&
_propertyInfo
)
:
OMPropertyVisualizer
<
MeshT
>
(
_mesh
,
_objectID
,
_propertyInfo
)
{
if
(
PropertyVisualizer
::
widget
)
delete
PropertyVisualizer
::
widget
;
...
...
OpenMesh/OMPropertyVisualizerT.cc
View file @
46c2dd2a
...
...
@@ -51,7 +51,7 @@
namespace
{
template
<
typename
EntityType
,
typename
Handle
,
typename
MeshT
>
QString
getPropertyText__
(
Handle
handle
,
MeshT
mesh
,
PropertyInfo
propInfo
)
QString
getPropertyText__
(
Handle
handle
,
MeshT
mesh
,
const
PropertyInfo
&
propInfo
)
{
EntityType
prop
;
...
...
OpenMesh/OMPropertyVisualizerVector.hh
View file @
46c2dd2a
...
...
@@ -60,7 +60,7 @@ template <typename MeshT>
class
OMPropertyVisualizerVector
:
public
OMPropertyVisualizer
<
MeshT
>
{
public:
OMPropertyVisualizerVector
(
MeshT
*
_mesh
,
int
_objectID
,
PropertyInfo
_propertyInfo
);
OMPropertyVisualizerVector
(
MeshT
*
_mesh
,
int
_objectID
,
const
PropertyInfo
&
_propertyInfo
);
virtual
~
OMPropertyVisualizerVector
(){
clear
();}
virtual
void
clear
()
override
;
...
...
OpenMesh/OMPropertyVisualizerVector2.hh
View file @
46c2dd2a
...
...
@@ -60,7 +60,7 @@ template <typename MeshT, typename VectorType>
class
OMPropertyVisualizerVector2
:
public
OMPropertyVisualizer
<
MeshT
>
{
public:
OMPropertyVisualizerVector2
(
MeshT
*
_mesh
,
int
_objectID
,
PropertyInfo
_propertyInfo
);
OMPropertyVisualizerVector2
(
MeshT
*
_mesh
,
int
_objectID
,
const
PropertyInfo
&
_propertyInfo
);
virtual
~
OMPropertyVisualizerVector2
(){
clear
();}
void
clear
()
override
;
...
...
OpenMesh/OMPropertyVisualizerVector2T.cc
View file @
46c2dd2a
...
...
@@ -47,7 +47,7 @@
#include <ACG/Utils/ColorConversion.hh>
template
<
typename
MeshT
,
typename
VectorType
>
OMPropertyVisualizerVector2
<
MeshT
,
VectorType
>::
OMPropertyVisualizerVector2
(
MeshT
*
_mesh
,
int
_objectID
,
PropertyInfo
_propertyInfo
)
OMPropertyVisualizerVector2
<
MeshT
,
VectorType
>::
OMPropertyVisualizerVector2
(
MeshT
*
_mesh
,
int
_objectID
,
const
PropertyInfo
&
_propertyInfo
)
:
OMPropertyVisualizer
<
MeshT
>
(
_mesh
,
_objectID
,
_propertyInfo
)
{
if
(
PropertyVisualizer
::
widget
)
delete
PropertyVisualizer
::
widget
;
...
...
OpenMesh/OMPropertyVisualizerVectorFieldDifference.hh
View file @
46c2dd2a
...
...
@@ -60,7 +60,7 @@ template <typename MeshT>
class
OMPropertyVisualizerVectorFieldDifference
:
public
OMPropertyVisualizer
<
MeshT
>
{
public:
OMPropertyVisualizerVectorFieldDifference
(
MeshT
*
_mesh
,
int
_objectID
,
PropertyInfo
_propertyInfo1
,
PropertyInfo
_propertyInfo2
);
OMPropertyVisualizerVectorFieldDifference
(
MeshT
*
_mesh
,
int
_objectID
,
const
PropertyInfo
&
_propertyInfo1
,
const
PropertyInfo
&
_propertyInfo2
);
virtual
~
OMPropertyVisualizerVectorFieldDifference
(){}
QString
getName
()
override
{
return
QObject
::
tr
(
"Combination of %1 and %2"
).
arg
(
PropertyVisualizer
::
propertyInfo
.
propName
().
c_str
()).
arg
(
propertyInfo2
.
propName
().
c_str
());
}
...
...
OpenMesh/OMPropertyVisualizerVectorFieldDifferenceT.cc
View file @
46c2dd2a
...
...
@@ -47,7 +47,7 @@
#include "OMPropertyVisualizerVectorFieldDifference.hh"
template
<
typename
MeshT
>
OMPropertyVisualizerVectorFieldDifference
<
MeshT
>::
OMPropertyVisualizerVectorFieldDifference
(
MeshT
*
_mesh
,
int
_objectID
,
PropertyInfo
_propertyInfo1
,
PropertyInfo
_propertyInfo2
)
OMPropertyVisualizerVectorFieldDifference
<
MeshT
>::
OMPropertyVisualizerVectorFieldDifference
(
MeshT
*
_mesh
,
int
_objectID
,
const
PropertyInfo
&
_propertyInfo1
,
const
PropertyInfo
&
_propertyInfo2
)
:
OMPropertyVisualizer
<
MeshT
>
(
_mesh
,
_objectID
,
_propertyInfo1
),
propertyInfo2
(
_propertyInfo2
)
{
...
...
OpenMesh/OMPropertyVisualizerVectorT.cc
View file @
46c2dd2a
...
...
@@ -47,7 +47,7 @@
#include <ACG/Utils/ColorConversion.hh>
template
<
typename
MeshT
>
OMPropertyVisualizerVector
<
MeshT
>::
OMPropertyVisualizerVector
(
MeshT
*
_mesh
,
int
_objectID
,
PropertyInfo
_propertyInfo
)
OMPropertyVisualizerVector
<
MeshT
>::
OMPropertyVisualizerVector
(
MeshT
*
_mesh
,
int
_objectID
,
const
PropertyInfo
&
_propertyInfo
)
:
OMPropertyVisualizer
<
MeshT
>
(
_mesh
,
_objectID
,
_propertyInfo
)
{
if
(
PropertyVisualizer
::
widget
)
delete
PropertyVisualizer
::
widget
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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