Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CamiTK
CamiTK Community Edition
Commits
22ae6f47
Commit
22ae6f47
authored
Jul 09, 2018
by
Emmanuel Promayon
Browse files
UPDATED move destructor empty code to header
So that clang-tidy is not confused and does not add an unappropriate "= delete"
parent
5c4b5522
Changes
10
Hide whitespace changes
Inline
Side-by-side
sdk/actions/mesh/basictopology/SphereTopology.cpp
View file @
22ae6f47
...
...
@@ -71,9 +71,6 @@ SphereTopology::SphereTopology(ActionExtension* extension) : Action(extension) {
addParameter
(
thetaProperty
);
}
SphereTopology
::~
SphereTopology
()
{
}
Action
::
ApplyStatus
SphereTopology
::
apply
()
{
QVector3D
center
=
property
(
"Center"
).
value
<
QVector3D
>
();
double
radius
=
property
(
"Radius"
).
toDouble
();
...
...
sdk/actions/mesh/basictopology/SphereTopology.h
View file @
22ae6f47
...
...
@@ -47,7 +47,7 @@ public:
SphereTopology
(
camitk
::
ActionExtension
*
);
/// the destructor
virtual
~
SphereTopology
();
virtual
~
SphereTopology
()
{}
;
/// method called when the action when the action is triggered (i.e. started)
//virtual QWidget * getWidget();
...
...
sdk/actions/mesh/meshprocessing/Decimation.cpp
View file @
22ae6f47
...
...
@@ -100,10 +100,6 @@ Decimation::Decimation(ActionExtension* extension) : Action(extension) {
addParameter
(
inflectionRatioProperty
);
}
// -------------------- Decimation destructor --------------------
Decimation
::~
Decimation
()
{
}
// -------------------- apply --------------------
Action
::
ApplyStatus
Decimation
::
apply
()
{
// set waiting cursor and status bar
...
...
sdk/actions/mesh/meshprocessing/Decimation.h
View file @
22ae6f47
...
...
@@ -48,7 +48,7 @@ public:
Decimation
(
camitk
::
ActionExtension
*
);
/// the destructor
virtual
~
Decimation
();
virtual
~
Decimation
()
{}
;
public
slots
:
/// method called when the action is applied
...
...
tutorials/actions/properties/EnumPropertyExample.cpp
View file @
22ae6f47
...
...
@@ -90,10 +90,6 @@ EnumPropertyExample::EnumPropertyExample(ActionExtension* extension) : Action(ex
addParameter
(
cleanEnum
);
}
// --------------- destructor -------------------
EnumPropertyExample
::~
EnumPropertyExample
()
{
}
// --------------- apply -------------------
Action
::
ApplyStatus
EnumPropertyExample
::
apply
()
{
// get the current selected values
...
...
tutorials/actions/properties/EnumPropertyExample.h
View file @
22ae6f47
...
...
@@ -38,7 +38,7 @@ public:
EnumPropertyExample
(
camitk
::
ActionExtension
*
);
/// Default Destructor
virtual
~
EnumPropertyExample
();
virtual
~
EnumPropertyExample
()
{}
;
/// Example for an Enumeration
enum
EnumerationExample
{
...
...
tutorials/actions/properties/PropAction.cpp
View file @
22ae6f47
...
...
@@ -117,10 +117,6 @@ PropAction::PropAction(ActionExtension* extension) : Action(extension) {
addParameter
(
enumList
);
}
// --------------- destructor -------------------
PropAction
::~
PropAction
()
{
}
// --------------- apply -------------------
Action
::
ApplyStatus
PropAction
::
apply
()
{
// loop on all dynamic properties of this action (i.e. the action parameters) and
...
...
tutorials/actions/properties/PropAction.h
View file @
22ae6f47
...
...
@@ -27,7 +27,6 @@
#include <Action.h>
class
PropAction
:
public
camitk
::
Action
{
// DO NOT forget to add Q_OBJECT otherwise the enumeration cannot be registered in the Meta Object
...
...
@@ -38,7 +37,7 @@ public:
PropAction
(
camitk
::
ActionExtension
*
);
/// Default Destructor
virtual
~
PropAction
();
virtual
~
PropAction
()
{}
;
/// Possible Enumeration
enum
Enumeration
{
ACE
,
KING
,
QUEEN
,
JACK
,
TEN
,
NINE
,
EIGHT
,
SEVEN
};
...
...
tutorials/applications/simple/SimpleMainWindow.cpp
View file @
22ae6f47
...
...
@@ -53,10 +53,6 @@ SimpleMainWindow::SimpleMainWindow() : MainWindow("Simple Demo") {
InteractiveViewer
::
getCoronalViewer
()
->
setGradientBackground
(
false
);
}
// ------------- destructor -----------------
SimpleMainWindow
::~
SimpleMainWindow
()
{
}
// ------------- aboutToShow -----------------
void
SimpleMainWindow
::
aboutToShow
()
{
// remove all but the main viewer
...
...
tutorials/applications/simple/SimpleMainWindow.h
View file @
22ae6f47
...
...
@@ -53,7 +53,7 @@ public:
SimpleMainWindow
();
/// destructor
~
SimpleMainWindow
();
virtual
~
SimpleMainWindow
()
{}
;
public
slots
:
...
...
Write
Preview
Supports
Markdown
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