From a52f1e2bebee9132a840756dc0afe50c06a9b7ca Mon Sep 17 00:00:00 2001 From: OTB Bot <otbbot@orfeo-toolbox.org> Date: Thu, 14 Jun 2012 19:58:01 +0200 Subject: [PATCH] STYLE --- Applications/Segmentation/otbMeanShiftSmoothing.cxx | 1 - Code/Segmentation/otbMeanShiftSegmentationFilter.h | 1 - .../OGRAdapters/otbGeometriesToGeometriesFilter.cxx | 4 ++-- .../Code/Projections/otbTileImageFilterRSTransformTest.cxx | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Applications/Segmentation/otbMeanShiftSmoothing.cxx b/Applications/Segmentation/otbMeanShiftSmoothing.cxx index 450ec65088..d22a4ba967 100644 --- a/Applications/Segmentation/otbMeanShiftSmoothing.cxx +++ b/Applications/Segmentation/otbMeanShiftSmoothing.cxx @@ -74,7 +74,6 @@ private: - AddParameter(ParameterType_Int, "maxiter", "Maximum number of iterations"); SetParameterDescription("maxiter", "Algorithm iterative scheme will stop if convergence hasn't been reached after the maximum number of iterations."); MandatoryOff("maxiter"); diff --git a/Code/Segmentation/otbMeanShiftSegmentationFilter.h b/Code/Segmentation/otbMeanShiftSegmentationFilter.h index b468ca4a27..90e03fb2fc 100644 --- a/Code/Segmentation/otbMeanShiftSegmentationFilter.h +++ b/Code/Segmentation/otbMeanShiftSegmentationFilter.h @@ -72,7 +72,6 @@ private: } // end of Functor namespace - /** \class MeanShiftSegmentationFilter * * Performs segmentation of an image by chaining a mean shift filter and region diff --git a/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx b/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx index 87625e6c75..f0e4760527 100644 --- a/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx +++ b/Code/UtilitiesAdapters/OGRAdapters/otbGeometriesToGeometriesFilter.cxx @@ -51,8 +51,8 @@ struct ProcessVisitor : boost::static_visitor<> assert(destination && "can't filter to a nil datasource"); // std::cout << "G2GF: Process Visitor: DS("<<source->ogr().GetName()<<") -> DS("<<destination->ogr().GetName()<<") ...\n"; for (otb::ogr::DataSource::const_iterator b = source->begin(), e = source->end() - ; b != e - ; ++b + ; b != e + ; ++b ) { otb::ogr::Layer const& sourceLayer = *b; diff --git a/Testing/Code/Projections/otbTileImageFilterRSTransformTest.cxx b/Testing/Code/Projections/otbTileImageFilterRSTransformTest.cxx index 87d9f680e3..1b9b9af3a0 100644 --- a/Testing/Code/Projections/otbTileImageFilterRSTransformTest.cxx +++ b/Testing/Code/Projections/otbTileImageFilterRSTransformTest.cxx @@ -93,7 +93,7 @@ int otbTileImageFilterRSTransformTest(int argc, char * argv[]) std::cout<<std::setprecision(10)<<std::endl; - for(unsigned int i = 0; i<numberOfImages;++i) + for(unsigned int i = 0; i<numberOfImages; ++i) { PointType tilePoint = transforms.at(i)->TransformPoint(points.at(i)); PointType mosaicPoint = mosaicRsTransform->TransformPoint(points.at(i)); -- GitLab