Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bas Couwenberg
otb
Commits
69cba7d0
Commit
69cba7d0
authored
May 03, 2017
by
Marina Bertolino
Browse files
REFAC: otbAppDocLink() macro to an inline function
parent
b3489785
Changes
100
Hide whitespace changes
Inline
Side-by-side
Documentation/SoftwareGuide/Latex/WriteAnApplication.tex
View file @
69cba7d0
...
...
@@ -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}
...
...
Modules/Applications/AppChangeDetection/app/otbMultivariateAlterationDetector.cxx
View file @
69cba7d0
...
...
@@ -106,7 +106,7 @@ private:
SetDocExampleParameterValue
(
"in2"
,
"Spot5-Gloucester-after.tif"
);
SetDocExampleParameterValue
(
"out"
,
"detectedChangeImage.tif"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Modules/Applications/AppClassification/app/otbClassificationMapRegularization.cxx
View file @
69cba7d0
...
...
@@ -122,7 +122,7 @@ private:
SetDocExampleParameterValue
(
"ip.nodatalabel"
,
"10"
);
SetDocExampleParameterValue
(
"ip.undecidedlabel"
,
"7"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Modules/Applications/AppClassification/app/otbComputeConfusionMatrix.cxx
View file @
69cba7d0
...
...
@@ -179,7 +179,7 @@ private:
SetDocExampleParameterValue
(
"ref.vector.field"
,
"Class"
);
SetDocExampleParameterValue
(
"ref.vector.nodata"
,
"255"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Modules/Applications/AppClassification/app/otbComputeImagesStatistics.cxx
View file @
69cba7d0
...
...
@@ -75,7 +75,7 @@ private:
SetDocExampleParameterValue
(
"il"
,
"QB_1_ortho.tif"
);
SetDocExampleParameterValue
(
"out"
,
"EstimateImageStatisticsQB1.xml"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Modules/Applications/AppClassification/app/otbComputeOGRLayersFeaturesStatistics.cxx
View file @
69cba7d0
...
...
@@ -72,7 +72,7 @@ private:
SetDocExampleParameterValue
(
"outstats"
,
"results.xml"
);
SetDocExampleParameterValue
(
"feat"
,
"perimeter"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Modules/Applications/AppClassification/app/otbComputePolylineFeatureFromImage.cxx
View file @
69cba7d0
...
...
@@ -113,7 +113,7 @@ private:
SetDocExampleParameterValue
(
"field"
,
"NONDVI"
);
SetDocExampleParameterValue
(
"out"
,
"PolylineFeatureFromImage_LI_NONDVI_gt.shp"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Modules/Applications/AppClassification/app/otbDSFuzzyModelEstimation.cxx
View file @
69cba7d0
...
...
@@ -181,7 +181,7 @@ private:
SetDocExampleParameterValue
(
"optobs"
,
"true"
);
SetDocExampleParameterValue
(
"out"
,
"DSFuzzyModelEstimation.xml"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Modules/Applications/AppClassification/app/otbFusionOfClassifications.cxx
View file @
69cba7d0
...
...
@@ -170,7 +170,7 @@ private:
SetDocExampleParameterValue
(
"undecidedlabel"
,
"10"
);
SetDocExampleParameterValue
(
"out"
,
"classification_fused.tif"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Modules/Applications/AppClassification/app/otbImageClassifier.cxx
View file @
69cba7d0
...
...
@@ -128,7 +128,7 @@ private:
SetDocExampleParameterValue
(
"model"
,
"clsvmModelQB1.svm"
);
SetDocExampleParameterValue
(
"out"
,
"clLabeledImageQB1.tif"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Modules/Applications/AppClassification/app/otbKMeansClassification.cxx
View file @
69cba7d0
...
...
@@ -221,7 +221,7 @@ private:
SetDocExampleParameterValue
(
"ct"
,
"0.0001"
);
SetDocExampleParameterValue
(
"out"
,
"ClassificationFilterOutput.tif"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Modules/Applications/AppClassification/app/otbMultiImageSamplingRate.cxx
View file @
69cba7d0
...
...
@@ -183,7 +183,7 @@ private:
SetDocExampleParameterValue
(
"strategy"
,
"smallest"
);
SetDocExampleParameterValue
(
"mim"
,
"proportional"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
...
...
Modules/Applications/AppClassification/app/otbOGRLayerClassifier.cxx
View file @
69cba7d0
...
...
@@ -91,7 +91,7 @@ private:
SetDocExampleParameterValue
(
"feat"
,
"perimeter"
);
SetDocExampleParameterValue
(
"cfield"
,
"predicted"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Modules/Applications/AppClassification/app/otbPolygonClassStatistics.cxx
View file @
69cba7d0
...
...
@@ -124,7 +124,7 @@ private:
SetDocExampleParameterValue
(
"field"
,
"label"
);
SetDocExampleParameterValue
(
"out"
,
"polygonStat.xml"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Modules/Applications/AppClassification/app/otbPredictRegression.cxx
View file @
69cba7d0
...
...
@@ -179,7 +179,7 @@ private:
SetDocExampleParameterValue
(
"model"
,
"clsvmModelQB1.svm"
);
SetDocExampleParameterValue
(
"out"
,
"clLabeledImageQB1.tif"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Modules/Applications/AppClassification/app/otbSOMClassification.cxx
View file @
69cba7d0
...
...
@@ -175,7 +175,7 @@ private:
SetDocExampleParameterValue
(
"bf"
,
"0.1"
);
SetDocExampleParameterValue
(
"iv"
,
"0"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Modules/Applications/AppClassification/app/otbSampleExtraction.cxx
View file @
69cba7d0
...
...
@@ -116,7 +116,7 @@ private:
SetDocExampleParameterValue
(
"field"
,
"label"
);
SetDocExampleParameterValue
(
"out"
,
"sample_values.sqlite"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
...
...
Modules/Applications/AppClassification/app/otbSampleSelection.cxx
View file @
69cba7d0
...
...
@@ -224,7 +224,7 @@ private:
SetDocExampleParameterValue
(
"instats"
,
"apTvClPolygonClassStatisticsOut.xml"
);
SetDocExampleParameterValue
(
"out"
,
"resampledVectors.sqlite"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
...
...
Modules/Applications/AppClassification/app/otbTrainImagesClassifier.cxx
View file @
69cba7d0
...
...
@@ -83,7 +83,7 @@ public:
SetDocExampleParameterValue
(
"io.out"
,
"svmModelQB1.txt"
);
SetDocExampleParameterValue
(
"io.confmatout"
,
"svmConfusionMatrixQB1.csv"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Modules/Applications/AppClassification/app/otbTrainRegression.cxx
View file @
69cba7d0
...
...
@@ -175,7 +175,7 @@ void DoInit() ITK_OVERRIDE
SetDocExampleParameterValue
(
"io.imstat"
,
"training_statistics.xml"
);
SetDocExampleParameterValue
(
"classifier"
,
"libsvm"
);
otbApp
DocLink
();
SetOfficial
DocLink
();
}
void
DoUpdateParameters
()
ITK_OVERRIDE
...
...
Prev
1
2
3
4
5
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment