Skip to content

App engine flags

Guillaume Pasero requested to merge app_engine_flags into develop

Summary

This merge request contains a part of the improvements on the ApplicationEngine framework, focused on the handling of various flags.

Rationale

The request for comments #1514 contains a description of the context.

Implementation Details

Classes and files

M       Modules/Wrappers/ApplicationEngine/include/otbWrapperApplication.h
M       Modules/Wrappers/ApplicationEngine/include/otbWrapperParameter.h
M       Modules/Wrappers/ApplicationEngine/src/otbWrapperApplication.cxx
M       Modules/Wrappers/QtWidget/include/otbWrapperQtWidgetParameterBase.h
M       Modules/Wrappers/QtWidget/include/otbWrapperQtWidgetParameterGroup.h
M       Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetParameterBase.cxx
M       Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetParameterGroup.cxx

The following points from the Request for Comments are implemented:

  • Remove the enum DefaultValueMode
  • Merge UserValue and AutomaticValue
  • Handle UserValue flag behind the scene
  • Move m_IsChecked to QtWidget

Applications

M       Modules/Applications/AppClassification/app/otbDSFuzzyModelEstimation.cxx
M       Modules/Applications/AppClassification/app/otbKMeansClassification.cxx
M       Modules/Applications/AppClassification/app/otbMultiImageSamplingRate.cxx
M       Modules/Applications/AppClassification/app/otbOGRLayerClassifier.cxx
M       Modules/Applications/AppClassification/app/otbSampleExtraction.cxx
M       Modules/Applications/AppClassification/app/otbSampleSelection.cxx
M       Modules/Applications/AppClassification/app/otbTrainImagesClassifier.cxx
M       Modules/Applications/AppClassification/app/otbTrainRegression.cxx
M       Modules/Applications/AppClassification/app/otbVectorClassifier.cxx
M       Modules/Applications/AppClassification/app/otbVectorDataDSValidation.cxx
M       Modules/Applications/AppClassification/include/otbTrainBoost.txx
M       Modules/Applications/AppClassification/include/otbTrainDecisionTree.txx
M       Modules/Applications/AppClassification/include/otbTrainGradientBoostedTree.txx
M       Modules/Applications/AppClassification/include/otbTrainImagesBase.txx
M       Modules/Applications/AppClassification/include/otbTrainKNN.txx
M       Modules/Applications/AppClassification/include/otbTrainLibSVM.txx
M       Modules/Applications/AppClassification/include/otbTrainNeuralNetwork.txx
M       Modules/Applications/AppClassification/include/otbTrainRandomForests.txx
M       Modules/Applications/AppClassification/include/otbTrainSVM.txx
M       Modules/Applications/AppClassification/include/otbTrainSharkRandomForests.txx
M       Modules/Applications/AppDimensionalityReduction/app/otbDimensionalityReduction.cxx
M       Modules/Applications/AppDomainTransform/app/otbDomainTransform.cxx
M       Modules/Applications/AppFiltering/app/otbSmoothing.cxx
M       Modules/Applications/AppHyperspectral/app/otbHyperspectralUnmixing.cxx
M       Modules/Applications/AppHyperspectral/app/otbVertexComponentAnalysis.cxx
M       Modules/Applications/AppImageUtils/app/otbColorMapping.cxx
M       Modules/Applications/AppImageUtils/app/otbCompareImages.cxx
M       Modules/Applications/AppImageUtils/app/otbConvert.cxx
M       Modules/Applications/AppImageUtils/app/otbDynamicConvert.cxx
M       Modules/Applications/AppImageUtils/app/otbExtractROI.cxx
M       Modules/Applications/AppImageUtils/app/otbManageNoData.cxx
M       Modules/Applications/AppImageUtils/app/otbPixelValue.cxx
M       Modules/Applications/AppImageUtils/app/otbQuicklook.cxx
M       Modules/Applications/AppImageUtils/app/otbReadImageInfo.cxx
M       Modules/Applications/AppMathParserX/app/otbBandMathX.cxx
M       Modules/Applications/AppOpticalCalibration/app/otbOpticalCalibration.cxx
M       Modules/Applications/AppProjection/app/otbConvertCartoToGeoPoint.cxx
M       Modules/Applications/AppProjection/app/otbConvertSensorToGeoPoint.cxx
M       Modules/Applications/AppProjection/app/otbGridBasedImageResampling.cxx
M       Modules/Applications/AppProjection/app/otbObtainUTMZoneFromGeoPoint.cxx
M       Modules/Applications/AppProjection/app/otbOrthoRectification.cxx
M       Modules/Applications/AppProjection/app/otbRigidTransformResample.cxx
M       Modules/Applications/AppProjection/app/otbSuperimpose.cxx
M       Modules/Applications/AppSegmentation/app/otbHooverCompareSegmentation.cxx
M       Modules/Applications/AppSegmentation/app/otbSegmentation.cxx
M       Modules/Applications/AppStereo/app/otbStereoFramework.cxx
M       Modules/Applications/AppVectorDataTranslation/app/otbRasterization.cxx

The user value flag in Application::SetParameterXXX is not needed anymore in applications.

Tests

No modification

Documentation

None

Additional notes

Merge request reports