From 478abf4fb7cda4fc806d8af1d899ac09a7dc3323 Mon Sep 17 00:00:00 2001 From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org> Date: Fri, 22 Jan 2010 12:40:52 +0800 Subject: [PATCH] DOC: line formating for software guide --- Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx | 3 ++- Examples/OBIA/ShapeAttributeComputation.cxx | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx b/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx index 5dc1964cb8..2d517508dd 100644 --- a/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx +++ b/Examples/OBIA/RadiometricAttributesLabelMapFilterExample.cxx @@ -131,7 +131,8 @@ int main(int argc, char * argv[]) // Software Guide : EndLatex // Software Guide : BeginCodeSnippet - typedef otb::MeanShiftVectorImageFilter<VectorImageType,VectorImageType, LabeledImageType> FilterType; + typedef otb::MeanShiftVectorImageFilter + <VectorImageType,VectorImageType, LabeledImageType> FilterType; FilterType::Pointer filter = FilterType::New(); filter->SetSpatialRadius(spatialRadius); filter->SetRangeRadius(rangeRadius); diff --git a/Examples/OBIA/ShapeAttributeComputation.cxx b/Examples/OBIA/ShapeAttributeComputation.cxx index 9858f92896..27c613900a 100755 --- a/Examples/OBIA/ShapeAttributeComputation.cxx +++ b/Examples/OBIA/ShapeAttributeComputation.cxx @@ -144,10 +144,11 @@ int main(int argc, char * argv[]) LabelMapType::Pointer labelMap = shape->GetOutput(); for( unsigned long label=1; label<=labelMap->GetNumberOfLabelObjects(); label++ ) { - // we don't need a SmartPointer of the label object here, because the reference is kept in + // we don't need a SmartPointer of the label object here, because the reference is kept // in the label map. const LabelObjectType * labelObject = labelMap->GetLabelObject( label ); - outfile << label << "\t" << labelObject->GetPhysicalSize() << "\t" << labelObject->GetCentroid() << std::endl; + outfile << label << "\t" << labelObject->GetPhysicalSize() << "\t" + << labelObject->GetCentroid() << std::endl; } outfile.close(); -- GitLab