Commit 5a737dbe authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED normalizing log message

parent 3552f81d
......@@ -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);
......
......@@ -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};
......
......@@ -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();
......
......@@ -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 ) );
......
......@@ -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 ) );
......
......@@ -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 ) );
......
......@@ -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();
......
......@@ -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();
......
......@@ -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));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment