Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CamiTK
CamiTK Community Edition
Commits
5a737dbe
Commit
5a737dbe
authored
Jan 26, 2018
by
Emmanuel Promayon
Browse files
FIXED normalizing log message
parent
3552f81d
Changes
9
Hide whitespace changes
Inline
Side-by-side
sdk/actions/image/volumerendering/VolumeRenderingAction.cpp
View file @
5a737dbe
...
...
@@ -111,7 +111,7 @@ QWidget* VolumeRenderingAction::getWidget() {
// --------------- apply -------------------
Action
::
ApplyStatus
VolumeRenderingAction
::
apply
()
{
CAMITK_INFO
(
"VolumeRenderingAction::apply: apply volume rendering"
);
CAMITK_INFO
(
"VolumeRenderingAction::apply
()
: apply volume rendering"
);
foreach
(
Component
*
comp
,
getTargets
())
{
ImageComponent
*
input
=
dynamic_cast
<
ImageComponent
*>
(
comp
);
process
(
input
);
...
...
sdk/actions/mesh/basicmesh/CenterMesh.cpp
View file @
5a737dbe
...
...
@@ -62,7 +62,7 @@ Action::ApplyStatus CenterMesh::apply() {
for
(
unsigned
int
i
=
0
;
i
<
(
unsigned
)
getTargets
().
size
();
i
++
)
{
targetMesh
=
dynamic_cast
<
MeshComponent
*>
(
getTargets
().
at
(
i
));
CAMITK_INFO
(
"CenterMesh::apply: Centering "
+
targetMesh
->
getName
());
CAMITK_INFO
(
"CenterMesh::apply
()
: Centering "
+
targetMesh
->
getName
());
//-- compute barycenter
double
barycenter
[
3
]
=
{
0.0
,
0.0
,
0.0
};
...
...
sdk/actions/mesh/basicmesh/ExtractSelection.cpp
View file @
5a737dbe
...
...
@@ -64,7 +64,7 @@ Action::ApplyStatus ExtractSelection::apply() {
return
ABORTED
;
}
CAMITK_INFO
(
"ExtractSelection::apply: Extract selection of "
+
getTargets
().
last
()
->
getName
());
CAMITK_INFO
(
"ExtractSelection::apply
()
: Extract selection of "
+
getTargets
().
last
()
->
getName
());
vtkSmartPointer
<
vtkExtractSelection
>
extractSelection
=
vtkSmartPointer
<
vtkExtractSelection
>::
New
();
...
...
sdk/actions/mesh/meshprocessing/CleanPolyData.cpp
View file @
5a737dbe
...
...
@@ -59,7 +59,7 @@ CleanPolyData::CleanPolyData(ActionExtension* extension) : Action(extension) {
// --------------- apply -------------------
Action
::
ApplyStatus
CleanPolyData
::
apply
()
{
CAMITK_INFO
(
"CleanPolyData::apply: Merge duplicate points "
+
getTargets
().
last
()
->
getName
());
CAMITK_INFO
(
"CleanPolyData::apply
()
: Merge duplicate points "
+
getTargets
().
last
()
->
getName
());
// set waiting cursor and status bar
QApplication
::
setOverrideCursor
(
QCursor
(
Qt
::
WaitCursor
)
);
...
...
sdk/actions/mesh/meshprocessing/ExtractEdges.cpp
View file @
5a737dbe
...
...
@@ -48,7 +48,7 @@ ExtractEdges::ExtractEdges(ActionExtension* extension) : Action(extension) {
Action
::
ApplyStatus
ExtractEdges
::
apply
()
{
CAMITK_INFO
(
"ExtractEdges::apply: Extracting edges "
+
getTargets
().
last
()
->
getName
());
CAMITK_INFO
(
"ExtractEdges::apply
()
: Extracting edges "
+
getTargets
().
last
()
->
getName
());
// set waiting cursor and status bar
QApplication
::
setOverrideCursor
(
QCursor
(
Qt
::
WaitCursor
)
);
...
...
sdk/actions/mesh/meshprocessing/ExtractSurface.cpp
View file @
5a737dbe
...
...
@@ -47,7 +47,7 @@ ExtractSurface::ExtractSurface(ActionExtension* extension) : Action(extension) {
// --------------- apply -------------------
Action
::
ApplyStatus
ExtractSurface
::
apply
()
{
CAMITK_INFO
(
"ExtractSurface::apply: Extracting Surface "
+
getTargets
().
last
()
->
getName
());
CAMITK_INFO
(
"ExtractSurface::apply
()
: Extracting Surface "
+
getTargets
().
last
()
->
getName
());
// set waiting cursor and status bar
QApplication
::
setOverrideCursor
(
QCursor
(
Qt
::
WaitCursor
)
);
...
...
sdk/actions/mesh/meshprocessing/ICPRegistration.cpp
View file @
5a737dbe
...
...
@@ -88,7 +88,7 @@ camitk::Action::ApplyStatus ICPRegistration::apply() {
}
CAMITK_TRACE
(
"ICPRegistration::apply: ICP Registration from mesh "
+
getTargets
().
first
()
->
getName
()
+
" to mesh "
+
getTargets
().
last
()
->
getName
())
CAMITK_TRACE
(
"ICPRegistration::apply
()
: ICP Registration from mesh "
+
getTargets
().
first
()
->
getName
()
+
" to mesh "
+
getTargets
().
last
()
->
getName
())
// set up ICP
vtkSmartPointer
<
vtkIterativeClosestPointTransform
>
icp
=
vtkSmartPointer
<
vtkIterativeClosestPointTransform
>::
New
();
...
...
sdk/actions/mesh/meshprocessing/MergeMeshs.cpp
View file @
5a737dbe
...
...
@@ -92,7 +92,7 @@ Action::ApplyStatus MergeMeshs::apply() {
//check cases
if
(
getTargets
().
size
()
<
2
)
{
CAMITK_ERROR
(
"MergeMeshs::apply: Number of targets is insufficient (at least 2 meshs)"
);
CAMITK_ERROR
(
"MergeMeshs::apply
()
: Number of targets is insufficient (at least 2 meshs)"
);
// restore the normal cursor and progress bar
Application
::
resetProgressBar
();
QApplication
::
restoreOverrideCursor
();
...
...
@@ -100,7 +100,7 @@ Action::ApplyStatus MergeMeshs::apply() {
}
else
if
(
getTargets
().
size
()
>
2
)
{
CAMITK_ERROR
(
"MergeMeshs::apply: Merge meshs works only with 2 meshs"
);
CAMITK_ERROR
(
"MergeMeshs::apply
()
: Merge meshs works only with 2 meshs"
);
// restore the normal cursor and progress bar
Application
::
resetProgressBar
();
QApplication
::
restoreOverrideCursor
();
...
...
sdk/actions/mesh/meshprocessing/WarpOut.cpp
View file @
5a737dbe
...
...
@@ -74,7 +74,7 @@ WarpOut::WarpOut(ActionExtension* extension) : Action(extension) {
// --------------- apply -------------------
Action
::
ApplyStatus
WarpOut
::
apply
()
{
CAMITK_INFO
(
"WarpOut::apply: Warping out "
+
getTargets
().
last
()
->
getName
());
CAMITK_INFO
(
"WarpOut::apply
()
: Warping out "
+
getTargets
().
last
()
->
getName
());
// set waiting cursor and status bar
QApplication
::
setOverrideCursor
(
QCursor
(
Qt
::
WaitCursor
));
...
...
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