diff --git a/Applications/DisparityMap/otbDisparityMapToElevationMap.cxx b/Applications/DisparityMap/otbDisparityMapToElevationMap.cxx index 09fe76f11392b2d2a1032e27499955878f5af581..c515b65442ecaa98d7e57a6912a61281514d01af 100644 --- a/Applications/DisparityMap/otbDisparityMapToElevationMap.cxx +++ b/Applications/DisparityMap/otbDisparityMapToElevationMap.cxx @@ -161,14 +161,14 @@ private: } break; } - } + } this->SetParameterOutputImage("out",m_DispToElev->GetOutput()); } VectorImageToListFilterType::Pointer m_VectorToList; - DisparityToElevationFilterType::Pointer m_DispToElev; + DisparityToElevationFilterType::Pointer m_DispToElev; }; } diff --git a/Applications/Segmentation/otbLargeScaleSegmentation.cxx b/Applications/Segmentation/otbLargeScaleSegmentation.cxx index 7707cf30a62f43d6d9d20bd1483233fba5b003b1..91b65938df88b91731ff33180c3f2a131c6557b3 100644 --- a/Applications/Segmentation/otbLargeScaleSegmentation.cxx +++ b/Applications/Segmentation/otbLargeScaleSegmentation.cxx @@ -71,7 +71,6 @@ public: - typedef otb::StreamingVectorizedSegmentationOGR<FloatVectorImageType, MSEDISONSegmentationFilterType> MSEDIONStreamingVectorizedSegmentationOGRType; @@ -188,7 +187,6 @@ private: MandatoryOff("neighbor"); - // Doc example parameter settings SetDocExampleParameterValue("in", "QB_Toulouse_Ortho_PAN.tif"); @@ -284,7 +282,6 @@ private: } - default: { otbAppLogFATAL(<<"non defined filtering method "<<GetParameterInt("filter")<<std::endl); diff --git a/Code/Common/otbDataNode.txx b/Code/Common/otbDataNode.txx index 4e73c2fd1274f0f61cb28c68c4fc8a999cc4f860..4b8e642d14b292f71658909d892245842db5a0ef 100644 --- a/Code/Common/otbDataNode.txx +++ b/Code/Common/otbDataNode.txx @@ -645,7 +645,7 @@ DataNode<TPrecision, VDimension, TValuePrecision> OGRGeometry * dstGeomtery = this->ConvertDataNodeToOGRGeometry(node); OGRGeometry * currentGeometry = this->ConvertDataNodeToOGRGeometry(this); - // + // return currentGeometry->Intersects(dstGeomtery); } @@ -658,7 +658,7 @@ DataNode<TPrecision, VDimension, TValuePrecision> OGRGeometry * dstGeomtery = this->ConvertDataNodeToOGRGeometry(node); OGRGeometry * currentGeometry = this->ConvertDataNodeToOGRGeometry(this); - // + // return currentGeometry->Within(dstGeomtery); } diff --git a/Code/Visualization/otbVectorDataEditionModel.cxx b/Code/Visualization/otbVectorDataEditionModel.cxx index 0bb15021834ac1a302b8f0c900f381cc24610190..edb607369c0a0233c242a36c0f9dfc89e96eb75f 100644 --- a/Code/Visualization/otbVectorDataEditionModel.cxx +++ b/Code/Visualization/otbVectorDataEditionModel.cxx @@ -272,7 +272,7 @@ void VectorDataEditionModel ++it; } - for (unsigned int idx = 0 ; idx < geomToDelete.size(); idx++) + for (unsigned int idx = 0; idx < geomToDelete.size(); idx++) { this->SetSelectedGeometry(geomToDelete[idx] - idx); this->DeleteGeometry(); diff --git a/Examples/Segmentation/StreamingMeanShiftSegmentation.cxx b/Examples/Segmentation/StreamingMeanShiftSegmentation.cxx index 14607a9f707eb895a933e671f6294439c9e0eff6..460f0e7c88741c3e0057926151526543ddf5f049 100644 --- a/Examples/Segmentation/StreamingMeanShiftSegmentation.cxx +++ b/Examples/Segmentation/StreamingMeanShiftSegmentation.cxx @@ -141,7 +141,6 @@ int main(int argc, char *argv[]) filter->Update(); - //writer->SetFileName(argv[2]); //writer->SetInput(filter->GetOutputVectorData()); //writer->Update();