From 69cba7d0014a3cb5ffa7604ad5fa710dba798d19 Mon Sep 17 00:00:00 2001 From: Marina Bertolino <marina.bertolino@c-s.fr> Date: Wed, 3 May 2017 16:25:05 +0200 Subject: [PATCH] REFAC: otbAppDocLink() macro to an inline function --- .../SoftwareGuide/Latex/WriteAnApplication.tex | 2 +- .../app/otbMultivariateAlterationDetector.cxx | 2 +- .../app/otbClassificationMapRegularization.cxx | 2 +- .../app/otbComputeConfusionMatrix.cxx | 2 +- .../app/otbComputeImagesStatistics.cxx | 2 +- .../otbComputeOGRLayersFeaturesStatistics.cxx | 2 +- .../app/otbComputePolylineFeatureFromImage.cxx | 2 +- .../app/otbDSFuzzyModelEstimation.cxx | 2 +- .../app/otbFusionOfClassifications.cxx | 2 +- .../AppClassification/app/otbImageClassifier.cxx | 2 +- .../app/otbKMeansClassification.cxx | 2 +- .../app/otbMultiImageSamplingRate.cxx | 2 +- .../app/otbOGRLayerClassifier.cxx | 2 +- .../app/otbPolygonClassStatistics.cxx | 2 +- .../app/otbPredictRegression.cxx | 2 +- .../app/otbSOMClassification.cxx | 2 +- .../app/otbSampleExtraction.cxx | 2 +- .../AppClassification/app/otbSampleSelection.cxx | 2 +- .../app/otbTrainImagesClassifier.cxx | 2 +- .../AppClassification/app/otbTrainRegression.cxx | 2 +- .../app/otbTrainVectorClassifier.cxx | 2 +- .../app/otbVectorClassifier.cxx | 2 +- .../app/otbVectorDataDSValidation.cxx | 2 +- .../app/otbHomologousPointsExtraction.cxx | 2 +- .../app/otbDimensionalityReduction.cxx | 2 +- .../app/otbDomainTransform.cxx | 2 +- .../AppEdge/app/otbEdgeExtraction.cxx | 2 +- .../AppEdge/app/otbLineSegmentDetection.cxx | 2 +- .../AppFiltering/app/otbDespeckle.cxx | 2 +- .../AppFiltering/app/otbSmoothing.cxx | 2 +- .../AppFusion/app/otbBundleToPerfectSensor.cxx | 2 +- .../AppFusion/app/otbPansharpening.cxx | 2 +- .../app/otbHyperspectralUnmixing.cxx | 2 +- .../app/otbVertexComponentAnalysis.cxx | 2 +- .../AppImageUtils/app/otbColorMapping.cxx | 2 +- .../AppImageUtils/app/otbCompareImages.cxx | 2 +- .../AppImageUtils/app/otbConcatenateImages.cxx | 2 +- .../AppImageUtils/app/otbConvert.cxx | 2 +- .../AppImageUtils/app/otbDEMConvert.cxx | 2 +- .../AppImageUtils/app/otbDownloadSRTMTiles.cxx | 2 +- .../AppImageUtils/app/otbExtractROI.cxx | 2 +- .../AppImageUtils/app/otbManageNoData.cxx | 2 +- .../app/otbMultiResolutionPyramid.cxx | 2 +- .../AppImageUtils/app/otbPixelValue.cxx | 2 +- .../AppImageUtils/app/otbQuicklook.cxx | 2 +- .../AppImageUtils/app/otbReadImageInfo.cxx | 2 +- .../AppImageUtils/app/otbRescale.cxx | 2 +- .../AppImageUtils/app/otbSplitImage.cxx | 2 +- .../AppImageUtils/app/otbTileFusion.cxx | 2 +- .../AppIndices/app/otbRadiometricIndices.cxx | 2 +- Modules/Applications/AppKMZ/app/otbKmzExport.cxx | 2 +- .../AppMathParser/app/otbBandMath.cxx | 2 +- .../AppMathParserX/app/otbBandMathX.cxx | 2 +- .../app/otbLocalStatisticExtraction.cxx | 2 +- .../app/otbBinaryMorphologicalOperation.cxx | 2 +- .../app/otbGrayScaleMorphologicalOperation.cxx | 2 +- .../app/otbMorphologicalClassification.cxx | 2 +- .../otbMorphologicalMultiScaleDecomposition.cxx | 2 +- .../app/otbMorphologicalProfilesAnalysis.cxx | 2 +- .../app/otbOpticalCalibration.cxx | 2 +- .../app/otbConvertCartoToGeoPoint.cxx | 2 +- .../app/otbConvertSensorToGeoPoint.cxx | 2 +- .../app/otbGenerateRPCSensorModel.cxx | 2 +- .../app/otbGridBasedImageResampling.cxx | 2 +- .../AppProjection/app/otbImageEnvelope.cxx | 2 +- .../app/otbObtainUTMZoneFromGeoPoint.cxx | 2 +- .../AppProjection/app/otbOrthoRectification.cxx | 2 +- .../AppProjection/app/otbRefineSensorModel.cxx | 2 +- .../app/otbRigidTransformResample.cxx | 2 +- .../AppProjection/app/otbSuperimpose.cxx | 2 +- .../app/otbVectorDataReprojection.cxx | 2 +- .../AppSARCalibration/app/otbSARCalibration.cxx | 2 +- .../AppSARCalibration/app/otbSARDeburst.cxx | 2 +- .../app/otbSARDecompositions.cxx | 2 +- .../app/otbSARPolarMatrixConvert.cxx | 2 +- .../AppSARPolarSynth/app/otbSARPolarSynth.cxx | 2 +- .../app/otbComputeModulusAndPhase.cxx | 2 +- .../app/otbConnectedComponentSegmentation.cxx | 2 +- .../app/otbHooverCompareSegmentation.cxx | 2 +- .../AppSegmentation/app/otbLSMSSegmentation.cxx | 2 +- .../app/otbLSMSSmallRegionsMerging.cxx | 2 +- .../AppSegmentation/app/otbLSMSVectorization.cxx | 2 +- .../app/otbMeanShiftSmoothing.cxx | 2 +- .../AppSegmentation/app/otbSegmentation.cxx | 2 +- .../AppStereo/app/otbBlockMatching.cxx | 2 +- .../app/otbDisparityMapToElevationMap.cxx | 2 +- .../AppStereo/app/otbFineRegistration.cxx | 2 +- .../AppStereo/app/otbGeneratePlyFile.cxx | 2 +- .../AppStereo/app/otbStereoFramework.cxx | 2 +- .../app/otbStereoRectificationGridGenerator.cxx | 2 +- .../AppTest/app/otbTestApplication.cxx | 2 +- .../app/otbHaralickTextureExtraction.cxx | 2 +- .../AppTextures/app/otbSFSTextureExtraction.cxx | 2 +- .../app/otbRasterization.cxx | 2 +- .../app/otbConcatenateVectorData.cxx | 2 +- .../AppVectorUtils/app/otbOSMDownloader.cxx | 2 +- .../app/otbVectorDataExtractROI.cxx | 2 +- .../AppVectorUtils/app/otbVectorDataSetField.cxx | 2 +- .../app/otbVectorDataTransform.cxx | 2 +- .../include/otbWrapperApplication.h | 16 ++++++++-------- 100 files changed, 107 insertions(+), 107 deletions(-) diff --git a/Documentation/SoftwareGuide/Latex/WriteAnApplication.tex b/Documentation/SoftwareGuide/Latex/WriteAnApplication.tex index 448e0c0d8f..f019cba077 100644 --- a/Documentation/SoftwareGuide/Latex/WriteAnApplication.tex +++ b/Documentation/SoftwareGuide/Latex/WriteAnApplication.tex @@ -54,7 +54,7 @@ contain the following actions: \item Declare all the parameters \item Define the documentation link: \item for contrib application use SetDocLink("\textit{docLink}") function defined in \doxygen{otb}{Wrapper::Application} - \item for official application use otbAppDocLink() macro + \item for official application use SetOfficialDocLink() function defined in \doxygen{otb}{Wrapper::Application} \end{itemize} diff --git a/Modules/Applications/AppChangeDetection/app/otbMultivariateAlterationDetector.cxx b/Modules/Applications/AppChangeDetection/app/otbMultivariateAlterationDetector.cxx index 65ee96289d..c54940788c 100644 --- a/Modules/Applications/AppChangeDetection/app/otbMultivariateAlterationDetector.cxx +++ b/Modules/Applications/AppChangeDetection/app/otbMultivariateAlterationDetector.cxx @@ -106,7 +106,7 @@ private: SetDocExampleParameterValue("in2", "Spot5-Gloucester-after.tif"); SetDocExampleParameterValue("out", "detectedChangeImage.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbClassificationMapRegularization.cxx b/Modules/Applications/AppClassification/app/otbClassificationMapRegularization.cxx index 97699b4ff7..c5b0262be4 100644 --- a/Modules/Applications/AppClassification/app/otbClassificationMapRegularization.cxx +++ b/Modules/Applications/AppClassification/app/otbClassificationMapRegularization.cxx @@ -122,7 +122,7 @@ private: SetDocExampleParameterValue("ip.nodatalabel", "10"); SetDocExampleParameterValue("ip.undecidedlabel", "7"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbComputeConfusionMatrix.cxx b/Modules/Applications/AppClassification/app/otbComputeConfusionMatrix.cxx index 7fb18699cc..d092cf8c2a 100644 --- a/Modules/Applications/AppClassification/app/otbComputeConfusionMatrix.cxx +++ b/Modules/Applications/AppClassification/app/otbComputeConfusionMatrix.cxx @@ -179,7 +179,7 @@ private: SetDocExampleParameterValue("ref.vector.field","Class"); SetDocExampleParameterValue("ref.vector.nodata","255"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbComputeImagesStatistics.cxx b/Modules/Applications/AppClassification/app/otbComputeImagesStatistics.cxx index 3a2ac5ede9..fbb8bef4b1 100644 --- a/Modules/Applications/AppClassification/app/otbComputeImagesStatistics.cxx +++ b/Modules/Applications/AppClassification/app/otbComputeImagesStatistics.cxx @@ -75,7 +75,7 @@ private: SetDocExampleParameterValue("il", "QB_1_ortho.tif"); SetDocExampleParameterValue("out", "EstimateImageStatisticsQB1.xml"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbComputeOGRLayersFeaturesStatistics.cxx b/Modules/Applications/AppClassification/app/otbComputeOGRLayersFeaturesStatistics.cxx index 00fbd684cc..c9afc715e9 100644 --- a/Modules/Applications/AppClassification/app/otbComputeOGRLayersFeaturesStatistics.cxx +++ b/Modules/Applications/AppClassification/app/otbComputeOGRLayersFeaturesStatistics.cxx @@ -72,7 +72,7 @@ private: SetDocExampleParameterValue("outstats", "results.xml"); SetDocExampleParameterValue("feat", "perimeter"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbComputePolylineFeatureFromImage.cxx b/Modules/Applications/AppClassification/app/otbComputePolylineFeatureFromImage.cxx index 392ab08cf8..385a97c9f2 100644 --- a/Modules/Applications/AppClassification/app/otbComputePolylineFeatureFromImage.cxx +++ b/Modules/Applications/AppClassification/app/otbComputePolylineFeatureFromImage.cxx @@ -113,7 +113,7 @@ private: SetDocExampleParameterValue("field", "NONDVI"); SetDocExampleParameterValue("out", "PolylineFeatureFromImage_LI_NONDVI_gt.shp"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbDSFuzzyModelEstimation.cxx b/Modules/Applications/AppClassification/app/otbDSFuzzyModelEstimation.cxx index 7a25125040..e6343bf4b9 100644 --- a/Modules/Applications/AppClassification/app/otbDSFuzzyModelEstimation.cxx +++ b/Modules/Applications/AppClassification/app/otbDSFuzzyModelEstimation.cxx @@ -181,7 +181,7 @@ private: SetDocExampleParameterValue("optobs", "true"); SetDocExampleParameterValue("out", "DSFuzzyModelEstimation.xml"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbFusionOfClassifications.cxx b/Modules/Applications/AppClassification/app/otbFusionOfClassifications.cxx index 43f715b27e..15c821e9b0 100644 --- a/Modules/Applications/AppClassification/app/otbFusionOfClassifications.cxx +++ b/Modules/Applications/AppClassification/app/otbFusionOfClassifications.cxx @@ -170,7 +170,7 @@ private: SetDocExampleParameterValue("undecidedlabel","10"); SetDocExampleParameterValue("out","classification_fused.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbImageClassifier.cxx b/Modules/Applications/AppClassification/app/otbImageClassifier.cxx index 7aa14c137a..47ba61e9b7 100644 --- a/Modules/Applications/AppClassification/app/otbImageClassifier.cxx +++ b/Modules/Applications/AppClassification/app/otbImageClassifier.cxx @@ -128,7 +128,7 @@ private: SetDocExampleParameterValue("model", "clsvmModelQB1.svm"); SetDocExampleParameterValue("out", "clLabeledImageQB1.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbKMeansClassification.cxx b/Modules/Applications/AppClassification/app/otbKMeansClassification.cxx index ff42a351e6..36eeb318fa 100644 --- a/Modules/Applications/AppClassification/app/otbKMeansClassification.cxx +++ b/Modules/Applications/AppClassification/app/otbKMeansClassification.cxx @@ -221,7 +221,7 @@ private: SetDocExampleParameterValue("ct", "0.0001"); SetDocExampleParameterValue("out", "ClassificationFilterOutput.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbMultiImageSamplingRate.cxx b/Modules/Applications/AppClassification/app/otbMultiImageSamplingRate.cxx index 9c290be546..6eb8ee539b 100644 --- a/Modules/Applications/AppClassification/app/otbMultiImageSamplingRate.cxx +++ b/Modules/Applications/AppClassification/app/otbMultiImageSamplingRate.cxx @@ -183,7 +183,7 @@ private: SetDocExampleParameterValue("strategy", "smallest"); SetDocExampleParameterValue("mim","proportional"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() diff --git a/Modules/Applications/AppClassification/app/otbOGRLayerClassifier.cxx b/Modules/Applications/AppClassification/app/otbOGRLayerClassifier.cxx index 97cf6226ec..971c79a427 100644 --- a/Modules/Applications/AppClassification/app/otbOGRLayerClassifier.cxx +++ b/Modules/Applications/AppClassification/app/otbOGRLayerClassifier.cxx @@ -91,7 +91,7 @@ private: SetDocExampleParameterValue("feat", "perimeter"); SetDocExampleParameterValue("cfield", "predicted"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbPolygonClassStatistics.cxx b/Modules/Applications/AppClassification/app/otbPolygonClassStatistics.cxx index acabbc68e7..c1600ebce7 100644 --- a/Modules/Applications/AppClassification/app/otbPolygonClassStatistics.cxx +++ b/Modules/Applications/AppClassification/app/otbPolygonClassStatistics.cxx @@ -124,7 +124,7 @@ private: SetDocExampleParameterValue("field", "label"); SetDocExampleParameterValue("out","polygonStat.xml"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbPredictRegression.cxx b/Modules/Applications/AppClassification/app/otbPredictRegression.cxx index c9bba80a72..8a4401679f 100644 --- a/Modules/Applications/AppClassification/app/otbPredictRegression.cxx +++ b/Modules/Applications/AppClassification/app/otbPredictRegression.cxx @@ -179,7 +179,7 @@ private: SetDocExampleParameterValue("model", "clsvmModelQB1.svm"); SetDocExampleParameterValue("out", "clLabeledImageQB1.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbSOMClassification.cxx b/Modules/Applications/AppClassification/app/otbSOMClassification.cxx index 7c123d1ccf..18e12db92e 100644 --- a/Modules/Applications/AppClassification/app/otbSOMClassification.cxx +++ b/Modules/Applications/AppClassification/app/otbSOMClassification.cxx @@ -175,7 +175,7 @@ private: SetDocExampleParameterValue("bf", "0.1"); SetDocExampleParameterValue("iv", "0"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbSampleExtraction.cxx b/Modules/Applications/AppClassification/app/otbSampleExtraction.cxx index 0f3ee04db5..a9c2b07fbd 100644 --- a/Modules/Applications/AppClassification/app/otbSampleExtraction.cxx +++ b/Modules/Applications/AppClassification/app/otbSampleExtraction.cxx @@ -116,7 +116,7 @@ private: SetDocExampleParameterValue("field", "label"); SetDocExampleParameterValue("out","sample_values.sqlite"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() diff --git a/Modules/Applications/AppClassification/app/otbSampleSelection.cxx b/Modules/Applications/AppClassification/app/otbSampleSelection.cxx index d12ce42334..0437978311 100644 --- a/Modules/Applications/AppClassification/app/otbSampleSelection.cxx +++ b/Modules/Applications/AppClassification/app/otbSampleSelection.cxx @@ -224,7 +224,7 @@ private: SetDocExampleParameterValue("instats","apTvClPolygonClassStatisticsOut.xml"); SetDocExampleParameterValue("out","resampledVectors.sqlite"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() diff --git a/Modules/Applications/AppClassification/app/otbTrainImagesClassifier.cxx b/Modules/Applications/AppClassification/app/otbTrainImagesClassifier.cxx index 65b84607cf..a76f81dce7 100644 --- a/Modules/Applications/AppClassification/app/otbTrainImagesClassifier.cxx +++ b/Modules/Applications/AppClassification/app/otbTrainImagesClassifier.cxx @@ -83,7 +83,7 @@ public: SetDocExampleParameterValue( "io.out", "svmModelQB1.txt" ); SetDocExampleParameterValue( "io.confmatout", "svmConfusionMatrixQB1.csv" ); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbTrainRegression.cxx b/Modules/Applications/AppClassification/app/otbTrainRegression.cxx index 921ea20dd8..0140e5f8d1 100644 --- a/Modules/Applications/AppClassification/app/otbTrainRegression.cxx +++ b/Modules/Applications/AppClassification/app/otbTrainRegression.cxx @@ -175,7 +175,7 @@ void DoInit() ITK_OVERRIDE SetDocExampleParameterValue("io.imstat", "training_statistics.xml"); SetDocExampleParameterValue("classifier", "libsvm"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbTrainVectorClassifier.cxx b/Modules/Applications/AppClassification/app/otbTrainVectorClassifier.cxx index 3acfdc0f03..21d3b58552 100644 --- a/Modules/Applications/AppClassification/app/otbTrainVectorClassifier.cxx +++ b/Modules/Applications/AppClassification/app/otbTrainVectorClassifier.cxx @@ -66,7 +66,7 @@ protected: SetDocAuthors( "OTB Team" ); SetDocSeeAlso( " " ); - otbAppDocLink(); + SetOfficialDocLink(); Superclass::DoInit(); } diff --git a/Modules/Applications/AppClassification/app/otbVectorClassifier.cxx b/Modules/Applications/AppClassification/app/otbVectorClassifier.cxx index f71bdc2ae1..61d3a691f4 100644 --- a/Modules/Applications/AppClassification/app/otbVectorClassifier.cxx +++ b/Modules/Applications/AppClassification/app/otbVectorClassifier.cxx @@ -146,7 +146,7 @@ private: SetDocExampleParameterValue("feat", "perimeter area width"); SetDocExampleParameterValue("cfield", "predicted"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppClassification/app/otbVectorDataDSValidation.cxx b/Modules/Applications/AppClassification/app/otbVectorDataDSValidation.cxx index abd98ff2ea..11e75421ae 100644 --- a/Modules/Applications/AppClassification/app/otbVectorDataDSValidation.cxx +++ b/Modules/Applications/AppClassification/app/otbVectorDataDSValidation.cxx @@ -103,7 +103,7 @@ private: SetDocExampleParameterValue("descmod", "DSFuzzyModel.xml"); SetDocExampleParameterValue("out", "VectorDataDSValidation.shp"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppDescriptors/app/otbHomologousPointsExtraction.cxx b/Modules/Applications/AppDescriptors/app/otbHomologousPointsExtraction.cxx index 7c00321195..f186df01d8 100644 --- a/Modules/Applications/AppDescriptors/app/otbHomologousPointsExtraction.cxx +++ b/Modules/Applications/AppDescriptors/app/otbHomologousPointsExtraction.cxx @@ -199,7 +199,7 @@ private: SetDocExampleParameterValue("mode","full"); SetDocExampleParameterValue("out","homologous.txt"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppDimensionalityReduction/app/otbDimensionalityReduction.cxx b/Modules/Applications/AppDimensionalityReduction/app/otbDimensionalityReduction.cxx index b6cfe5d440..686b78bb4c 100644 --- a/Modules/Applications/AppDimensionalityReduction/app/otbDimensionalityReduction.cxx +++ b/Modules/Applications/AppDimensionalityReduction/app/otbDimensionalityReduction.cxx @@ -181,7 +181,7 @@ private: SetDocExampleParameterValue("out", "FilterOutput.tif"); SetDocExampleParameterValue("method", "pca"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppDomainTransform/app/otbDomainTransform.cxx b/Modules/Applications/AppDomainTransform/app/otbDomainTransform.cxx index 85509ba816..54dbe894f6 100644 --- a/Modules/Applications/AppDomainTransform/app/otbDomainTransform.cxx +++ b/Modules/Applications/AppDomainTransform/app/otbDomainTransform.cxx @@ -170,7 +170,7 @@ private: SetDocExampleParameterValue("mode.wavelet.form", "haar"); SetDocExampleParameterValue("out", "output_wavelet_haar.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppEdge/app/otbEdgeExtraction.cxx b/Modules/Applications/AppEdge/app/otbEdgeExtraction.cxx index 021f4480c2..c4bcb9841c 100644 --- a/Modules/Applications/AppEdge/app/otbEdgeExtraction.cxx +++ b/Modules/Applications/AppEdge/app/otbEdgeExtraction.cxx @@ -123,7 +123,7 @@ SetDocExampleParameterValue("in", "qb_RoadExtract.tif"); SetDocExampleParameterValue("channel", "1"); SetDocExampleParameterValue("out", "Edges.tif"); -otbAppDocLink(); +SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppEdge/app/otbLineSegmentDetection.cxx b/Modules/Applications/AppEdge/app/otbLineSegmentDetection.cxx index c918f9f888..65eb71689c 100644 --- a/Modules/Applications/AppEdge/app/otbLineSegmentDetection.cxx +++ b/Modules/Applications/AppEdge/app/otbLineSegmentDetection.cxx @@ -86,7 +86,7 @@ private: SetDocExampleParameterValue("in", "QB_Suburb.png"); SetDocExampleParameterValue("out", "LineSegmentDetection.shp"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppFiltering/app/otbDespeckle.cxx b/Modules/Applications/AppFiltering/app/otbDespeckle.cxx index 2f481a6d9f..2d3a2de8d2 100644 --- a/Modules/Applications/AppFiltering/app/otbDespeckle.cxx +++ b/Modules/Applications/AppFiltering/app/otbDespeckle.cxx @@ -125,7 +125,7 @@ private: SetDocExampleParameterValue("filter.lee.rad", "5"); SetDocExampleParameterValue("out", "despeckle.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppFiltering/app/otbSmoothing.cxx b/Modules/Applications/AppFiltering/app/otbSmoothing.cxx index 6306b4f858..e80df1eea2 100644 --- a/Modules/Applications/AppFiltering/app/otbSmoothing.cxx +++ b/Modules/Applications/AppFiltering/app/otbSmoothing.cxx @@ -122,7 +122,7 @@ private: SetDocExampleParameterValue("type.anidif.nbiter", "5", exId); SetDocExampleParameterValue("type.anidif.conductance", "1.5", exId); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx b/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx index 237b97024d..7c67d80359 100644 --- a/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx +++ b/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx @@ -83,7 +83,7 @@ private: SetDocExampleParameterValue("inxs", "QB_Toulouse_Ortho_XS.tif"); SetDocExampleParameterValue("out", "BundleToPerfectSensor.png uchar"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppFusion/app/otbPansharpening.cxx b/Modules/Applications/AppFusion/app/otbPansharpening.cxx index 85faaeb46a..15fa33cc7e 100644 --- a/Modules/Applications/AppFusion/app/otbPansharpening.cxx +++ b/Modules/Applications/AppFusion/app/otbPansharpening.cxx @@ -135,7 +135,7 @@ private: SetDocExampleParameterValue("inxs", "QB_Toulouse_Ortho_XS.tif"); SetDocExampleParameterValue("out", "Pansharpening.tif uint16"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppHyperspectral/app/otbHyperspectralUnmixing.cxx b/Modules/Applications/AppHyperspectral/app/otbHyperspectralUnmixing.cxx index 9d118f36dc..a16a00b234 100644 --- a/Modules/Applications/AppHyperspectral/app/otbHyperspectralUnmixing.cxx +++ b/Modules/Applications/AppHyperspectral/app/otbHyperspectralUnmixing.cxx @@ -136,7 +136,7 @@ private: SetDocExampleParameterValue("out", "HyperspectralUnmixing.tif double"); SetDocExampleParameterValue("ua", "ucls"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppHyperspectral/app/otbVertexComponentAnalysis.cxx b/Modules/Applications/AppHyperspectral/app/otbVertexComponentAnalysis.cxx index a86468ea8d..4fe87620f4 100644 --- a/Modules/Applications/AppHyperspectral/app/otbVertexComponentAnalysis.cxx +++ b/Modules/Applications/AppHyperspectral/app/otbVertexComponentAnalysis.cxx @@ -81,7 +81,7 @@ private: SetDocExampleParameterValue("ne", "5"); SetDocExampleParameterValue("outendm", "VertexComponentAnalysis.tif double"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppImageUtils/app/otbColorMapping.cxx b/Modules/Applications/AppImageUtils/app/otbColorMapping.cxx index e2d3ddf893..ad8c68b614 100644 --- a/Modules/Applications/AppImageUtils/app/otbColorMapping.cxx +++ b/Modules/Applications/AppImageUtils/app/otbColorMapping.cxx @@ -394,7 +394,7 @@ private: SetDocExampleParameterValue("method.custom.lut", "ROI_QB_MUL_1_SVN_CLASS_MULTI_PNG_ColorTable.txt"); SetDocExampleParameterValue("out", "Colorized_ROI_QB_MUL_1_SVN_CLASS_MULTI.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppImageUtils/app/otbCompareImages.cxx b/Modules/Applications/AppImageUtils/app/otbCompareImages.cxx index b8694d0801..2d0d54c83c 100644 --- a/Modules/Applications/AppImageUtils/app/otbCompareImages.cxx +++ b/Modules/Applications/AppImageUtils/app/otbCompareImages.cxx @@ -131,7 +131,7 @@ private: SetDocExampleParameterValue("roi.sizex", "150"); SetDocExampleParameterValue("roi.sizey", "200"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppImageUtils/app/otbConcatenateImages.cxx b/Modules/Applications/AppImageUtils/app/otbConcatenateImages.cxx index 4f6dc3d167..5ebe69ddb4 100644 --- a/Modules/Applications/AppImageUtils/app/otbConcatenateImages.cxx +++ b/Modules/Applications/AppImageUtils/app/otbConcatenateImages.cxx @@ -86,7 +86,7 @@ private: SetDocExampleParameterValue("il", "GomaAvant.png GomaApres.png"); SetDocExampleParameterValue("out", "otbConcatenateImages.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppImageUtils/app/otbConvert.cxx b/Modules/Applications/AppImageUtils/app/otbConvert.cxx index 440a1105e3..c06b1c07b4 100644 --- a/Modules/Applications/AppImageUtils/app/otbConvert.cxx +++ b/Modules/Applications/AppImageUtils/app/otbConvert.cxx @@ -139,7 +139,7 @@ private: SetDocExampleParameterValue("out", "otbConvertWithScalingOutput.png uint8"); SetDocExampleParameterValue("type", "linear"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppImageUtils/app/otbDEMConvert.cxx b/Modules/Applications/AppImageUtils/app/otbDEMConvert.cxx index 848c9481d8..3e79f0ad67 100644 --- a/Modules/Applications/AppImageUtils/app/otbDEMConvert.cxx +++ b/Modules/Applications/AppImageUtils/app/otbDEMConvert.cxx @@ -72,7 +72,7 @@ private: SetDocExampleParameterValue("in", "QB_Toulouse_Ortho_Elev.tif"); SetDocExampleParameterValue("out", "outputDEM"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppImageUtils/app/otbDownloadSRTMTiles.cxx b/Modules/Applications/AppImageUtils/app/otbDownloadSRTMTiles.cxx index d70087ad38..1004b4c628 100644 --- a/Modules/Applications/AppImageUtils/app/otbDownloadSRTMTiles.cxx +++ b/Modules/Applications/AppImageUtils/app/otbDownloadSRTMTiles.cxx @@ -133,7 +133,7 @@ private: SetDocExampleParameterValue("mode", "list"); SetDocExampleParameterValue("mode.list.indir", "/home/user/srtm_dir/"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppImageUtils/app/otbExtractROI.cxx b/Modules/Applications/AppImageUtils/app/otbExtractROI.cxx index 29802ca98c..b7a4110b39 100644 --- a/Modules/Applications/AppImageUtils/app/otbExtractROI.cxx +++ b/Modules/Applications/AppImageUtils/app/otbExtractROI.cxx @@ -118,7 +118,7 @@ private: SetDocExampleParameterValue("sizey", "150"); SetDocExampleParameterValue("out", "ExtractROI.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppImageUtils/app/otbManageNoData.cxx b/Modules/Applications/AppImageUtils/app/otbManageNoData.cxx index 82e05e60d7..439ba05590 100644 --- a/Modules/Applications/AppImageUtils/app/otbManageNoData.cxx +++ b/Modules/Applications/AppImageUtils/app/otbManageNoData.cxx @@ -122,7 +122,7 @@ private: SetDocExampleParameterValue("mode.buildmask.inv", "255"); SetDocExampleParameterValue("mode.buildmask.outv", "0"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppImageUtils/app/otbMultiResolutionPyramid.cxx b/Modules/Applications/AppImageUtils/app/otbMultiResolutionPyramid.cxx index eb5598f8ee..d94f67b260 100644 --- a/Modules/Applications/AppImageUtils/app/otbMultiResolutionPyramid.cxx +++ b/Modules/Applications/AppImageUtils/app/otbMultiResolutionPyramid.cxx @@ -111,7 +111,7 @@ private: SetDocExampleParameterValue("vfactor", "0.6"); SetDocExampleParameterValue("fast", "false"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppImageUtils/app/otbPixelValue.cxx b/Modules/Applications/AppImageUtils/app/otbPixelValue.cxx index 24dd0ba98b..3296b17428 100644 --- a/Modules/Applications/AppImageUtils/app/otbPixelValue.cxx +++ b/Modules/Applications/AppImageUtils/app/otbPixelValue.cxx @@ -88,7 +88,7 @@ private: SetDocExampleParameterValue("coordy", "100"); SetDocExampleParameterValue("cl", "Channel1"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppImageUtils/app/otbQuicklook.cxx b/Modules/Applications/AppImageUtils/app/otbQuicklook.cxx index f5f39a13e2..dd7134c620 100644 --- a/Modules/Applications/AppImageUtils/app/otbQuicklook.cxx +++ b/Modules/Applications/AppImageUtils/app/otbQuicklook.cxx @@ -118,7 +118,7 @@ private: SetDocExampleParameterValue("in", "qb_RoadExtract.tif"); SetDocExampleParameterValue("out", "quicklookImage.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppImageUtils/app/otbReadImageInfo.cxx b/Modules/Applications/AppImageUtils/app/otbReadImageInfo.cxx index be45483a39..62857abd2b 100644 --- a/Modules/Applications/AppImageUtils/app/otbReadImageInfo.cxx +++ b/Modules/Applications/AppImageUtils/app/otbReadImageInfo.cxx @@ -247,7 +247,7 @@ private: // Doc example parameter settings SetDocExampleParameterValue("in", "QB_Toulouse_Ortho_XS.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppImageUtils/app/otbRescale.cxx b/Modules/Applications/AppImageUtils/app/otbRescale.cxx index 5213819a95..54cb606e0a 100644 --- a/Modules/Applications/AppImageUtils/app/otbRescale.cxx +++ b/Modules/Applications/AppImageUtils/app/otbRescale.cxx @@ -87,7 +87,7 @@ private: SetDocExampleParameterValue("outmin", "0"); SetDocExampleParameterValue("outmax", "255"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppImageUtils/app/otbSplitImage.cxx b/Modules/Applications/AppImageUtils/app/otbSplitImage.cxx index 4f4dc8fef4..ece8b815a3 100644 --- a/Modules/Applications/AppImageUtils/app/otbSplitImage.cxx +++ b/Modules/Applications/AppImageUtils/app/otbSplitImage.cxx @@ -75,7 +75,7 @@ private: SetDocExampleParameterValue("in", "VegetationIndex.hd"); SetDocExampleParameterValue("out", "splitImage.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppImageUtils/app/otbTileFusion.cxx b/Modules/Applications/AppImageUtils/app/otbTileFusion.cxx index bb33e98344..a3f6a688ae 100644 --- a/Modules/Applications/AppImageUtils/app/otbTileFusion.cxx +++ b/Modules/Applications/AppImageUtils/app/otbTileFusion.cxx @@ -77,7 +77,7 @@ private: SetDocExampleParameterValue("rows","2"); SetDocExampleParameterValue("out", "EntireImage.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppIndices/app/otbRadiometricIndices.cxx b/Modules/Applications/AppIndices/app/otbRadiometricIndices.cxx index 8c3129249d..7204d68c7e 100644 --- a/Modules/Applications/AppIndices/app/otbRadiometricIndices.cxx +++ b/Modules/Applications/AppIndices/app/otbRadiometricIndices.cxx @@ -205,7 +205,7 @@ private: SetDocExampleParameterValue("list", "Vegetation:NDVI Vegetation:RVI Vegetation:IPVI"); SetDocExampleParameterValue("out", "RadiometricIndicesImage.tif"); - otbAppDocLink(); + SetOfficialDocLink(); m_Map.clear(); diff --git a/Modules/Applications/AppKMZ/app/otbKmzExport.cxx b/Modules/Applications/AppKMZ/app/otbKmzExport.cxx index 56f5292aec..efda73d3c9 100644 --- a/Modules/Applications/AppKMZ/app/otbKmzExport.cxx +++ b/Modules/Applications/AppKMZ/app/otbKmzExport.cxx @@ -87,7 +87,7 @@ private: SetDocExampleParameterValue("out", "otbKmzExport.kmz"); SetDocExampleParameterValue("logo", "otb_big.png"); - otbAppDocLink(); + SetOfficialDocLink(); } diff --git a/Modules/Applications/AppMathParser/app/otbBandMath.cxx b/Modules/Applications/AppMathParser/app/otbBandMath.cxx index 7b98ba9d1b..7a03d84c69 100644 --- a/Modules/Applications/AppMathParser/app/otbBandMath.cxx +++ b/Modules/Applications/AppMathParser/app/otbBandMath.cxx @@ -88,7 +88,7 @@ private: SetDocExampleParameterValue("out", "apTvUtBandMathOutput.tif"); SetDocExampleParameterValue("exp", "\"cos(im1b1) > cos(im2b1) ? im3b1 : im3b2\""); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx b/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx index 4dda6c1c69..ef5ed35775 100644 --- a/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx +++ b/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx @@ -173,7 +173,7 @@ private: SetDocExampleParameterValue("out", "apTvUtBandMathOutput.tif"); SetDocExampleParameterValue("exp", "\"cos(im1b1)+im2b1*im3b1-im3b2+ndvi(im3b3, im3b4)\""); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppMoments/app/otbLocalStatisticExtraction.cxx b/Modules/Applications/AppMoments/app/otbLocalStatisticExtraction.cxx index aaf832d025..c743fa256d 100644 --- a/Modules/Applications/AppMoments/app/otbLocalStatisticExtraction.cxx +++ b/Modules/Applications/AppMoments/app/otbLocalStatisticExtraction.cxx @@ -94,7 +94,7 @@ SetDocExampleParameterValue("channel", "1"); SetDocExampleParameterValue("radius", "3"); SetDocExampleParameterValue("out", "Statistics.tif"); -otbAppDocLink(); +SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppMorphology/app/otbBinaryMorphologicalOperation.cxx b/Modules/Applications/AppMorphology/app/otbBinaryMorphologicalOperation.cxx index fa74a38e0d..486dd17945 100644 --- a/Modules/Applications/AppMorphology/app/otbBinaryMorphologicalOperation.cxx +++ b/Modules/Applications/AppMorphology/app/otbBinaryMorphologicalOperation.cxx @@ -158,7 +158,7 @@ SetDocExampleParameterValue("structype.ball.xradius", "5"); SetDocExampleParameterValue("structype.ball.yradius", "5"); SetDocExampleParameterValue("filter", "erode"); -otbAppDocLink(); +SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppMorphology/app/otbGrayScaleMorphologicalOperation.cxx b/Modules/Applications/AppMorphology/app/otbGrayScaleMorphologicalOperation.cxx index 7daf4db95e..b9d26d0f97 100644 --- a/Modules/Applications/AppMorphology/app/otbGrayScaleMorphologicalOperation.cxx +++ b/Modules/Applications/AppMorphology/app/otbGrayScaleMorphologicalOperation.cxx @@ -141,7 +141,7 @@ SetDocExampleParameterValue("structype.ball.xradius", "5"); SetDocExampleParameterValue("structype.ball.yradius", "5"); SetDocExampleParameterValue("filter", "erode"); -otbAppDocLink(); +SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppMorphology/app/otbMorphologicalClassification.cxx b/Modules/Applications/AppMorphology/app/otbMorphologicalClassification.cxx index 60bd751535..3e6d338a09 100644 --- a/Modules/Applications/AppMorphology/app/otbMorphologicalClassification.cxx +++ b/Modules/Applications/AppMorphology/app/otbMorphologicalClassification.cxx @@ -140,7 +140,7 @@ private: SetDocExampleParameterValue( "sigma", "0.5" ); SetDocExampleParameterValue( "out", "output.tif" ); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppMorphology/app/otbMorphologicalMultiScaleDecomposition.cxx b/Modules/Applications/AppMorphology/app/otbMorphologicalMultiScaleDecomposition.cxx index 2a22e1fd96..3cb2b13b98 100644 --- a/Modules/Applications/AppMorphology/app/otbMorphologicalMultiScaleDecomposition.cxx +++ b/Modules/Applications/AppMorphology/app/otbMorphologicalMultiScaleDecomposition.cxx @@ -153,7 +153,7 @@ private: SetDocExampleParameterValue("outconcave", "concave.tif"); SetDocExampleParameterValue("outleveling", "leveling.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppMorphology/app/otbMorphologicalProfilesAnalysis.cxx b/Modules/Applications/AppMorphology/app/otbMorphologicalProfilesAnalysis.cxx index 72c454b67e..3593b85ed6 100644 --- a/Modules/Applications/AppMorphology/app/otbMorphologicalProfilesAnalysis.cxx +++ b/Modules/Applications/AppMorphology/app/otbMorphologicalProfilesAnalysis.cxx @@ -171,7 +171,7 @@ private: SetDocExampleParameterValue( "profile.classification.sigma", "1" ); SetDocExampleParameterValue( "out", "output.tif" ); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppOpticalCalibration/app/otbOpticalCalibration.cxx b/Modules/Applications/AppOpticalCalibration/app/otbOpticalCalibration.cxx index b2423be253..b4253f0665 100644 --- a/Modules/Applications/AppOpticalCalibration/app/otbOpticalCalibration.cxx +++ b/Modules/Applications/AppOpticalCalibration/app/otbOpticalCalibration.cxx @@ -353,7 +353,7 @@ private: SetDocExampleParameterValue("level", "toa"); SetDocExampleParameterValue("out", "OpticalCalibration.tif"); - otbAppDocLink(); + SetOfficialDocLink(); m_inImageName = ""; m_currentEnabledStateOfFluxParam=false; diff --git a/Modules/Applications/AppProjection/app/otbConvertCartoToGeoPoint.cxx b/Modules/Applications/AppProjection/app/otbConvertCartoToGeoPoint.cxx index 255e00f4f1..1d9642aa01 100644 --- a/Modules/Applications/AppProjection/app/otbConvertCartoToGeoPoint.cxx +++ b/Modules/Applications/AppProjection/app/otbConvertCartoToGeoPoint.cxx @@ -90,7 +90,7 @@ private: SetDocExampleParameterValue("mapproj.utm.northhem", "true"); SetDocExampleParameterValue("mapproj.utm.zone", "31"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppProjection/app/otbConvertSensorToGeoPoint.cxx b/Modules/Applications/AppProjection/app/otbConvertSensorToGeoPoint.cxx index eee000f1cf..384c892f14 100644 --- a/Modules/Applications/AppProjection/app/otbConvertSensorToGeoPoint.cxx +++ b/Modules/Applications/AppProjection/app/otbConvertSensorToGeoPoint.cxx @@ -98,7 +98,7 @@ private: SetDocExampleParameterValue("input.idx","200"); SetDocExampleParameterValue("input.idy","200"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppProjection/app/otbGenerateRPCSensorModel.cxx b/Modules/Applications/AppProjection/app/otbGenerateRPCSensorModel.cxx index 33d40a6115..1e3691514c 100644 --- a/Modules/Applications/AppProjection/app/otbGenerateRPCSensorModel.cxx +++ b/Modules/Applications/AppProjection/app/otbGenerateRPCSensorModel.cxx @@ -105,7 +105,7 @@ private: SetDocExampleParameterValue("map","epsg"); SetDocExampleParameterValue("map.epsg.code","32631"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppProjection/app/otbGridBasedImageResampling.cxx b/Modules/Applications/AppProjection/app/otbGridBasedImageResampling.cxx index f401e712ad..72c9073a53 100644 --- a/Modules/Applications/AppProjection/app/otbGridBasedImageResampling.cxx +++ b/Modules/Applications/AppProjection/app/otbGridBasedImageResampling.cxx @@ -185,7 +185,7 @@ private: SetDocExampleParameterValue("out.sizey","256"); SetDocExampleParameterValue("grid.type","def"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppProjection/app/otbImageEnvelope.cxx b/Modules/Applications/AppProjection/app/otbImageEnvelope.cxx index abeb06e90b..4dcee6f234 100644 --- a/Modules/Applications/AppProjection/app/otbImageEnvelope.cxx +++ b/Modules/Applications/AppProjection/app/otbImageEnvelope.cxx @@ -86,7 +86,7 @@ private: SetDocExampleParameterValue("in", "QB_TOULOUSE_MUL_Extract_500_500.tif"); SetDocExampleParameterValue("out", "ImageEnvelope.shp"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppProjection/app/otbObtainUTMZoneFromGeoPoint.cxx b/Modules/Applications/AppProjection/app/otbObtainUTMZoneFromGeoPoint.cxx index 0f1ad545d4..37d0ec7b74 100644 --- a/Modules/Applications/AppProjection/app/otbObtainUTMZoneFromGeoPoint.cxx +++ b/Modules/Applications/AppProjection/app/otbObtainUTMZoneFromGeoPoint.cxx @@ -81,7 +81,7 @@ private: SetDocExampleParameterValue("lat","10.0"); SetDocExampleParameterValue("lon","124.0"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppProjection/app/otbOrthoRectification.cxx b/Modules/Applications/AppProjection/app/otbOrthoRectification.cxx index 11c0060394..11aa91c6f4 100644 --- a/Modules/Applications/AppProjection/app/otbOrthoRectification.cxx +++ b/Modules/Applications/AppProjection/app/otbOrthoRectification.cxx @@ -233,7 +233,7 @@ private: SetDocExampleParameterValue("io.in", "QB_TOULOUSE_MUL_Extract_500_500.tif"); SetDocExampleParameterValue("io.out","QB_Toulouse_ortho.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppProjection/app/otbRefineSensorModel.cxx b/Modules/Applications/AppProjection/app/otbRefineSensorModel.cxx index 5576f727ce..e5829eb164 100644 --- a/Modules/Applications/AppProjection/app/otbRefineSensorModel.cxx +++ b/Modules/Applications/AppProjection/app/otbRefineSensorModel.cxx @@ -102,7 +102,7 @@ private: SetDocExampleParameterValue("map","epsg"); SetDocExampleParameterValue("map.epsg.code","32631"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppProjection/app/otbRigidTransformResample.cxx b/Modules/Applications/AppProjection/app/otbRigidTransformResample.cxx index 53e7cd08b9..f1941b5e9a 100644 --- a/Modules/Applications/AppProjection/app/otbRigidTransformResample.cxx +++ b/Modules/Applications/AppProjection/app/otbRigidTransformResample.cxx @@ -173,7 +173,7 @@ private: SetDocExampleParameterValue("transform.type.rotation.scalex", "2."); SetDocExampleParameterValue("transform.type.rotation.scaley", "2."); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppProjection/app/otbSuperimpose.cxx b/Modules/Applications/AppProjection/app/otbSuperimpose.cxx index 0ec5ca5d75..95ed2a5e93 100644 --- a/Modules/Applications/AppProjection/app/otbSuperimpose.cxx +++ b/Modules/Applications/AppProjection/app/otbSuperimpose.cxx @@ -156,7 +156,7 @@ private: SetDocExampleParameterValue("inm", "QB_Toulouse_Ortho_XS.tif"); SetDocExampleParameterValue("out", "SuperimposedXS_to_PAN.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppProjection/app/otbVectorDataReprojection.cxx b/Modules/Applications/AppProjection/app/otbVectorDataReprojection.cxx index 659f69f49c..82efac5377 100644 --- a/Modules/Applications/AppProjection/app/otbVectorDataReprojection.cxx +++ b/Modules/Applications/AppProjection/app/otbVectorDataReprojection.cxx @@ -114,7 +114,7 @@ private: SetDocExampleParameterValue("out.proj.image.in", "ROI_QB_MUL_1.tif"); SetDocExampleParameterValue("out.vd","reprojected_vd.shp"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppSARCalibration/app/otbSARCalibration.cxx b/Modules/Applications/AppSARCalibration/app/otbSARCalibration.cxx index 25105a875d..d38349f8ea 100644 --- a/Modules/Applications/AppSARCalibration/app/otbSARCalibration.cxx +++ b/Modules/Applications/AppSARCalibration/app/otbSARCalibration.cxx @@ -88,7 +88,7 @@ private: SetDocExampleParameterValue("in", "RSAT_imagery_HH.tif"); SetDocExampleParameterValue("out", "SarRadiometricCalibration.tif" ); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppSARCalibration/app/otbSARDeburst.cxx b/Modules/Applications/AppSARCalibration/app/otbSARDeburst.cxx index 5784e9b3b3..98bbd5924b 100644 --- a/Modules/Applications/AppSARCalibration/app/otbSARDeburst.cxx +++ b/Modules/Applications/AppSARCalibration/app/otbSARDeburst.cxx @@ -70,7 +70,7 @@ private: SetDocExampleParameterValue("in","s1_iw_slc.tif"); SetDocExampleParameterValue("out","s1_iw_slc_deburst.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppSARDecompositions/app/otbSARDecompositions.cxx b/Modules/Applications/AppSARDecompositions/app/otbSARDecompositions.cxx index 9ace67b59d..8d0e99cffc 100644 --- a/Modules/Applications/AppSARDecompositions/app/otbSARDecompositions.cxx +++ b/Modules/Applications/AppSARDecompositions/app/otbSARDecompositions.cxx @@ -157,7 +157,7 @@ private: SetDocExampleParameterValue("decomp", "haa"); SetDocExampleParameterValue("out", "HaA.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppSARPolarMatrixConvert/app/otbSARPolarMatrixConvert.cxx b/Modules/Applications/AppSARPolarMatrixConvert/app/otbSARPolarMatrixConvert.cxx index cd8e0015fe..e558ac68a0 100644 --- a/Modules/Applications/AppSARPolarMatrixConvert/app/otbSARPolarMatrixConvert.cxx +++ b/Modules/Applications/AppSARPolarMatrixConvert/app/otbSARPolarMatrixConvert.cxx @@ -353,7 +353,7 @@ private: SetDocExampleParameterValue("conv", "msinclairtocoherency"); SetDocExampleParameterValue("outc", "mcoherency.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppSARPolarSynth/app/otbSARPolarSynth.cxx b/Modules/Applications/AppSARPolarSynth/app/otbSARPolarSynth.cxx index f4daf0c6d8..236ac0789f 100644 --- a/Modules/Applications/AppSARPolarSynth/app/otbSARPolarSynth.cxx +++ b/Modules/Applications/AppSARPolarSynth/app/otbSARPolarSynth.cxx @@ -151,7 +151,7 @@ private: SetDocExampleParameterValue("khir", "10."); SetDocExampleParameterValue("out", "newbasis.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppSARUtils/app/otbComputeModulusAndPhase.cxx b/Modules/Applications/AppSARUtils/app/otbComputeModulusAndPhase.cxx index c0f318bfe4..a1ec51a1d3 100644 --- a/Modules/Applications/AppSARUtils/app/otbComputeModulusAndPhase.cxx +++ b/Modules/Applications/AppSARUtils/app/otbComputeModulusAndPhase.cxx @@ -91,7 +91,7 @@ private: SetDocExampleParameterValue("modulus", "modulus.tif"); SetDocExampleParameterValue("phase", "phase.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } // DoUpdateParameters() is called as soon as a parameter value change. diff --git a/Modules/Applications/AppSegmentation/app/otbConnectedComponentSegmentation.cxx b/Modules/Applications/AppSegmentation/app/otbConnectedComponentSegmentation.cxx index aef539c34b..c141e8c8c9 100644 --- a/Modules/Applications/AppSegmentation/app/otbConnectedComponentSegmentation.cxx +++ b/Modules/Applications/AppSegmentation/app/otbConnectedComponentSegmentation.cxx @@ -121,7 +121,7 @@ private: SetDocExampleParameterValue("obia", "\"SHAPE_Elongation>8\""); SetDocExampleParameterValue("out", "ConnectedComponentSegmentation.shp"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppSegmentation/app/otbHooverCompareSegmentation.cxx b/Modules/Applications/AppSegmentation/app/otbHooverCompareSegmentation.cxx index 59ad146ac8..48dd57c2ad 100644 --- a/Modules/Applications/AppSegmentation/app/otbHooverCompareSegmentation.cxx +++ b/Modules/Applications/AppSegmentation/app/otbHooverCompareSegmentation.cxx @@ -199,7 +199,7 @@ private: SetDocExampleParameterValue("inms", "maur_labelled.tif"); SetDocExampleParameterValue("outgt", "maur_colored_GT.tif uint8"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppSegmentation/app/otbLSMSSegmentation.cxx b/Modules/Applications/AppSegmentation/app/otbLSMSSegmentation.cxx index 61c2db9c61..dd624673d0 100644 --- a/Modules/Applications/AppSegmentation/app/otbLSMSSegmentation.cxx +++ b/Modules/Applications/AppSegmentation/app/otbLSMSSegmentation.cxx @@ -285,7 +285,7 @@ private: SetDocExampleParameterValue("tilesizex","256"); SetDocExampleParameterValue("tilesizey","256"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx b/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx index 41c7a59689..dc04847b2c 100644 --- a/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx +++ b/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx @@ -121,7 +121,7 @@ private: SetDocExampleParameterValue("tilesizex","256"); SetDocExampleParameterValue("tilesizey","256"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppSegmentation/app/otbLSMSVectorization.cxx b/Modules/Applications/AppSegmentation/app/otbLSMSVectorization.cxx index 8ac2029dec..aa3ea2a1be 100644 --- a/Modules/Applications/AppSegmentation/app/otbLSMSVectorization.cxx +++ b/Modules/Applications/AppSegmentation/app/otbLSMSVectorization.cxx @@ -106,7 +106,7 @@ private: SetDocExampleParameterValue("tilesizex","256"); SetDocExampleParameterValue("tilesizey","256"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppSegmentation/app/otbMeanShiftSmoothing.cxx b/Modules/Applications/AppSegmentation/app/otbMeanShiftSmoothing.cxx index 4d2219190e..6f34edd86e 100644 --- a/Modules/Applications/AppSegmentation/app/otbMeanShiftSmoothing.cxx +++ b/Modules/Applications/AppSegmentation/app/otbMeanShiftSmoothing.cxx @@ -116,7 +116,7 @@ private: SetDocExampleParameterValue("thres", "0.1"); SetDocExampleParameterValue("maxiter", "100"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppSegmentation/app/otbSegmentation.cxx b/Modules/Applications/AppSegmentation/app/otbSegmentation.cxx index 2759e04dda..c8c975c571 100644 --- a/Modules/Applications/AppSegmentation/app/otbSegmentation.cxx +++ b/Modules/Applications/AppSegmentation/app/otbSegmentation.cxx @@ -342,7 +342,7 @@ private: SetDocExampleParameterValue("mode.raster.out", "SegmentationRaster.tif uint16",1); SetDocExampleParameterValue("filter", "meanshift",1); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppStereo/app/otbBlockMatching.cxx b/Modules/Applications/AppStereo/app/otbBlockMatching.cxx index 064a05b9aa..8b19cfabd0 100644 --- a/Modules/Applications/AppStereo/app/otbBlockMatching.cxx +++ b/Modules/Applications/AppStereo/app/otbBlockMatching.cxx @@ -323,7 +323,7 @@ private: SetDocExampleParameterValue("mask.variancet","10"); SetDocExampleParameterValue("io.out","MyDisparity.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppStereo/app/otbDisparityMapToElevationMap.cxx b/Modules/Applications/AppStereo/app/otbDisparityMapToElevationMap.cxx index cca506163c..6f626cf70a 100644 --- a/Modules/Applications/AppStereo/app/otbDisparityMapToElevationMap.cxx +++ b/Modules/Applications/AppStereo/app/otbDisparityMapToElevationMap.cxx @@ -127,7 +127,7 @@ private: SetDocExampleParameterValue("io.rgrid","grid_epi_right.tif"); SetDocExampleParameterValue("io.out","dem.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppStereo/app/otbFineRegistration.cxx b/Modules/Applications/AppStereo/app/otbFineRegistration.cxx index 4452fbc123..d24627f06f 100644 --- a/Modules/Applications/AppStereo/app/otbFineRegistration.cxx +++ b/Modules/Applications/AppStereo/app/otbFineRegistration.cxx @@ -233,7 +233,7 @@ private: SetDocExampleParameterValue("mrx", "3"); SetDocExampleParameterValue("mry", "3"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppStereo/app/otbGeneratePlyFile.cxx b/Modules/Applications/AppStereo/app/otbGeneratePlyFile.cxx index 4801e5bfc1..fde86538ae 100644 --- a/Modules/Applications/AppStereo/app/otbGeneratePlyFile.cxx +++ b/Modules/Applications/AppStereo/app/otbGeneratePlyFile.cxx @@ -89,7 +89,7 @@ private: SetDocExampleParameterValue("out","out.ply"); SetDocExampleParameterValue("incolor","image_color.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppStereo/app/otbStereoFramework.cxx b/Modules/Applications/AppStereo/app/otbStereoFramework.cxx index d929ae28da..312cff69e5 100644 --- a/Modules/Applications/AppStereo/app/otbStereoFramework.cxx +++ b/Modules/Applications/AppStereo/app/otbStereoFramework.cxx @@ -521,7 +521,7 @@ private: SetDocExampleParameterValue("output.res","2.5"); SetDocExampleParameterValue("output.out","dem.tif"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppStereo/app/otbStereoRectificationGridGenerator.cxx b/Modules/Applications/AppStereo/app/otbStereoRectificationGridGenerator.cxx index f40cc288c5..ac8bcfa806 100644 --- a/Modules/Applications/AppStereo/app/otbStereoRectificationGridGenerator.cxx +++ b/Modules/Applications/AppStereo/app/otbStereoRectificationGridGenerator.cxx @@ -200,7 +200,7 @@ private: SetDocExampleParameterValue("io.outright","wv2_xs_right_epi_field.tif"); SetDocExampleParameterValue("epi.elevation.default","400"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppTest/app/otbTestApplication.cxx b/Modules/Applications/AppTest/app/otbTestApplication.cxx index 396a60ed3b..662529c4ca 100644 --- a/Modules/Applications/AppTest/app/otbTestApplication.cxx +++ b/Modules/Applications/AppTest/app/otbTestApplication.cxx @@ -101,7 +101,7 @@ private: SetDocExampleParameterValue("boolean", "true"); SetDocExampleParameterValue("filename", "myFilename.foo"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppTextures/app/otbHaralickTextureExtraction.cxx b/Modules/Applications/AppTextures/app/otbHaralickTextureExtraction.cxx index bbef68085c..7c73c7d7d7 100644 --- a/Modules/Applications/AppTextures/app/otbHaralickTextureExtraction.cxx +++ b/Modules/Applications/AppTextures/app/otbHaralickTextureExtraction.cxx @@ -163,7 +163,7 @@ SetDocExampleParameterValue("parameters.yrad", "3"); SetDocExampleParameterValue("texture", "simple"); SetDocExampleParameterValue("out", "HaralickTextures.tif"); -otbAppDocLink(); +SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppTextures/app/otbSFSTextureExtraction.cxx b/Modules/Applications/AppTextures/app/otbSFSTextureExtraction.cxx index 2b1ac3f8f3..14fb6df2b3 100644 --- a/Modules/Applications/AppTextures/app/otbSFSTextureExtraction.cxx +++ b/Modules/Applications/AppTextures/app/otbSFSTextureExtraction.cxx @@ -118,7 +118,7 @@ SetDocExampleParameterValue("parameters.spethre", "50.0"); SetDocExampleParameterValue("parameters.spathre", "100"); SetDocExampleParameterValue("out", "SFSTextures.tif"); -otbAppDocLink(); +SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppVectorDataTranslation/app/otbRasterization.cxx b/Modules/Applications/AppVectorDataTranslation/app/otbRasterization.cxx index 5fad81fb89..7e35f67165 100644 --- a/Modules/Applications/AppVectorDataTranslation/app/otbRasterization.cxx +++ b/Modules/Applications/AppVectorDataTranslation/app/otbRasterization.cxx @@ -141,7 +141,7 @@ private: SetDocExampleParameterValue("spx","1."); SetDocExampleParameterValue("spy","1."); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppVectorUtils/app/otbConcatenateVectorData.cxx b/Modules/Applications/AppVectorUtils/app/otbConcatenateVectorData.cxx index e98e0a4559..0710b1bf50 100644 --- a/Modules/Applications/AppVectorUtils/app/otbConcatenateVectorData.cxx +++ b/Modules/Applications/AppVectorUtils/app/otbConcatenateVectorData.cxx @@ -71,7 +71,7 @@ private: SetDocExampleParameterValue("vd", "ToulousePoints-examples.shp ToulouseRoad-examples.shp"); SetDocExampleParameterValue("out", "ConcatenatedVectorData.shp"); - otbAppDocLink(); + SetOfficialDocLink(); } diff --git a/Modules/Applications/AppVectorUtils/app/otbOSMDownloader.cxx b/Modules/Applications/AppVectorUtils/app/otbOSMDownloader.cxx index 935494cbd6..0cc82f51d1 100644 --- a/Modules/Applications/AppVectorUtils/app/otbOSMDownloader.cxx +++ b/Modules/Applications/AppVectorUtils/app/otbOSMDownloader.cxx @@ -94,7 +94,7 @@ private: SetDocExampleParameterValue("key", "highway"); SetDocExampleParameterValue("out", "apTvUtOSMDownloader.shp"); - otbAppDocLink(); + SetOfficialDocLink(); } diff --git a/Modules/Applications/AppVectorUtils/app/otbVectorDataExtractROI.cxx b/Modules/Applications/AppVectorUtils/app/otbVectorDataExtractROI.cxx index c5f529685a..1b4e8c8bf7 100644 --- a/Modules/Applications/AppVectorUtils/app/otbVectorDataExtractROI.cxx +++ b/Modules/Applications/AppVectorUtils/app/otbVectorDataExtractROI.cxx @@ -103,7 +103,7 @@ private: SetDocExampleParameterValue("io.vd", "qb_RoadExtract_classification.shp"); SetDocExampleParameterValue("io.out", "apTvUtVectorDataExtractROIApplicationTest.shp"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppVectorUtils/app/otbVectorDataSetField.cxx b/Modules/Applications/AppVectorUtils/app/otbVectorDataSetField.cxx index b62d1f30aa..696a48a7f2 100644 --- a/Modules/Applications/AppVectorUtils/app/otbVectorDataSetField.cxx +++ b/Modules/Applications/AppVectorUtils/app/otbVectorDataSetField.cxx @@ -73,7 +73,7 @@ private: SetDocExampleParameterValue("fn", "Info"); SetDocExampleParameterValue("fv", "Sample polygon"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Applications/AppVectorUtils/app/otbVectorDataTransform.cxx b/Modules/Applications/AppVectorUtils/app/otbVectorDataTransform.cxx index 5dac5118d6..8dc890b605 100644 --- a/Modules/Applications/AppVectorUtils/app/otbVectorDataTransform.cxx +++ b/Modules/Applications/AppVectorUtils/app/otbVectorDataTransform.cxx @@ -108,7 +108,7 @@ private: SetDocExampleParameterValue("out", "VectorDataTransform.shp"); SetDocExampleParameterValue("transform.ro", "5"); - otbAppDocLink(); + SetOfficialDocLink(); } void DoUpdateParameters() ITK_OVERRIDE diff --git a/Modules/Wrappers/ApplicationEngine/include/otbWrapperApplication.h b/Modules/Wrappers/ApplicationEngine/include/otbWrapperApplication.h index 56ce4e3a41..741f5c4e80 100644 --- a/Modules/Wrappers/ApplicationEngine/include/otbWrapperApplication.h +++ b/Modules/Wrappers/ApplicationEngine/include/otbWrapperApplication.h @@ -789,6 +789,14 @@ public: return m_Doclink; } + inline void SetOfficialDocLink() + { + std::string link = "http://www.orfeo-toolbox.org/Applications/"; + link.append(this->GetName()); + link.append(".html"); + this->SetDocLink(link); + } + protected: /** Constructor */ Application(); @@ -979,13 +987,5 @@ private: //#include "otbWrapperApplication.txx" //#endif -// doc link application macro -#define otbAppDocLink() \ - { \ - std::string link = "http://www.orfeo-toolbox.org/Applications/"; \ - link.append(Application::GetName()); \ - link.append(".html"); \ - Application::SetDocLink(link); \ - } #endif // otbWrapperApplication_h_ -- GitLab