Skip to content
Snippets Groups Projects
Commit a9b03850 authored by OTB Bot's avatar OTB Bot
Browse files

STYLE

parent 5d0c2975
No related branches found
No related tags found
No related merge requests found
...@@ -891,8 +891,8 @@ Application::IsApplicationReady() ...@@ -891,8 +891,8 @@ Application::IsApplicationReady()
++it) ++it)
{ {
// Check all Input Parameters // Check all Input Parameters
if (!this->HasValue(*it) if (!this->HasValue(*it)
&& IsMandatory(*it) && IsMandatory(*it)
&& GetParameterByKey(*it)->GetRoot()->GetActive()) && GetParameterByKey(*it)->GetRoot()->GetActive())
{ {
return false; return false;
......
...@@ -100,8 +100,8 @@ public: ...@@ -100,8 +100,8 @@ public:
itkGetMacro(OutputSize, SizeType); itkGetMacro(OutputSize, SizeType);
/** Isotropic spacing flag */ /** Isotropic spacing flag */
itkSetMacro(EstimateIsotropicSpacing,bool); itkSetMacro(EstimateIsotropicSpacing, bool);
itkGetMacro(EstimateIsotropicSpacing,bool); itkGetMacro(EstimateIsotropicSpacing, bool);
itkBooleanMacro(EstimateIsotropicSpacing); itkBooleanMacro(EstimateIsotropicSpacing);
/** /**
......
...@@ -138,7 +138,7 @@ QWidget* QtWidgetView::CreateDoc() ...@@ -138,7 +138,7 @@ QWidget* QtWidgetView::CreateDoc()
for (unsigned int i = 0; i < m_Application->GetDocTags().size() - 1; i++) for (unsigned int i = 0; i < m_Application->GetDocTags().size() - 1; i++)
{ {
oss << m_Application->GetDocTags()[i] << ", "; oss << m_Application->GetDocTags()[i] << ", ";
; ;
} }
oss << m_Application->GetDocTags()[m_Application->GetDocTags().size() - 1]; oss << m_Application->GetDocTags()[m_Application->GetDocTags().size() - 1];
} }
......
...@@ -132,15 +132,15 @@ int generic_otbMultiChannelExtractROI(int argc, char * argv[], const char * inpu ...@@ -132,15 +132,15 @@ int generic_otbMultiChannelExtractROI(int argc, char * argv[], const char * inpu
if (computeExtractTime) if (computeExtractTime)
{ {
chrono.Start(); chrono.Start();
} }
writer->Update(); writer->Update();
if (computeExtractTime) if (computeExtractTime)
{ {
chrono.Stop(); chrono.Stop();
std::cout << " Time to compute the extracted image: " << chrono.GetTotal() << " seconds" << std::endl; std::cout << " Time to compute the extracted image: " << chrono.GetTotal() << " seconds" << std::endl;
} }
std::cout << " Number of channels in the input image: " << reader->GetOutput()->GetNumberOfComponentsPerPixel() << std::cout << " Number of channels in the input image: " << reader->GetOutput()->GetNumberOfComponentsPerPixel() <<
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment