From 297a137a4605a310b13f60498890d3b5c157cebd Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Fri, 3 Feb 2012 07:57:12 +0100 Subject: [PATCH] Cosmetic (display station name) --- segmentation/clitkRelativePositionList.txx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/segmentation/clitkRelativePositionList.txx b/segmentation/clitkRelativePositionList.txx index d5c8d25..d1c41b0 100644 --- a/segmentation/clitkRelativePositionList.txx +++ b/segmentation/clitkRelativePositionList.txx @@ -173,19 +173,22 @@ GenerateOutputInformation() { for(uint i=0; i(sname, "_S", " "); + std::string text = "["+sname+"] "; if (mArgsInfoList[i].orientation_given) text += std::string(mArgsInfoList[i].orientation_arg[0])+" "; else text = text+"("+toString(mArgsInfoList[i].angle1_arg)+" "+ toString(mArgsInfoList[i].angle2_arg)+" "+ (mArgsInfoList[i].inverse_flag?"true":"false")+") "; text = text+mArgsInfoList[i].object_arg+" "+toString(mArgsInfoList[i].threshold_arg); if (mArgsInfoList[i].sliceBySlice_flag) { - text += " slice by slice"; + text += " SbS"; } else text += " 3D"; - text += " spacing=" + toString(mArgsInfoList[i].spacing_arg); + text += " sp=" + toString(mArgsInfoList[i].spacing_arg)+" "; - StartNewStep(text); + StartNewStep(text, false); // no endl typename RelPosFilterType::Pointer relPosFilter; // Is it slice by slice or 3D ? @@ -227,9 +230,8 @@ GenerateOutputInformation() { filter->SetInput(0, m_working_input); filter->SetInput(1, m_reference); filter->Update(); - std::cout << std::endl; } - + std::cout << std::endl; } } //-------------------------------------------------------------------- -- 2.47.1