diff --git a/Modules/Applications/AppChangeDetection/app/otbMultivariateAlterationDetector.cxx b/Modules/Applications/AppChangeDetection/app/otbMultivariateAlterationDetector.cxx index cacfcc8141e013dc7f46854ff5baa7a76bfd56dc..d84f93db64f3b8ebe37e786bf963e293d5f2431b 100644 --- a/Modules/Applications/AppChangeDetection/app/otbMultivariateAlterationDetector.cxx +++ b/Modules/Applications/AppChangeDetection/app/otbMultivariateAlterationDetector.cxx @@ -40,7 +40,7 @@ public: itkTypeMacro(MultivariateAlterationDetector, otb::Wrapper::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("MultivariateAlterationDetector"); SetDescription("Multivariate Alteration Detector"); @@ -104,11 +104,11 @@ private: SetDocExampleParameterValue("out", "detectedChangeImage.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { } - void DoExecute() + void DoExecute() ITK_OVERRIDE { typedef otb::MultivariateAlterationDetectorImageFilter< FloatVectorImageType, diff --git a/Modules/Applications/AppClassification/app/otbClassificationMapRegularization.cxx b/Modules/Applications/AppClassification/app/otbClassificationMapRegularization.cxx index e535991b5eb6fa4d3f38b6d2e66869526c497b54..4652d5556255407d811c591fb0729add8e462b90 100644 --- a/Modules/Applications/AppClassification/app/otbClassificationMapRegularization.cxx +++ b/Modules/Applications/AppClassification/app/otbClassificationMapRegularization.cxx @@ -53,7 +53,7 @@ public: private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ClassificationMapRegularization"); SetDescription("Filters the input labeled image using Majority Voting in a ball shaped neighbordhood."); @@ -111,12 +111,12 @@ private: SetDocExampleParameterValue("ip.undecidedlabel", "7"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Majority Voting m_NeighMajVotingFilter = NeighborhoodMajorityVotingFilterType::New(); diff --git a/Modules/Applications/AppClassification/app/otbComputeConfusionMatrix.cxx b/Modules/Applications/AppClassification/app/otbComputeConfusionMatrix.cxx index 3aed87bd664e084610aee0decdc16415ae71076b..cf138b8da38c32c3a91d9587afeb6096ac7470af 100644 --- a/Modules/Applications/AppClassification/app/otbComputeConfusionMatrix.cxx +++ b/Modules/Applications/AppClassification/app/otbComputeConfusionMatrix.cxx @@ -71,7 +71,7 @@ public: private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ComputeConfusionMatrix"); SetDescription("Computes the confusion matrix of a classification"); @@ -132,7 +132,7 @@ private: SetDocExampleParameterValue("nodatalabel","255"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } @@ -209,7 +209,7 @@ private: } - void DoExecute() + void DoExecute() ITK_OVERRIDE { Int32ImageType* input = this->GetParameterInt32Image("in"); diff --git a/Modules/Applications/AppClassification/app/otbComputeImagesStatistics.cxx b/Modules/Applications/AppClassification/app/otbComputeImagesStatistics.cxx index f48ec15b740efb567106090e87eb7b0ccb56b439..990d41ba1a9d7fb4e80ad69ee4ef1c7db3d9a96c 100644 --- a/Modules/Applications/AppClassification/app/otbComputeImagesStatistics.cxx +++ b/Modules/Applications/AppClassification/app/otbComputeImagesStatistics.cxx @@ -42,7 +42,7 @@ public: itkTypeMacro(ComputeImagesStatistics, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ComputeImagesStatistics"); SetDescription("Computes global mean and standard deviation for each band from a set of images and optionally saves the results in an XML file."); @@ -71,12 +71,12 @@ private: SetDocExampleParameterValue("out", "EstimateImageStatisticsQB1.xml"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { //Statistics estimator typedef otb::StreamingStatisticsVectorImageFilter<FloatVectorImageType> StreamingStatisticsVImageFilterType; diff --git a/Modules/Applications/AppClassification/app/otbComputeOGRLayersFeaturesStatistics.cxx b/Modules/Applications/AppClassification/app/otbComputeOGRLayersFeaturesStatistics.cxx index 096a70cc4c1dfb13060de010a1bd451d2fec8732..d6153c48801e1c8046e98c762061ae0811fc24e3 100644 --- a/Modules/Applications/AppClassification/app/otbComputeOGRLayersFeaturesStatistics.cxx +++ b/Modules/Applications/AppClassification/app/otbComputeOGRLayersFeaturesStatistics.cxx @@ -42,7 +42,7 @@ public: ; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ComputeOGRLayersFeaturesStatistics"); SetDescription("Compute statistics of the features in a set of OGR Layers"); @@ -70,7 +70,7 @@ private: } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { if ( HasValue("inshp") ) { @@ -101,7 +101,7 @@ private: } } - void DoExecute() + void DoExecute() ITK_OVERRIDE { clock_t tic = clock(); diff --git a/Modules/Applications/AppClassification/app/otbComputePolylineFeatureFromImage.cxx b/Modules/Applications/AppClassification/app/otbComputePolylineFeatureFromImage.cxx index 8d588ae7b1a6e32a4dbf5d7734a918d0b16202f6..ff97cd686cdfc98f575136d0ca8a77261cc7d445 100644 --- a/Modules/Applications/AppClassification/app/otbComputePolylineFeatureFromImage.cxx +++ b/Modules/Applications/AppClassification/app/otbComputePolylineFeatureFromImage.cxx @@ -73,7 +73,7 @@ public: ; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ComputePolylineFeatureFromImage"); SetDescription("This application compute for each studied polyline, contained in the input VectorData, the chosen descriptors."); @@ -111,12 +111,12 @@ private: SetDocExampleParameterValue("out", "PolylineFeatureFromImage_LI_NONDVI_gt.shp"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Vector Data into Image projection FloatVectorImageType::Pointer inImage = GetParameterImage("in"); diff --git a/Modules/Applications/AppClassification/app/otbDSFuzzyModelEstimation.cxx b/Modules/Applications/AppClassification/app/otbDSFuzzyModelEstimation.cxx index cd7c9883616e5514719ca1242b7089c357992e73..528cc0496fd11082c1cb4fef98cf14f38923ec8b 100644 --- a/Modules/Applications/AppClassification/app/otbDSFuzzyModelEstimation.cxx +++ b/Modules/Applications/AppClassification/app/otbDSFuzzyModelEstimation.cxx @@ -48,12 +48,12 @@ typedef itk::AmoebaOptimizer OptimizerType; typedef const OptimizerType * OptimizerPointer; -void Execute(itk::Object *caller, const itk::EventObject & event) +void Execute(itk::Object *caller, const itk::EventObject & event) ITK_OVERRIDE { Execute( (const itk::Object *)caller, event); } -void Execute(const itk::Object * object, const itk::EventObject & event) +void Execute(const itk::Object * object, const itk::EventObject & event) ITK_OVERRIDE { OptimizerPointer optimizer = dynamic_cast< OptimizerPointer >( object ); @@ -112,7 +112,7 @@ public: itkTypeMacro(DSFuzzyModelEstimation, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("DSFuzzyModelEstimation"); SetDescription("Estimate feature fuzzy model parameters using 2 vector data (ground truth samples and wrong samples)."); @@ -179,7 +179,7 @@ private: SetDocExampleParameterValue("out", "DSFuzzyModelEstimation.xml"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent @@ -189,7 +189,7 @@ private: } - void DoExecute() + void DoExecute() ITK_OVERRIDE { //Instantiate diff --git a/Modules/Applications/AppClassification/app/otbFusionOfClassifications.cxx b/Modules/Applications/AppClassification/app/otbFusionOfClassifications.cxx index 3eac231b527e3c257ac611d54a26beb56cf337c1..7b52a9026b4870c26f8897c0d808e79a1006f18e 100644 --- a/Modules/Applications/AppClassification/app/otbFusionOfClassifications.cxx +++ b/Modules/Applications/AppClassification/app/otbFusionOfClassifications.cxx @@ -90,7 +90,7 @@ public: itkTypeMacro(FusionOfClassifications, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("FusionOfClassifications"); SetDescription("Fuses several classifications maps of the same image on the basis of class labels."); @@ -168,7 +168,7 @@ private: SetDocExampleParameterValue("out","classification_fused.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } @@ -280,7 +280,7 @@ private: } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Clear any previous filter m_Filters.clear(); diff --git a/Modules/Applications/AppClassification/app/otbImageClassifier.cxx b/Modules/Applications/AppClassification/app/otbImageClassifier.cxx index 2a33fb63e53b79af092def8328e4e0681796ebfa..9442729120bfb45f3d67525f973883f7d49a0b82 100644 --- a/Modules/Applications/AppClassification/app/otbImageClassifier.cxx +++ b/Modules/Applications/AppClassification/app/otbImageClassifier.cxx @@ -62,7 +62,7 @@ public: typedef ClassificationFilterType::ConfidenceImageType ConfidenceImageType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ImageClassifier"); SetDescription("Performs a classification of the input image according to a model file."); @@ -119,12 +119,12 @@ private: SetDocExampleParameterValue("out", "clLabeledImageQB1.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Load input image FloatVectorImageType::Pointer inImage = GetParameterImage("in"); diff --git a/Modules/Applications/AppClassification/app/otbKMeansClassification.cxx b/Modules/Applications/AppClassification/app/otbKMeansClassification.cxx index 3d42261c525a277654cfbabaee7f4183e3da7adf..e713cda0a8d193fb7231dba8cdb5c7c850b26c28 100644 --- a/Modules/Applications/AppClassification/app/otbKMeansClassification.cxx +++ b/Modules/Applications/AppClassification/app/otbKMeansClassification.cxx @@ -164,7 +164,7 @@ public: itkTypeMacro(KMeansClassification, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("KMeansClassification"); SetDescription("Unsupervised KMeans image classification"); @@ -218,7 +218,7 @@ private: SetDocExampleParameterValue("out", "ClassificationFilterOutput.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // test of input image // if (HasValue("in")) @@ -251,7 +251,7 @@ private: } } - void DoExecute() + void DoExecute() ITK_OVERRIDE { GetLogger()->Debug("Entering DoExecute\n"); diff --git a/Modules/Applications/AppClassification/app/otbOGRLayerClassifier.cxx b/Modules/Applications/AppClassification/app/otbOGRLayerClassifier.cxx index 27b56434f64437218be777ea225a519064c96c35..50a8a736e05dab904f5c622fc8868cdb58758841 100644 --- a/Modules/Applications/AppClassification/app/otbOGRLayerClassifier.cxx +++ b/Modules/Applications/AppClassification/app/otbOGRLayerClassifier.cxx @@ -51,7 +51,7 @@ public: ; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("OGRLayerClassifier"); SetDescription("Classify an OGR layer based on a machine learning model and a list of features to consider."); @@ -89,7 +89,7 @@ private: } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { if ( HasValue("inshp") ) { @@ -120,7 +120,7 @@ private: } } - void DoExecute() + void DoExecute() ITK_OVERRIDE { #ifdef OTB_USE_LIBSVM diff --git a/Modules/Applications/AppClassification/app/otbPolygonClassStatistics.cxx b/Modules/Applications/AppClassification/app/otbPolygonClassStatistics.cxx index 50f699b13792ff0a2119c1a0b6e22cfdc2ad49f8..545d091ef4855b4262cd5ce63d2249ac8862e7d7 100644 --- a/Modules/Applications/AppClassification/app/otbPolygonClassStatistics.cxx +++ b/Modules/Applications/AppClassification/app/otbPolygonClassStatistics.cxx @@ -51,7 +51,7 @@ private: } - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("PolygonClassStatistics"); SetDescription("Computes statistics on a training polygon set."); @@ -108,12 +108,12 @@ private: SetDocExampleParameterValue("out","polygonStat.xml"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do } - void DoExecute() + void DoExecute() ITK_OVERRIDE { otb::ogr::DataSource::Pointer vectors = otb::ogr::DataSource::New(this->GetParameterString("vec")); diff --git a/Modules/Applications/AppClassification/app/otbPredictRegression.cxx b/Modules/Applications/AppClassification/app/otbPredictRegression.cxx index 80b1f2ce2f47d2949b9e108ab550ab1ee2d9ee9c..30fad3edf1961ea017803d1eff06c89c2bf168ee 100644 --- a/Modules/Applications/AppClassification/app/otbPredictRegression.cxx +++ b/Modules/Applications/AppClassification/app/otbPredictRegression.cxx @@ -103,7 +103,7 @@ public: typedef otb::MachineLearningModelFactory<ValueType, LabelType> MachineLearningModelFactoryType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("PredictRegression"); SetDescription("Performs a prediction of the input image according to a regression model file."); @@ -170,12 +170,12 @@ private: SetDocExampleParameterValue("out", "clLabeledImageQB1.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Load input image FloatVectorImageType::Pointer inImage = GetParameterImage("in"); diff --git a/Modules/Applications/AppClassification/app/otbSOMClassification.cxx b/Modules/Applications/AppClassification/app/otbSOMClassification.cxx index de5dc07beaf9ff492b241f74ef2cd0e57d781456..d7f90750fc158ea06ccab2de176fdca0290c1f46 100644 --- a/Modules/Applications/AppClassification/app/otbSOMClassification.cxx +++ b/Modules/Applications/AppClassification/app/otbSOMClassification.cxx @@ -73,7 +73,7 @@ private: m_Classifier = ClassificationFilterType::New(); } - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("SOMClassification"); SetDescription("SOM image classification."); @@ -173,12 +173,12 @@ private: SetDocExampleParameterValue("iv", "0"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // initiating random number generation itk::Statistics::MersenneTwisterRandomVariateGenerator::Pointer diff --git a/Modules/Applications/AppClassification/app/otbTrainImagesClassifier.cxx b/Modules/Applications/AppClassification/app/otbTrainImagesClassifier.cxx index 3ffecfbb0e6f750070f120493d45b9c8b9434c57..87d80a7a4410f96dbb2e0af7880c066c19e23b28 100644 --- a/Modules/Applications/AppClassification/app/otbTrainImagesClassifier.cxx +++ b/Modules/Applications/AppClassification/app/otbTrainImagesClassifier.cxx @@ -102,7 +102,7 @@ protected: private: -void DoInit() +void DoInit() ITK_OVERRIDE { SetName("TrainImagesClassifier"); SetDescription( @@ -199,7 +199,7 @@ void DoInit() SetDocExampleParameterValue("io.confmatout", "svmConfusionMatrixQB1.csv"); } -void DoUpdateParameters() +void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } @@ -275,7 +275,7 @@ void LogConfusionMatrix(ConfusionMatrixCalculatorType* confMatCalc) otbAppLogINFO("Confusion matrix (rows = reference labels, columns = produced labels):\n" << os.str()); } -void DoExecute() +void DoExecute() ITK_OVERRIDE { //Create training and validation for list samples and label list samples ConcatenateLabelListSampleFilterType::Pointer concatenateTrainingLabels = diff --git a/Modules/Applications/AppClassification/app/otbTrainOGRLayersClassifier.cxx b/Modules/Applications/AppClassification/app/otbTrainOGRLayersClassifier.cxx index 96dfef756458d2185f5553c2d264a5ccf001b014..33b752fb4616f0a06023e71e26b65b086084387c 100644 --- a/Modules/Applications/AppClassification/app/otbTrainOGRLayersClassifier.cxx +++ b/Modules/Applications/AppClassification/app/otbTrainOGRLayersClassifier.cxx @@ -51,7 +51,7 @@ public: ; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("TrainOGRLayersClassifier"); SetDescription("Train a SVM classifier based on labeled geometries and a list of features to consider."); @@ -88,7 +88,7 @@ private: } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { if ( HasValue("inshp") ) { @@ -119,7 +119,7 @@ private: } } - void DoExecute() + void DoExecute() ITK_OVERRIDE { #ifdef OTB_USE_LIBSVM clock_t tic = clock(); diff --git a/Modules/Applications/AppClassification/app/otbTrainRegression.cxx b/Modules/Applications/AppClassification/app/otbTrainRegression.cxx index 01a8398323a82ca8625ccb5056c50086b51892e3..3039d44a0a053a5a84787683258069c16575b27c 100644 --- a/Modules/Applications/AppClassification/app/otbTrainRegression.cxx +++ b/Modules/Applications/AppClassification/app/otbTrainRegression.cxx @@ -95,7 +95,7 @@ protected: private: -void DoInit() +void DoInit() ITK_OVERRIDE { SetName("TrainRegression"); SetDescription( @@ -172,7 +172,7 @@ void DoInit() SetDocExampleParameterValue("classifier", "libsvm"); } -void DoUpdateParameters() +void DoUpdateParameters() ITK_OVERRIDE { if (HasValue("io.csv") && IsParameterEnabled("io.csv")) { @@ -253,7 +253,7 @@ void ParseCSVPredictors(std::string path, ListSampleType* outputList) ifs.close(); } -void DoExecute() +void DoExecute() ITK_OVERRIDE { GetLogger()->Debug("Entering DoExecute\n"); //Create training and validation for list samples and label list samples diff --git a/Modules/Applications/AppClassification/app/otbVectorDataDSValidation.cxx b/Modules/Applications/AppClassification/app/otbVectorDataDSValidation.cxx index 4c29d7d5b5da68e87a3bdf1f9f58b5eb799932ad..c260e168195bc5b9e923b4ac34e48bec6a054a63 100644 --- a/Modules/Applications/AppClassification/app/otbVectorDataDSValidation.cxx +++ b/Modules/Applications/AppClassification/app/otbVectorDataDSValidation.cxx @@ -55,7 +55,7 @@ public: itkTypeMacro(VectorDataDSValidation, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("VectorDataDSValidation"); SetDescription("Vector data validation based on the fusion of features using Dempster-Shafer evidence theory framework."); @@ -102,7 +102,7 @@ private: } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent @@ -112,7 +112,7 @@ private: } - void DoExecute() + void DoExecute() ITK_OVERRIDE { //Read the vector data diff --git a/Modules/Applications/AppDescriptors/app/otbHomologousPointsExtraction.cxx b/Modules/Applications/AppDescriptors/app/otbHomologousPointsExtraction.cxx index bc1c11ada2ac2ee3be87c871bccba14d8fe7869a..6284f6b58965bcd906dc7d7e00c24bed8b45baa5 100644 --- a/Modules/Applications/AppDescriptors/app/otbHomologousPointsExtraction.cxx +++ b/Modules/Applications/AppDescriptors/app/otbHomologousPointsExtraction.cxx @@ -77,7 +77,7 @@ public: itkTypeMacro(HomologousPointsExtraction, otb::Wrapper::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("HomologousPointsExtraction"); SetDocName("Homologous points extraction"); @@ -197,7 +197,7 @@ private: SetDocExampleParameterValue("out","homologous.txt"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { } @@ -321,7 +321,7 @@ private: } - void DoExecute() + void DoExecute() ITK_OVERRIDE { OGRMultiLineString mls; diff --git a/Modules/Applications/AppDimensionalityReduction/app/otbDimensionalityReduction.cxx b/Modules/Applications/AppDimensionalityReduction/app/otbDimensionalityReduction.cxx index 9fcd0ed5a87b35502c5e8091fc918ef16994bb33..06e07d00ad394a5f89004263db84829073823cd1 100644 --- a/Modules/Applications/AppDimensionalityReduction/app/otbDimensionalityReduction.cxx +++ b/Modules/Applications/AppDimensionalityReduction/app/otbDimensionalityReduction.cxx @@ -86,7 +86,7 @@ public: ; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("DimensionalityReduction"); SetDescription("Perform Dimension reduction of the input image."); @@ -175,7 +175,7 @@ private: SetDocExampleParameterValue("method", "pca"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { if (HasValue("in")) { @@ -223,7 +223,7 @@ private: } } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Get Parameters diff --git a/Modules/Applications/AppEdge/app/otbEdgeExtraction.cxx b/Modules/Applications/AppEdge/app/otbEdgeExtraction.cxx index caca296741ccb7b6adc11dd0d1f50dcbcc338aab..444749182f0b0c937d2e3a7ee6f36bd7df1c0097 100644 --- a/Modules/Applications/AppEdge/app/otbEdgeExtraction.cxx +++ b/Modules/Applications/AppEdge/app/otbEdgeExtraction.cxx @@ -58,7 +58,7 @@ itkTypeMacro(EdgeExtraction, otb::Application); private: -void DoInit() +void DoInit() ITK_OVERRIDE { SetName("EdgeExtraction"); SetDescription("Computes edge features on every pixel of the input image selected channel"); @@ -121,12 +121,12 @@ SetDocExampleParameterValue("channel", "1"); SetDocExampleParameterValue("out", "Edges.tif"); } -void DoUpdateParameters() +void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } -void DoExecute() +void DoExecute() ITK_OVERRIDE { FloatVectorImageType::Pointer inImage = GetParameterImage("in"); inImage->UpdateOutputInformation(); diff --git a/Modules/Applications/AppEdge/app/otbLineSegmentDetection.cxx b/Modules/Applications/AppEdge/app/otbLineSegmentDetection.cxx index 230fe1a4d3a9be11a187383edcfdf1a066239e61..4212104bde1e006197b27e4863b259fb07c91baf 100644 --- a/Modules/Applications/AppEdge/app/otbLineSegmentDetection.cxx +++ b/Modules/Applications/AppEdge/app/otbLineSegmentDetection.cxx @@ -50,7 +50,7 @@ public: itkTypeMacro(LineSegmentDetection, otb::Wrapper::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("LineSegmentDetection"); SetDescription("Detect line segments in raster"); @@ -82,11 +82,11 @@ private: SetDocExampleParameterValue("out", "LineSegmentDetection.shp"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { } - void DoExecute() + void DoExecute() ITK_OVERRIDE { typedef otb::VectorImageToAmplitudeImageFilter<FloatVectorImageType, FloatImageType> VectorImageToAmplitudeImageFilterType; diff --git a/Modules/Applications/AppFiltering/app/otbDespeckle.cxx b/Modules/Applications/AppFiltering/app/otbDespeckle.cxx index bdd6b49716617018bb03971f16d12fe04a7e185e..0fde206f26a6a2577acfb4fa32bf37dae162631b 100644 --- a/Modules/Applications/AppFiltering/app/otbDespeckle.cxx +++ b/Modules/Applications/AppFiltering/app/otbDespeckle.cxx @@ -51,7 +51,7 @@ public: itkTypeMacro(Despeckle, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("Despeckle"); SetDescription("Perform speckle noise reduction on SAR image."); @@ -123,12 +123,12 @@ private: SetDocExampleParameterValue("out", "despeckle.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { FloatVectorImageType* inVImage = GetParameterImage("in"); diff --git a/Modules/Applications/AppFiltering/app/otbSmoothing.cxx b/Modules/Applications/AppFiltering/app/otbSmoothing.cxx index 210c2f2eb73254b9970d6bc96ede77802cfd6ee9..18cd825f50212ee39e70be300824861e15503d23 100644 --- a/Modules/Applications/AppFiltering/app/otbSmoothing.cxx +++ b/Modules/Applications/AppFiltering/app/otbSmoothing.cxx @@ -52,7 +52,7 @@ public: itkTypeMacro(Smoothing, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("Smoothing"); SetDescription("Apply a smoothing filter to an image"); @@ -120,12 +120,12 @@ private: SetDocExampleParameterValue("type.anidif.conductance", "1.5", exId); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { GetLogger()->Debug("Entering DoExecute\n"); diff --git a/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx b/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx index 8fe879ccf4efc16b3658e07ab5330833f326cf14..94bb44a6ac0859b62b1efe039c75b68da6b0e80b 100644 --- a/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx +++ b/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx @@ -50,7 +50,7 @@ public: private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("BundleToPerfectSensor"); SetDescription("Perform P+XS pansharpening"); @@ -102,7 +102,7 @@ private: } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { if(!HasUserValue("mode") && HasValue("inp") && HasValue("inxs") && otb::PleiadesPToXSAffineTransformCalculator::CanCompute(GetParameterImage("inp"),GetParameterImage("inxs"))) { @@ -111,7 +111,7 @@ private: } } - void DoExecute() + void DoExecute() ITK_OVERRIDE { FloatVectorImageType* panchroV = GetParameterImage("inp"); FloatVectorImageType* xs = GetParameterImage("inxs"); diff --git a/Modules/Applications/AppFusion/app/otbPansharpening.cxx b/Modules/Applications/AppFusion/app/otbPansharpening.cxx index 41d98e0fdcead3bcb8b9baaa8c969411a53610b3..7b5e9def30223975eec5380f251ee6bb061e59fc 100644 --- a/Modules/Applications/AppFusion/app/otbPansharpening.cxx +++ b/Modules/Applications/AppFusion/app/otbPansharpening.cxx @@ -70,7 +70,7 @@ public: private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("Pansharpening"); SetDescription("Perform P+XS pansharpening"); @@ -134,12 +134,12 @@ private: } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { FloatVectorImageType* panchroV = GetParameterImage("inp"); if ( panchroV->GetNumberOfComponentsPerPixel() != 1 ) diff --git a/Modules/Applications/AppHyperspectral/app/otbHyperspectralUnmixing.cxx b/Modules/Applications/AppHyperspectral/app/otbHyperspectralUnmixing.cxx index e627f82a415578e269b454675f8a5de733568cd4..3894ed1484558ebe1df7314b0294b6f6f91889f0 100644 --- a/Modules/Applications/AppHyperspectral/app/otbHyperspectralUnmixing.cxx +++ b/Modules/Applications/AppHyperspectral/app/otbHyperspectralUnmixing.cxx @@ -89,7 +89,7 @@ public: itkTypeMacro(HyperspectralUnmixing, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("HyperspectralUnmixing"); SetDescription("Estimate abundance maps from an hyperspectral image and a set of endmembers."); @@ -137,12 +137,12 @@ private: SetDocExampleParameterValue("ua", "ucls"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { m_ProcessObjects.clear(); diff --git a/Modules/Applications/AppHyperspectral/app/otbVertexComponentAnalysis.cxx b/Modules/Applications/AppHyperspectral/app/otbVertexComponentAnalysis.cxx index 34a521e47d32831d114c5c3404d09bea832d4f91..cc729585ce5ae1ec0a16af75048f930f15f12973 100644 --- a/Modules/Applications/AppHyperspectral/app/otbVertexComponentAnalysis.cxx +++ b/Modules/Applications/AppHyperspectral/app/otbVertexComponentAnalysis.cxx @@ -44,7 +44,7 @@ public: itkTypeMacro(VertexComponentAnalysis, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("VertexComponentAnalysis"); SetDescription("Find endmembers in hyperspectral images with Vertex Component Analysis"); @@ -78,12 +78,12 @@ private: SetDocExampleParameterValue("outendm", "VertexComponentAnalysis.tif double"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { DoubleVectorImageType::Pointer inputImage = GetParameterDoubleVectorImage("in"); DoubleVectorImageType::Pointer endmembersImage; diff --git a/Modules/Applications/AppImageUtils/app/otbColorMapping.cxx b/Modules/Applications/AppImageUtils/app/otbColorMapping.cxx index e6433df582042a908680c72c384c79278d11bb72..37d55102e538f1be969756ead476735f1deccf4a 100644 --- a/Modules/Applications/AppImageUtils/app/otbColorMapping.cxx +++ b/Modules/Applications/AppImageUtils/app/otbColorMapping.cxx @@ -244,7 +244,7 @@ public: <FloatImageType, LabelImageType> CasterToLabelImageType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ColorMapping"); SetDescription("Maps an input label image to 8-bits RGB using look-up tables."); @@ -392,7 +392,7 @@ private: SetDocExampleParameterValue("out", "Colorized_ROI_QB_MUL_1_SVN_CLASS_MULTI.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Make sure the operation color->label is not called with methods continuous or image. // These methods are not implemented for this operation yet. @@ -406,7 +406,7 @@ private: } } - void DoExecute() + void DoExecute() ITK_OVERRIDE { if(GetParameterInt("op")==0) { diff --git a/Modules/Applications/AppImageUtils/app/otbCompareImages.cxx b/Modules/Applications/AppImageUtils/app/otbCompareImages.cxx index 4b336187ae9cf0591b62d6d631248915b2f47172..6084c38755b3e54cb51fb29bdda94f2f7bdfbefa 100644 --- a/Modules/Applications/AppImageUtils/app/otbCompareImages.cxx +++ b/Modules/Applications/AppImageUtils/app/otbCompareImages.cxx @@ -46,7 +46,7 @@ public: typedef otb::StreamingCompareImageFilter<FloatImageType> StreamingCompareImageFilterType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("CompareImages"); SetDescription("Estimator between 2 images."); @@ -121,7 +121,7 @@ private: SetDocExampleParameterValue("roi.sizey", "200"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Set channel interval if( HasValue("ref.in") ) @@ -156,7 +156,7 @@ private: } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Init filters m_ExtractRefFilter = ExtractROIMonoFilterType::New(); diff --git a/Modules/Applications/AppImageUtils/app/otbConcatenateImages.cxx b/Modules/Applications/AppImageUtils/app/otbConcatenateImages.cxx index 9d39a839b2adc63419da5d37edf0badf83a26ee2..3b981669cba94d03ec8254a80b294a635f71b3b4 100644 --- a/Modules/Applications/AppImageUtils/app/otbConcatenateImages.cxx +++ b/Modules/Applications/AppImageUtils/app/otbConcatenateImages.cxx @@ -51,7 +51,7 @@ public: typedef ObjectList<ExtractROIFilterType> ExtractROIFilterListType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ConcatenateImages"); SetDescription("Concatenate a list of images of the same size into a single multi-channel one."); @@ -84,7 +84,7 @@ private: SetDocExampleParameterValue("out", "otbConcatenateImages.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here for the parameters : all are independent @@ -94,7 +94,7 @@ private: m_ExtractorList = ExtractROIFilterListType::New(); } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Get the input image list FloatVectorImageListType::Pointer inList = this->GetParameterImageList("il"); diff --git a/Modules/Applications/AppImageUtils/app/otbConvert.cxx b/Modules/Applications/AppImageUtils/app/otbConvert.cxx index 7bd8d1ffcbf5d7d5bdbb2f71ab4582531323c3b7..7de721d7863d62698879a16c4800a58b436cb0db 100644 --- a/Modules/Applications/AppImageUtils/app/otbConvert.cxx +++ b/Modules/Applications/AppImageUtils/app/otbConvert.cxx @@ -75,7 +75,7 @@ public: private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("Convert"); SetDescription("Convert an image to a different format, eventually rescaling the data" @@ -136,7 +136,7 @@ private: SetDocExampleParameterValue("type", "linear"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here for the parameters : all are independent } @@ -316,7 +316,7 @@ private: } - void DoExecute() + void DoExecute() ITK_OVERRIDE { switch ( this->GetParameterOutputImagePixelType("out") ) { diff --git a/Modules/Applications/AppImageUtils/app/otbDEMConvert.cxx b/Modules/Applications/AppImageUtils/app/otbDEMConvert.cxx index af07ee3ac3805f844be855ff953433246e1300a1..a997f673d3eaf95a2f04b40e7bb162e05b0ae281 100644 --- a/Modules/Applications/AppImageUtils/app/otbDEMConvert.cxx +++ b/Modules/Applications/AppImageUtils/app/otbDEMConvert.cxx @@ -42,7 +42,7 @@ public: itkTypeMacro(DEMConvert, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("DEMConvert"); SetDescription("Converts a geo-referenced DEM image into a general raster file compatible with OTB DEM handling."); @@ -70,7 +70,7 @@ private: SetDocExampleParameterValue("out", "outputDEM"); } -void DoUpdateParameters() +void DoUpdateParameters() ITK_OVERRIDE { // nothing to update } @@ -80,7 +80,7 @@ void DoUpdateParameters() * (.ras, .geom and . omd) */ -void DoExecute() +void DoExecute() ITK_OVERRIDE { // Load input image FloatVectorImageType::Pointer inImage = GetParameterImage("in"); diff --git a/Modules/Applications/AppImageUtils/app/otbDownloadSRTMTiles.cxx b/Modules/Applications/AppImageUtils/app/otbDownloadSRTMTiles.cxx index 8e06ba0db20ea13f998c2587f7a86dc23b638958..cc992824c1d2c90bd8c865598fbf6d4195962b6c 100644 --- a/Modules/Applications/AppImageUtils/app/otbDownloadSRTMTiles.cxx +++ b/Modules/Applications/AppImageUtils/app/otbDownloadSRTMTiles.cxx @@ -91,7 +91,7 @@ private: } return false; } - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("DownloadSRTMTiles"); SetDescription("Download or list SRTM tiles related to a set of images"); @@ -132,13 +132,13 @@ private: } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { //Get the mode diff --git a/Modules/Applications/AppImageUtils/app/otbExtractROI.cxx b/Modules/Applications/AppImageUtils/app/otbExtractROI.cxx index 2f623fa19b7f15f0e309a1bb3d44f777eb7d2f46..e09f0d852b1ef7355546399df9bcc1203e5d01d3 100644 --- a/Modules/Applications/AppImageUtils/app/otbExtractROI.cxx +++ b/Modules/Applications/AppImageUtils/app/otbExtractROI.cxx @@ -55,7 +55,7 @@ public: FloatVectorImageType::InternalPixelType> ExtractROIFilterType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ExtractROI"); SetDescription("Extract a ROI defined by the user."); @@ -116,7 +116,7 @@ private: SetDocExampleParameterValue("out", "ExtractROI.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Update the sizes only if the user has not defined a size if ( HasValue("in") ) @@ -219,7 +219,7 @@ private: return false; } - void DoExecute() + void DoExecute() ITK_OVERRIDE { ExtractROIFilterType::InputImageType* inImage = GetParameterImage("in"); inImage->UpdateOutputInformation(); diff --git a/Modules/Applications/AppImageUtils/app/otbManageNoData.cxx b/Modules/Applications/AppImageUtils/app/otbManageNoData.cxx index fc2e201298f3fd8ab11a986e311b8934fc65574a..dfff214a23f10928d07734f75d9ea3cd47f885b0 100644 --- a/Modules/Applications/AppImageUtils/app/otbManageNoData.cxx +++ b/Modules/Applications/AppImageUtils/app/otbManageNoData.cxx @@ -55,7 +55,7 @@ public: typedef otb::ChangeInformationImageFilter<FloatVectorImageType> ChangeInfoFilterType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ManageNoData"); SetDescription("Manage No-Data"); @@ -116,13 +116,13 @@ private: SetDocExampleParameterValue("mode.buildmask.outv", "0"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here for the parameters : all are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { FloatVectorImageType::Pointer inputPtr = this->GetParameterImage("in"); diff --git a/Modules/Applications/AppImageUtils/app/otbMultiResolutionPyramid.cxx b/Modules/Applications/AppImageUtils/app/otbMultiResolutionPyramid.cxx index d22a13717890683784cd6d92aeb20a86e7b85288..4e7ce61476dd258c9a6e024504536165a7fddd82 100644 --- a/Modules/Applications/AppImageUtils/app/otbMultiResolutionPyramid.cxx +++ b/Modules/Applications/AppImageUtils/app/otbMultiResolutionPyramid.cxx @@ -55,7 +55,7 @@ public: FloatVectorImageType> ShrinkFilterType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("MultiResolutionPyramid"); SetDescription("Build a multi-resolution pyramid of the image."); @@ -109,14 +109,14 @@ private: SetDocExampleParameterValue("fast", "false"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here for the parameters : all are independent // Reinitialize the internal process used } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Initializing the process m_SmoothingFilter = SmoothingVectorImageFilterType::New(); diff --git a/Modules/Applications/AppImageUtils/app/otbPixelValue.cxx b/Modules/Applications/AppImageUtils/app/otbPixelValue.cxx index ee40c5ca594948409ae750bf2549a2598881d61e..35a860d0d4473d1962879d4bb9951ac36a229025 100644 --- a/Modules/Applications/AppImageUtils/app/otbPixelValue.cxx +++ b/Modules/Applications/AppImageUtils/app/otbPixelValue.cxx @@ -43,7 +43,7 @@ public: itkTypeMacro(PixelValue, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("PixelValue"); SetDescription("Get the value of a pixel."); @@ -85,7 +85,7 @@ private: SetDocExampleParameterValue("cl", "Channel1"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { if ( HasValue("in") ) { @@ -108,7 +108,7 @@ private: } } - void DoExecute() + void DoExecute() ITK_OVERRIDE { std::ostringstream ossOutput; FloatVectorImageType::Pointer inImage = GetParameterImage("in"); diff --git a/Modules/Applications/AppImageUtils/app/otbQuicklook.cxx b/Modules/Applications/AppImageUtils/app/otbQuicklook.cxx index fbf901e9a7ab0c58d5e314d1a14174bfb630e2c3..7c3677041f526f47dbad77da25e6b96344ebdd3a 100644 --- a/Modules/Applications/AppImageUtils/app/otbQuicklook.cxx +++ b/Modules/Applications/AppImageUtils/app/otbQuicklook.cxx @@ -50,7 +50,7 @@ public: <ExtractROIFilterType::OutputImageType, ExtractROIFilterType::OutputImageType> ShrinkImageFilterType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("Quicklook"); SetDescription("Generates a subsampled version of an image extract"); @@ -116,7 +116,7 @@ private: SetDocExampleParameterValue("out", "quicklookImage.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Update the sizes only if the user does not defined a size if ( HasValue("in") ) @@ -193,7 +193,7 @@ bool CropRegionOfInterest() return false; } - void DoExecute() + void DoExecute() ITK_OVERRIDE { InputImageType::Pointer inImage = GetParameterImage("in"); diff --git a/Modules/Applications/AppImageUtils/app/otbReadImageInfo.cxx b/Modules/Applications/AppImageUtils/app/otbReadImageInfo.cxx index bba8905a176bd5c23f7b98d1056bf25cfab734cb..d4b4514c47e27afe0b1b27fc745500de724284a2 100644 --- a/Modules/Applications/AppImageUtils/app/otbReadImageInfo.cxx +++ b/Modules/Applications/AppImageUtils/app/otbReadImageInfo.cxx @@ -45,7 +45,7 @@ public: itkTypeMacro(ReadImageInfo, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ReadImageInfo"); SetDescription("Get information about the image"); @@ -245,12 +245,12 @@ private: SetDocExampleParameterValue("in", "QB_Toulouse_Ortho_XS.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { std::ostringstream ossOutput; FloatVectorImageType::Pointer inImage = GetParameterImage("in"); diff --git a/Modules/Applications/AppImageUtils/app/otbRescale.cxx b/Modules/Applications/AppImageUtils/app/otbRescale.cxx index ace0ee39f5999526bd82c74f55d2a106d1ed2505..d0304e74a465fcad7c70add4e02a67c89f5d54fa 100644 --- a/Modules/Applications/AppImageUtils/app/otbRescale.cxx +++ b/Modules/Applications/AppImageUtils/app/otbRescale.cxx @@ -46,7 +46,7 @@ public: typedef otb::VectorRescaleIntensityImageFilter<FloatVectorImageType> RescaleImageFilterType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("Rescale"); SetDescription("Rescale the image between two given values."); @@ -84,12 +84,12 @@ private: SetDocExampleParameterValue("outmax", "255"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here for the parameters : all are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { FloatVectorImageType::Pointer inImage = GetParameterImage("in"); diff --git a/Modules/Applications/AppImageUtils/app/otbSplitImage.cxx b/Modules/Applications/AppImageUtils/app/otbSplitImage.cxx index 8a732d68ce109e70038fe42e339d6280068ff8bd..42e609144d364a7cec6329a47058c97a36ca9bac 100644 --- a/Modules/Applications/AppImageUtils/app/otbSplitImage.cxx +++ b/Modules/Applications/AppImageUtils/app/otbSplitImage.cxx @@ -46,7 +46,7 @@ public: FloatVectorImageType::InternalPixelType> FilterType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("SplitImage"); SetDescription("Split a N multiband image into N images"); @@ -73,12 +73,12 @@ private: SetDocExampleParameterValue("out", "splittedImage.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here for the parameters : all are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Get the input image FloatVectorImageType::Pointer inImage = GetParameterImage("in"); diff --git a/Modules/Applications/AppImageUtils/app/otbTileFusion.cxx b/Modules/Applications/AppImageUtils/app/otbTileFusion.cxx index 9140183ce4c08903fef3e3aa3b28ae081cf546e2..932f2114fccefa2f9412b3aba74953d7ea6b9fad 100644 --- a/Modules/Applications/AppImageUtils/app/otbTileFusion.cxx +++ b/Modules/Applications/AppImageUtils/app/otbTileFusion.cxx @@ -42,7 +42,7 @@ public: typedef otb::TileImageFilter<FloatVectorImageType> TileFilterType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("TileFusion"); SetDescription("Fusion of an image made of several tile files."); @@ -75,12 +75,12 @@ private: SetDocExampleParameterValue("out", "EntireImage.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to be done } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Get the input image list FloatVectorImageListType::Pointer tileList = this->GetParameterImageList("il"); diff --git a/Modules/Applications/AppIndices/app/otbRadiometricIndices.cxx b/Modules/Applications/AppIndices/app/otbRadiometricIndices.cxx index eacd3e2ad12accc3801a1fc772aad58db1b70f46..3c910f26e15995ebf50ba52d578572fa3791c709 100644 --- a/Modules/Applications/AppIndices/app/otbRadiometricIndices.cxx +++ b/Modules/Applications/AppIndices/app/otbRadiometricIndices.cxx @@ -126,7 +126,7 @@ public: private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("RadiometricIndices"); SetDescription("Compute radiometric indices."); @@ -433,7 +433,7 @@ private: } } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { //Nothing to do here } @@ -483,7 +483,7 @@ private: otbAppLogINFO(<< m_Map[GetSelectedItems("list")[idx]].item << " added.");\ } - void DoExecute() + void DoExecute() ITK_OVERRIDE { int nbChan = GetParameterImage("in")->GetNumberOfComponentsPerPixel(); diff --git a/Modules/Applications/AppKMZ/app/otbKmzExport.cxx b/Modules/Applications/AppKMZ/app/otbKmzExport.cxx index 506d390dd7918b1ea3d38123b0e4e0d5b89bd339..e4156451bc87c17692475e0111599ff8c0ad355f 100644 --- a/Modules/Applications/AppKMZ/app/otbKmzExport.cxx +++ b/Modules/Applications/AppKMZ/app/otbKmzExport.cxx @@ -42,7 +42,7 @@ public: itkTypeMacro(KmzExport, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("KmzExport"); SetDescription("Export the input image in a KMZ product."); @@ -85,12 +85,12 @@ private: } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here for the parameters : all are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { typedef otb::KmzProductWriter<FloatVectorImageType> KmzProductWriterType; diff --git a/Modules/Applications/AppMathParser/app/otbBandMath.cxx b/Modules/Applications/AppMathParser/app/otbBandMath.cxx index 64f8893a1b07c93ff911d51631334e7e0030f34c..31f43045509cb7b5ddfdffb2db21c4c01f3a88e7 100644 --- a/Modules/Applications/AppMathParser/app/otbBandMath.cxx +++ b/Modules/Applications/AppMathParser/app/otbBandMath.cxx @@ -50,7 +50,7 @@ public: private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("BandMath"); SetDescription("Perform a mathematical operation on monoband images"); @@ -84,7 +84,7 @@ private: SetDocExampleParameterValue("exp", "\"cos(im1b1)+im2b1*im3b1-im3b2+ndvi(im3b3, im3b4)\""); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Check if the expression is correctly set if (HasValue("il")) @@ -155,7 +155,7 @@ private: } } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Get the input image list FloatVectorImageListType::Pointer inList = GetParameterImageList("il"); diff --git a/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx b/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx index 1aa1c471e300c643d8bec640e48b7949cea0b110..ab0876183bc2e9d0912d1077f3d625d64bb3d5d9 100644 --- a/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx +++ b/Modules/Applications/AppMathParserX/app/otbBandMathX.cxx @@ -52,7 +52,7 @@ public: private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("BandMathX"); SetDescription("This application performs mathematical operations on multiband images.\n" @@ -171,7 +171,7 @@ private: SetDocExampleParameterValue("exp", "\"cos(im1b1)+im2b1*im3b1-im3b2+ndvi(im3b3, im3b4)\""); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // check if input context should be used bool useContext = this->ContextCheck(); @@ -265,7 +265,7 @@ private: } } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Get the input image list FloatVectorImageListType::Pointer inList = GetParameterImageList("il"); diff --git a/Modules/Applications/AppMoments/app/otbLocalStatisticExtraction.cxx b/Modules/Applications/AppMoments/app/otbLocalStatisticExtraction.cxx index 86848cbcc7bba60f2f458b14f0c09d7fec893ebe..e60b4bb8e90a5212e4fe37f6a34845bd1d404547 100644 --- a/Modules/Applications/AppMoments/app/otbLocalStatisticExtraction.cxx +++ b/Modules/Applications/AppMoments/app/otbLocalStatisticExtraction.cxx @@ -52,7 +52,7 @@ itkTypeMacro(LocalStatisticExtraction, otb::Application); private: -void DoInit() +void DoInit() ITK_OVERRIDE { SetName("LocalStatisticExtraction"); SetDescription("Computes local statistical moments on every pixel in the selected channel of the input image"); @@ -92,12 +92,12 @@ SetDocExampleParameterValue("radius", "3"); SetDocExampleParameterValue("out", "Statistics.tif"); } -void DoUpdateParameters() +void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } -void DoExecute() +void DoExecute() ITK_OVERRIDE { FloatVectorImageType::Pointer inImage = GetParameterImage("in"); inImage->UpdateOutputInformation(); diff --git a/Modules/Applications/AppMorphology/app/otbBinaryMorphologicalOperation.cxx b/Modules/Applications/AppMorphology/app/otbBinaryMorphologicalOperation.cxx index d453b699a4bfac2148040b7167b67d59ed11f495..9e5e121d5fd1a92cfc369c571f4300ee2f6f5b57 100644 --- a/Modules/Applications/AppMorphology/app/otbBinaryMorphologicalOperation.cxx +++ b/Modules/Applications/AppMorphology/app/otbBinaryMorphologicalOperation.cxx @@ -73,7 +73,7 @@ itkTypeMacro(BinaryMorphologicalOperation, otb::Application); private: -void DoInit() +void DoInit() ITK_OVERRIDE { SetName("BinaryMorphologicalOperation"); SetDescription("Performs morphological operations on an input image channel"); @@ -156,12 +156,12 @@ SetDocExampleParameterValue("structype.ball.yradius", "5"); SetDocExampleParameterValue("filter", "erode"); } -void DoUpdateParameters() +void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } -void DoExecute() +void DoExecute() ITK_OVERRIDE { FloatVectorImageType::Pointer inImage = GetParameterImage("in"); inImage->UpdateOutputInformation(); diff --git a/Modules/Applications/AppMorphology/app/otbGrayScaleMorphologicalOperation.cxx b/Modules/Applications/AppMorphology/app/otbGrayScaleMorphologicalOperation.cxx index c00828e06541fff2130828ed07f32c32c9ae87bd..ae025a22becff71995aff75d945151f80fe55103 100644 --- a/Modules/Applications/AppMorphology/app/otbGrayScaleMorphologicalOperation.cxx +++ b/Modules/Applications/AppMorphology/app/otbGrayScaleMorphologicalOperation.cxx @@ -73,7 +73,7 @@ itkTypeMacro(GrayScaleMorphologicalOperation, otb::Application); private: -void DoInit() +void DoInit() ITK_OVERRIDE { SetName("GrayScaleMorphologicalOperation"); SetDescription("Performs morphological operations on a grayscale input image"); @@ -139,12 +139,12 @@ SetDocExampleParameterValue("structype.ball.yradius", "5"); SetDocExampleParameterValue("filter", "erode"); } -void DoUpdateParameters() +void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } -void DoExecute() +void DoExecute() ITK_OVERRIDE { FloatVectorImageType::Pointer inImage = GetParameterImage("in"); inImage->UpdateOutputInformation(); diff --git a/Modules/Applications/AppOpticalCalibration/app/otbOpticalCalibration.cxx b/Modules/Applications/AppOpticalCalibration/app/otbOpticalCalibration.cxx index 9e26eca3356c5d1bec6376590f783e7bb7b2f76c..141ff62a3082df67b84a04f627ad56c9eabbcb7b 100644 --- a/Modules/Applications/AppOpticalCalibration/app/otbOpticalCalibration.cxx +++ b/Modules/Applications/AppOpticalCalibration/app/otbOpticalCalibration.cxx @@ -121,7 +121,7 @@ private: std::string m_inImageName; bool m_currentEnabledStateOfFluxParam; - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("OpticalCalibration"); SetDescription("Perform optical calibration TOA/TOC (Top Of Atmosphere/Top Of Canopy). Supported sensors: QuickBird, Ikonos, WorldView2, Formosat, Spot5, Pleiades, Spot6. For other sensors the application also allows providing calibration parameters manually."); @@ -354,7 +354,7 @@ private: m_currentEnabledStateOfFluxParam=false; } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { std::ostringstream ossOutput; //ossOutput << std::endl << "--DoUpdateParameters--" << std::endl; @@ -558,7 +558,7 @@ private: } - void DoExecute() + void DoExecute() ITK_OVERRIDE { //Main filters instanciations m_ImageToLuminanceFilter = ImageToLuminanceImageFilterType::New(); diff --git a/Modules/Applications/AppProjection/app/otbConvertCartoToGeoPoint.cxx b/Modules/Applications/AppProjection/app/otbConvertCartoToGeoPoint.cxx index dfed5067597784ad16809fcb8609d24ae94f31c4..2a59b8c74e9f9d921ce190c972b081890e846169 100644 --- a/Modules/Applications/AppProjection/app/otbConvertCartoToGeoPoint.cxx +++ b/Modules/Applications/AppProjection/app/otbConvertCartoToGeoPoint.cxx @@ -47,7 +47,7 @@ public: typedef otb::GenericRSTransform<> TransformType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ConvertCartoToGeoPoint"); SetDescription("Convert cartographic coordinates to geographic one."); @@ -88,11 +88,11 @@ private: SetDocExampleParameterValue("mapproj.utm.zone", "31"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Get the projectionRef std::string inputProjRef = MapProjectionParametersHandler::GetProjectionRefFromChoice(this, "mapproj"); diff --git a/Modules/Applications/AppProjection/app/otbConvertSensorToGeoPoint.cxx b/Modules/Applications/AppProjection/app/otbConvertSensorToGeoPoint.cxx index 91efb2578febe9a2538e4269c58f254d3d5e25a2..8a01ff5c61a39bb90af703ad7a87ef8f3fefa71f 100644 --- a/Modules/Applications/AppProjection/app/otbConvertSensorToGeoPoint.cxx +++ b/Modules/Applications/AppProjection/app/otbConvertSensorToGeoPoint.cxx @@ -46,7 +46,7 @@ public: private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ConvertSensorToGeoPoint"); SetDescription("Sensor to geographic coordinates conversion."); @@ -96,11 +96,11 @@ private: SetDocExampleParameterValue("input.idy","200"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Get input Image FloatVectorImageType::Pointer inImage = GetParameterImage("in"); diff --git a/Modules/Applications/AppProjection/app/otbGenerateRPCSensorModel.cxx b/Modules/Applications/AppProjection/app/otbGenerateRPCSensorModel.cxx index 4d98fbf52134ba510efd5e06d8467e12354e36df..ea59c1430a5f23f97ae45d5e96ff18209e99edce 100644 --- a/Modules/Applications/AppProjection/app/otbGenerateRPCSensorModel.cxx +++ b/Modules/Applications/AppProjection/app/otbGenerateRPCSensorModel.cxx @@ -54,7 +54,7 @@ public: itkTypeMacro(GenerateRPCSensorModel, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("GenerateRPCSensorModel"); SetDescription("Generate a RPC sensor model from a list of Ground Control Points."); @@ -97,12 +97,12 @@ private: SetDocExampleParameterValue("map.epsg.code","32631"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { OGRMultiLineString mls; diff --git a/Modules/Applications/AppProjection/app/otbGridBasedImageResampling.cxx b/Modules/Applications/AppProjection/app/otbGridBasedImageResampling.cxx index 6f71f0ff7794fb0ef75110ffeeb0dbde2493ded2..d6cf00da8f5956ced07fb4f4418be00ebb5b8a31 100644 --- a/Modules/Applications/AppProjection/app/otbGridBasedImageResampling.cxx +++ b/Modules/Applications/AppProjection/app/otbGridBasedImageResampling.cxx @@ -101,7 +101,7 @@ private: m_DisplacementFieldCaster = DisplacementFieldCastFilterType::New(); } - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("GridBasedImageResampling"); SetDescription("Resamples an image according to a resampling grid"); @@ -183,12 +183,12 @@ private: SetDocExampleParameterValue("grid.type","def"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here } -void DoExecute() +void DoExecute() ITK_OVERRIDE { // Get the input image FloatVectorImageType* inImage = GetParameterImage("io.in"); diff --git a/Modules/Applications/AppProjection/app/otbImageEnvelope.cxx b/Modules/Applications/AppProjection/app/otbImageEnvelope.cxx index 11653420aa7920e8f74b5d8d3d56078f245847dd..acd93b447213cd1c812cc41ba126b938c177cfb0 100644 --- a/Modules/Applications/AppProjection/app/otbImageEnvelope.cxx +++ b/Modules/Applications/AppProjection/app/otbImageEnvelope.cxx @@ -46,7 +46,7 @@ public: <FloatVectorImageType, VectorDataType> EnvelopeFilterType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ImageEnvelope"); SetDescription("Extracts an image envelope."); @@ -84,12 +84,12 @@ private: SetDocExampleParameterValue("out", "ImageEnvelope.shp"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to be done } - void DoExecute() + void DoExecute() ITK_OVERRIDE { FloatVectorImageType::Pointer input = GetParameterImage("in"); diff --git a/Modules/Applications/AppProjection/app/otbObtainUTMZoneFromGeoPoint.cxx b/Modules/Applications/AppProjection/app/otbObtainUTMZoneFromGeoPoint.cxx index b78e4f90644242b068750adf16d19cae1688708a..e411fa356efded2277aa0a68015c988e456e5118 100644 --- a/Modules/Applications/AppProjection/app/otbObtainUTMZoneFromGeoPoint.cxx +++ b/Modules/Applications/AppProjection/app/otbObtainUTMZoneFromGeoPoint.cxx @@ -45,11 +45,11 @@ private: { } - virtual ~ObtainUTMZoneFromGeoPoint() + ~ObtainUTMZoneFromGeoPoint() ITK_OVERRIDE { } - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ObtainUTMZoneFromGeoPoint"); SetDescription("UTM zone determination from a geographic point."); @@ -79,12 +79,12 @@ private: SetDocExampleParameterValue("lon","124.0"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do } - void DoExecute() + void DoExecute() ITK_OVERRIDE { int utmZone = otb::Utils::GetZoneFromGeoPoint(GetParameterFloat("lon"), GetParameterFloat("lat")); diff --git a/Modules/Applications/AppProjection/app/otbOrthoRectification.cxx b/Modules/Applications/AppProjection/app/otbOrthoRectification.cxx index aeaa06779569f536e3ba8abcf084943948966472..987586e89a976e38e9532b37aee0c48777e47f13 100644 --- a/Modules/Applications/AppProjection/app/otbOrthoRectification.cxx +++ b/Modules/Applications/AppProjection/app/otbOrthoRectification.cxx @@ -84,7 +84,7 @@ public: typedef otb::BCOInterpolateImageFunction<FloatVectorImageType> BCOInterpolationType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("OrthoRectification"); std::ostringstream oss; @@ -231,7 +231,7 @@ private: SetDocExampleParameterValue("io.out","QB_Toulouse_ortho.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { if (HasValue("io.in")) { @@ -590,7 +590,7 @@ private: } // if (HasValue("io.in")) } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Get the input image FloatVectorImageType* inImage = GetParameterImage("io.in"); diff --git a/Modules/Applications/AppProjection/app/otbRefineSensorModel.cxx b/Modules/Applications/AppProjection/app/otbRefineSensorModel.cxx index e34600f5f180d3d3a0275e8f8a0bef66b3f5d3ec..aacb3bfe2cd6a58cabae92e46ad268d2a1cca796 100644 --- a/Modules/Applications/AppProjection/app/otbRefineSensorModel.cxx +++ b/Modules/Applications/AppProjection/app/otbRefineSensorModel.cxx @@ -53,7 +53,7 @@ public: itkTypeMacro(RefineSensorModel, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("RefineSensorModel"); SetDescription("Perform least-square fit of a sensor model to a set of tie points"); @@ -100,12 +100,12 @@ private: SetDocExampleParameterValue("map.epsg.code","32631"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { OGRMultiLineString mls; diff --git a/Modules/Applications/AppProjection/app/otbRigidTransformResample.cxx b/Modules/Applications/AppProjection/app/otbRigidTransformResample.cxx index 682ceb7d96cdeb92c4ba1244abb6da2f19723e50..30e0ba020f473acbf67a6d6d6332857bd11d6381 100644 --- a/Modules/Applications/AppProjection/app/otbRigidTransformResample.cxx +++ b/Modules/Applications/AppProjection/app/otbRigidTransformResample.cxx @@ -77,7 +77,7 @@ public: private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("RigidTransformResample"); SetDescription("Resample an image with a rigid transform"); @@ -171,12 +171,12 @@ private: SetDocExampleParameterValue("transform.type.rotation.scaley", "2."); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { FloatVectorImageType* inputImage = GetParameterImage("in"); diff --git a/Modules/Applications/AppProjection/app/otbSuperimpose.cxx b/Modules/Applications/AppProjection/app/otbSuperimpose.cxx index dc8661fd039630f48cee4aa10a9884d3833ff631..20cdd5b9575b91ce01997319edf2dfff06fa60e1 100644 --- a/Modules/Applications/AppProjection/app/otbSuperimpose.cxx +++ b/Modules/Applications/AppProjection/app/otbSuperimpose.cxx @@ -78,7 +78,7 @@ public: FloatVectorImageType> BasicResamplerType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("Superimpose"); SetDescription("Using available image metadata, project one image onto another one"); @@ -148,7 +148,7 @@ private: SetDocExampleParameterValue("out", "SuperimposedXS_to_PAN.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { if(!HasUserValue("mode") && HasValue("inr") && HasValue("inm") && otb::PleiadesPToXSAffineTransformCalculator::CanCompute(GetParameterImage("inr"),GetParameterImage("inm"))) { @@ -158,7 +158,7 @@ private: } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Get the inputs FloatVectorImageType* refImage = GetParameterImage("inr"); diff --git a/Modules/Applications/AppProjection/app/otbVectorDataReprojection.cxx b/Modules/Applications/AppProjection/app/otbVectorDataReprojection.cxx index a05557666d3b1ae28de663a36b878fa7f53c0a3c..f829053c6f237e53c63328216a5c095d3a8138f3 100644 --- a/Modules/Applications/AppProjection/app/otbVectorDataReprojection.cxx +++ b/Modules/Applications/AppProjection/app/otbVectorDataReprojection.cxx @@ -57,7 +57,7 @@ public: ; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("VectorDataReprojection"); std::ostringstream oss; @@ -112,12 +112,12 @@ private: SetDocExampleParameterValue("out.vd","reprojected_vd.shp"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { } - void DoExecute() + void DoExecute() ITK_OVERRIDE { GetLogger()->Debug("Entering DoExecute\n"); diff --git a/Modules/Applications/AppSARCalibration/app/otbSARCalibration.cxx b/Modules/Applications/AppSARCalibration/app/otbSARCalibration.cxx index e68fea82d17f45b1fe19d3d92652851fd4cb2be9..7b6b61e24f4babd11c7f7d1637b81ffdfeb77788 100644 --- a/Modules/Applications/AppSARCalibration/app/otbSARCalibration.cxx +++ b/Modules/Applications/AppSARCalibration/app/otbSARCalibration.cxx @@ -42,7 +42,7 @@ public: FloatImageType> CalibrationFilterType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("SARCalibration"); SetDescription("Perform radiometric calibration of SAR images. Following sensors are supported: TerraSAR-X, Sentinel1 and Radarsat-2.Both Single Look Complex(SLC) and detected products are supported as input.\n"); @@ -86,12 +86,12 @@ private: SetDocExampleParameterValue("out", "SarRadiometricCalibration.tif" ); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Get the input complex image ComplexFloatImageType* floatComplexImage = GetParameterComplexFloatImage("in"); diff --git a/Modules/Applications/AppSARCalibration/app/otbSarRadiometricCalibration.cxx b/Modules/Applications/AppSARCalibration/app/otbSarRadiometricCalibration.cxx index 58bae02e5efdf895b6d907d014145f05b24aa82d..b8877b68bbe9aaa7a99c53824bb7eed881a1777a 100644 --- a/Modules/Applications/AppSARCalibration/app/otbSarRadiometricCalibration.cxx +++ b/Modules/Applications/AppSARCalibration/app/otbSarRadiometricCalibration.cxx @@ -42,7 +42,7 @@ public: FloatImageType> CalibrationFilterType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("SarRadiometricCalibration"); SetDescription("Perform radiometric calibration of SAR images. Following sensors are supported: TerraSAR-X, Sentinel1 and Radarsat-2.Both Single Look Complex(SLC) and detected products are supported as input.\n"); @@ -86,12 +86,12 @@ private: SetDocExampleParameterValue("out", "SarRadiometricCalibration.tif" ); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { } - void DoExecute() + void DoExecute() ITK_OVERRIDE { otbAppLogWARNING("This application is deprecated, it will be renamed in next" " version of OTB. Please consider using the renamed copy SARCalibration." diff --git a/Modules/Applications/AppSARDecompositions/app/otbSARDecompositions.cxx b/Modules/Applications/AppSARDecompositions/app/otbSARDecompositions.cxx index e54c19274498be006bb4f0f69d8a65645c1d0b7f..dc0aa92b375fe4dd6cbf819c8aa2f6ba7099610f 100644 --- a/Modules/Applications/AppSARDecompositions/app/otbSARDecompositions.cxx +++ b/Modules/Applications/AppSARDecompositions/app/otbSARDecompositions.cxx @@ -81,7 +81,7 @@ public: itkTypeMacro(SARDecompositions, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("SARDecompositions"); SetDescription("From one-band complex images (each one related to an element of the Sinclair matrix), returns the selected decomposition."); @@ -155,12 +155,12 @@ private: SetDocExampleParameterValue("out", "HaA.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { bool inhv = HasUserValue("inhv"); diff --git a/Modules/Applications/AppSARPolarMatrixConvert/app/otbSARPolarMatrixConvert.cxx b/Modules/Applications/AppSARPolarMatrixConvert/app/otbSARPolarMatrixConvert.cxx index c3edee8da659e019c1c4fd94289f7338abb3aa8e..268b4d855ab176899d059270822f41d9d58efd2c 100644 --- a/Modules/Applications/AppSARPolarMatrixConvert/app/otbSARPolarMatrixConvert.cxx +++ b/Modules/Applications/AppSARPolarMatrixConvert/app/otbSARPolarMatrixConvert.cxx @@ -181,7 +181,7 @@ public: itkTypeMacro(SARPolarMatrixConvert, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("SARPolarMatrixConvert"); SetDescription("This applications allows converting classical polarimetric matrices to each other."); @@ -351,7 +351,7 @@ private: SetDocExampleParameterValue("outc", "mcoherency.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { int convType = GetParameterInt("conv"); @@ -435,7 +435,7 @@ private: } - void DoExecute() + void DoExecute() ITK_OVERRIDE { //**************************************** diff --git a/Modules/Applications/AppSARPolarSynth/app/otbSARPolarSynth.cxx b/Modules/Applications/AppSARPolarSynth/app/otbSARPolarSynth.cxx index b1017b3d7e963dfb648937dfde34d5bfbbabfff0..17f75f46172218b9e1e9c6ced7600e1524970898 100644 --- a/Modules/Applications/AppSARPolarSynth/app/otbSARPolarSynth.cxx +++ b/Modules/Applications/AppSARPolarSynth/app/otbSARPolarSynth.cxx @@ -41,7 +41,7 @@ public: itkTypeMacro(SARPolarSynth, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("SARPolarSynth"); SetDescription("Gives, for each pixel, the power that would have been received by a SAR system with a basis different from the classical (H,V) one (polarimetric synthetis)."); @@ -149,12 +149,12 @@ private: SetDocExampleParameterValue("out", "newbasis.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { m_MCPSFilter = MCPSFilterType::New(); diff --git a/Modules/Applications/AppSegmentation/app/otbConnectedComponentSegmentation.cxx b/Modules/Applications/AppSegmentation/app/otbConnectedComponentSegmentation.cxx index ae569d67e1771c8a993bd62d893d766e3a733a59..8f014d3ecd7f8e2407c9ddfef7eef7c5535b7c28 100644 --- a/Modules/Applications/AppSegmentation/app/otbConnectedComponentSegmentation.cxx +++ b/Modules/Applications/AppSegmentation/app/otbConnectedComponentSegmentation.cxx @@ -66,7 +66,7 @@ public: <VectorDataType, VectorDataType> VectorDataProjectionFilterType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ConnectedComponentSegmentation"); SetDescription("Connected component segmentation and object based image filtering of the input image according to user-defined criterions."); @@ -117,12 +117,12 @@ private: SetDocExampleParameterValue("out", "ConnectedComponentSegmentation.shp"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here for the parameters : all are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { InputVectorImageType::Pointer inputImage = GetParameterImage("in"); diff --git a/Modules/Applications/AppSegmentation/app/otbHooverCompareSegmentation.cxx b/Modules/Applications/AppSegmentation/app/otbHooverCompareSegmentation.cxx index 74423df47757fbc95af9beaa887723395dcd3eb1..d8224dbf51a08fa5b72f858ee1d2df1820e07da5 100644 --- a/Modules/Applications/AppSegmentation/app/otbHooverCompareSegmentation.cxx +++ b/Modules/Applications/AppSegmentation/app/otbHooverCompareSegmentation.cxx @@ -127,7 +127,7 @@ public: <FloatPixelType, Int16PixelType> > HooverColorFilterType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("HooverCompareSegmentation"); SetDescription("Compare two segmentations with Hoover metrics"); @@ -197,12 +197,12 @@ private: SetDocExampleParameterValue("outgt", "maur_colored_GT.tif uint8"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { UInt32ImageType::Pointer inputGT = GetParameterUInt32Image("ingt"); UInt32ImageType::Pointer inputMS = GetParameterUInt32Image("inms"); diff --git a/Modules/Applications/AppSegmentation/app/otbLSMSSegmentation.cxx b/Modules/Applications/AppSegmentation/app/otbLSMSSegmentation.cxx index f693b50234138745727a1b9661ccfeed37546caa..39e39d5258b7f21b4d3f37d48ba08f1b2ec68c32 100644 --- a/Modules/Applications/AppSegmentation/app/otbLSMSSegmentation.cxx +++ b/Modules/Applications/AppSegmentation/app/otbLSMSSegmentation.cxx @@ -87,7 +87,7 @@ public: LSMSSegmentation(): m_FinalReader(),m_ImportGeoInformationFilter(),m_FilesToRemoveAfterExecute(),m_TmpDirCleanup(false){} - virtual ~LSMSSegmentation(){} + ~LSMSSegmentation() ITK_OVERRIDE{} private: LabelImageReaderType::Pointer m_FinalReader; @@ -211,7 +211,7 @@ private: return vrtfname; } - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("LSMSSegmentation"); SetDescription("Second step of the exact Large-Scale Mean-Shift segmentation workflow."); @@ -284,11 +284,11 @@ private: } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { } - void DoExecute() + void DoExecute() ITK_OVERRIDE { m_FilesToRemoveAfterExecute.clear(); @@ -683,7 +683,7 @@ private: SetParameterOutputImage("out",m_ImportGeoInformationFilter->GetOutput()); } - void AfterExecuteAndWriteOutputs() + void AfterExecuteAndWriteOutputs() ITK_OVERRIDE { // Release input files m_FinalReader = 0; diff --git a/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx b/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx index 64156f9eda640859db4c3bbeab02b0fe950f61b1..23f33978594b6c16e37190d2e30f9b3bed16ae20 100644 --- a/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx +++ b/Modules/Applications/AppSegmentation/app/otbLSMSSmallRegionsMerging.cxx @@ -70,7 +70,7 @@ public: private: ChangeLabelImageFilterType::Pointer m_ChangeLabelFilter; - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("LSMSSmallRegionsMerging"); SetDescription("Third (optional) step of the exact Large-Scale Mean-Shift segmentation workflow."); @@ -118,11 +118,11 @@ private: } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { } - void DoExecute() + void DoExecute() ITK_OVERRIDE { clock_t tic = clock(); diff --git a/Modules/Applications/AppSegmentation/app/otbLSMSVectorization.cxx b/Modules/Applications/AppSegmentation/app/otbLSMSVectorization.cxx index e037361874fa99685b7453750a5e5b833df32669..df54787f26dc442578b712b082d95b7c2ff75ffd 100644 --- a/Modules/Applications/AppSegmentation/app/otbLSMSVectorization.cxx +++ b/Modules/Applications/AppSegmentation/app/otbLSMSVectorization.cxx @@ -63,7 +63,7 @@ public: itkTypeMacro(Vectorization, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("LSMSVectorization"); SetDescription("Fourth step of the exact Large-Scale Mean-Shift segmentation workflow."); @@ -102,11 +102,11 @@ private: SetDocExampleParameterValue("tilesizey","256"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { } - void DoExecute() + void DoExecute() ITK_OVERRIDE { clock_t tic = clock(); diff --git a/Modules/Applications/AppSegmentation/app/otbMeanShiftSmoothing.cxx b/Modules/Applications/AppSegmentation/app/otbMeanShiftSmoothing.cxx index a1fb4bb0302ad9b6d08a9eff8338d4a1c7a8a98f..c02e5fab0535cea8d7e25cd24198401104067fc9 100644 --- a/Modules/Applications/AppSegmentation/app/otbMeanShiftSmoothing.cxx +++ b/Modules/Applications/AppSegmentation/app/otbMeanShiftSmoothing.cxx @@ -43,7 +43,7 @@ public: itkTypeMacro(MeanShiftSmoothing, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("MeanShiftSmoothing"); SetDescription("Perform mean shift filtering"); @@ -115,7 +115,7 @@ private: } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { if(IsParameterEnabled("modesearch")) { @@ -128,7 +128,7 @@ private: } } - void DoExecute() + void DoExecute() ITK_OVERRIDE { FloatVectorImageType* input = GetParameterImage("in"); diff --git a/Modules/Applications/AppSegmentation/app/otbSegmentation.cxx b/Modules/Applications/AppSegmentation/app/otbSegmentation.cxx index c726d12e09444c0ad9632ac44aab86d2140204e9..3e600c82a7d480995ef9ecce733c683f53c51b28 100644 --- a/Modules/Applications/AppSegmentation/app/otbSegmentation.cxx +++ b/Modules/Applications/AppSegmentation/app/otbSegmentation.cxx @@ -131,7 +131,7 @@ public: itkTypeMacro(Segmentation, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("Segmentation"); SetDescription("Performs segmentation of an image, and output either a raster or a vector file. In vector mode, large input datasets are supported."); @@ -340,7 +340,7 @@ private: SetDocExampleParameterValue("filter", "meanshift",1); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } @@ -441,7 +441,7 @@ private: return streamingVectorizedFilter->GetStreamSize(); } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Switch on segmentation mode const std::string segModeType = GetParameterString("mode"); diff --git a/Modules/Applications/AppStereo/app/otbBlockMatching.cxx b/Modules/Applications/AppStereo/app/otbBlockMatching.cxx index 3307a8f817cf0e369d711605c304e8908212cedd..92383058a87de091e1220fdec735c41f2157677a 100644 --- a/Modules/Applications/AppStereo/app/otbBlockMatching.cxx +++ b/Modules/Applications/AppStereo/app/otbBlockMatching.cxx @@ -121,7 +121,7 @@ private: m_VMedianFilter = MedianFilterType::New(); } - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("BlockMatching"); SetDescription("Performs block-matching to estimate pixel-wise disparities between two images"); @@ -321,7 +321,7 @@ private: SetDocExampleParameterValue("io.out","MyDisparity.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { if(IsParameterEnabled("mask.variancet") || IsParameterEnabled("mask.nodata")) { @@ -354,7 +354,7 @@ private: } } - void DoExecute() + void DoExecute() ITK_OVERRIDE { FloatImageType::Pointer leftImage = GetParameterFloatImage("io.inleft"); FloatImageType::Pointer rightImage = GetParameterFloatImage("io.inright"); diff --git a/Modules/Applications/AppStereo/app/otbDisparityMapToElevationMap.cxx b/Modules/Applications/AppStereo/app/otbDisparityMapToElevationMap.cxx index 3f434a7672dc9a532d05405fe1747dddbb920df1..894c73e97313594922474eab975acca30b2bab2d 100644 --- a/Modules/Applications/AppStereo/app/otbDisparityMapToElevationMap.cxx +++ b/Modules/Applications/AppStereo/app/otbDisparityMapToElevationMap.cxx @@ -59,7 +59,7 @@ private: m_DispToElev = DisparityToElevationFilterType::New(); } - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("DisparityMapToElevationMap"); SetDescription("Projects a disparity map into a regular elevation map"); @@ -125,12 +125,12 @@ private: SetDocExampleParameterValue("io.out","dem.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do } - void DoExecute() + void DoExecute() ITK_OVERRIDE { FloatVectorImageType::Pointer inputDisp = this->GetParameterImage("io.in"); FloatVectorImageType::Pointer sensorLeft = this->GetParameterImage("io.left"); diff --git a/Modules/Applications/AppStereo/app/otbFineRegistration.cxx b/Modules/Applications/AppStereo/app/otbFineRegistration.cxx index 23f993bd3a367d7ed605ea8d45fd012546ac6fec..33481d3185cb8c5d25ae58798e8315b8dac57d12 100644 --- a/Modules/Applications/AppStereo/app/otbFineRegistration.cxx +++ b/Modules/Applications/AppStereo/app/otbFineRegistration.cxx @@ -111,7 +111,7 @@ public: typedef otb::ImageFileReader<VectorImageType> InternalReaderType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("FineRegistration"); SetDescription("Estimate disparity map between two images."); @@ -225,12 +225,12 @@ private: SetDocExampleParameterValue("mry", "3"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do } - void DoExecute() + void DoExecute() ITK_OVERRIDE { FloatVectorImageType::Pointer refImage = GetParameterImage("ref"); // fixed FloatVectorImageType::Pointer secImage = GetParameterImage("sec"); // moved diff --git a/Modules/Applications/AppStereo/app/otbGeneratePlyFile.cxx b/Modules/Applications/AppStereo/app/otbGeneratePlyFile.cxx index c6422776ea8dbed59195c0bc595bbe49e8dd5954..0be9121fdf5def3a67458f595f6a88c5ba479409 100644 --- a/Modules/Applications/AppStereo/app/otbGeneratePlyFile.cxx +++ b/Modules/Applications/AppStereo/app/otbGeneratePlyFile.cxx @@ -49,7 +49,7 @@ public: private: GeneratePlyFile(){} - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("GeneratePlyFile"); SetDescription("Generate a 3D Ply file from a DEM and a color image."); @@ -87,13 +87,13 @@ private: SetDocExampleParameterValue("incolor","image_color.tif"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Update the UTM zone params MapProjectionParametersHandler::InitializeUTMParameters(this, "incolor", "map"); } - void DoExecute() + void DoExecute() ITK_OVERRIDE { std::string outfname = GetParameterString("out"); diff --git a/Modules/Applications/AppStereo/app/otbStereoFramework.cxx b/Modules/Applications/AppStereo/app/otbStereoFramework.cxx index d1077c56bc73e60da2e5cebe76b8e0e17bab5dc4..80dbe412d3d6f714b24fd9a865da0278124373b0 100644 --- a/Modules/Applications/AppStereo/app/otbStereoFramework.cxx +++ b/Modules/Applications/AppStereo/app/otbStereoFramework.cxx @@ -312,7 +312,7 @@ private: } - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("StereoFramework"); SetDescription("Compute the ground elevation based on one or multiple stereo pair(s)"); @@ -525,7 +525,7 @@ private: } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { if( HasValue("input.il") ) { @@ -591,7 +591,7 @@ private: } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Setup the DSM Handler otb::Wrapper::ElevationParametersHandler::SetupDEMHandlerFromElevationParameters(this, "elev"); diff --git a/Modules/Applications/AppStereo/app/otbStereoRectificationGridGenerator.cxx b/Modules/Applications/AppStereo/app/otbStereoRectificationGridGenerator.cxx index d7934029a81180bd841b8af0d093f9c03ec6b3a6..de20a9b507a1cad27f6888c89661f46eb280e3b3 100644 --- a/Modules/Applications/AppStereo/app/otbStereoRectificationGridGenerator.cxx +++ b/Modules/Applications/AppStereo/app/otbStereoRectificationGridGenerator.cxx @@ -96,7 +96,7 @@ private: m_StatisticsFilter = StatisticsFilterType::New(); } - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("StereoRectificationGridGenerator"); SetDescription("Generates two deformation fields to stereo-rectify (i.e. resample in epipolar geometry) a pair of stereo images up to the sensor model precision"); @@ -198,12 +198,12 @@ private: SetDocExampleParameterValue("epi.elevation.default","400"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here } - void DoExecute() + void DoExecute() ITK_OVERRIDE { m_DisplacementFieldSource->SetLeftImage(GetParameterImage("io.inleft")); m_DisplacementFieldSource->SetRightImage(GetParameterImage("io.inright")); diff --git a/Modules/Applications/AppTest/app/otbTestApplication.cxx b/Modules/Applications/AppTest/app/otbTestApplication.cxx index 86d70293e90421da9eeb48c3958c84411660515f..e1bfd325fcb581117af3f0282555b3f822300de8 100644 --- a/Modules/Applications/AppTest/app/otbTestApplication.cxx +++ b/Modules/Applications/AppTest/app/otbTestApplication.cxx @@ -38,7 +38,7 @@ public: itkTypeMacro(TestApplication, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("TestApplication"); SetDescription("This application helps developers to test parameters types"); @@ -99,12 +99,12 @@ private: SetDocExampleParameterValue("filename", "myFilename.foo"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { //std::cout << "TestApplication::DoUpdateParameters" << std::endl; } - void DoExecute() + void DoExecute() ITK_OVERRIDE { //std::cout << "TestApplication::DoExecute" << std::endl; } diff --git a/Modules/Applications/AppTextures/app/otbHaralickTextureExtraction.cxx b/Modules/Applications/AppTextures/app/otbHaralickTextureExtraction.cxx index 7695115d543bc159d9d29de1dce3226655ccbac3..fa14c6dc8209bb748c16f62e55c7eeaef716db9b 100644 --- a/Modules/Applications/AppTextures/app/otbHaralickTextureExtraction.cxx +++ b/Modules/Applications/AppTextures/app/otbHaralickTextureExtraction.cxx @@ -64,7 +64,7 @@ itkTypeMacro(HaralickTextureExtraction, otb::Application); private: -void DoInit() +void DoInit() ITK_OVERRIDE { SetName("HaralickTextureExtraction"); SetDescription("Computes textures on every pixel of the input image selected channel"); @@ -154,12 +154,12 @@ SetDocExampleParameterValue("texture", "simple"); SetDocExampleParameterValue("out", "HaralickTextures.tif"); } -void DoUpdateParameters() +void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } -void DoExecute() +void DoExecute() ITK_OVERRIDE { FloatVectorImageType::Pointer inImage = GetParameterImage("in"); inImage->UpdateOutputInformation(); diff --git a/Modules/Applications/AppTextures/app/otbSFSTextureExtraction.cxx b/Modules/Applications/AppTextures/app/otbSFSTextureExtraction.cxx index 8369046672766c396246822b9c7cc07a3445f100..3fe88a9897dfc0b58ab64b9d378be0a45397a926 100644 --- a/Modules/Applications/AppTextures/app/otbSFSTextureExtraction.cxx +++ b/Modules/Applications/AppTextures/app/otbSFSTextureExtraction.cxx @@ -55,7 +55,7 @@ itkTypeMacro(SFSTextureExtraction, otb::Application); private: -void DoInit() +void DoInit() ITK_OVERRIDE { SetName("SFSTextureExtraction"); SetDescription("Computes Structural Feature Set textures on every pixel of the input image selected channel"); @@ -116,12 +116,12 @@ SetDocExampleParameterValue("parameters.spathre", "100"); SetDocExampleParameterValue("out", "SFSTextures.tif"); } -void DoUpdateParameters() +void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here : all parameters are independent } -void DoExecute() +void DoExecute() ITK_OVERRIDE { FloatVectorImageType::Pointer inImage = GetParameterImage("in"); inImage->UpdateOutputInformation(); diff --git a/Modules/Applications/AppVectorDataTranslation/app/otbRasterization.cxx b/Modules/Applications/AppVectorDataTranslation/app/otbRasterization.cxx index 045b6b321d445a75680f607a277b1c61f645c9a3..9cacf044bea7fc7a0244774ef969b5df9c096e69 100644 --- a/Modules/Applications/AppVectorDataTranslation/app/otbRasterization.cxx +++ b/Modules/Applications/AppVectorDataTranslation/app/otbRasterization.cxx @@ -57,7 +57,7 @@ public: typedef otb::OGRDataSourceToLabelImageFilter<FloatImageType> OGRDataSourceToMapFilterType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("Rasterization"); SetDescription("Rasterize a vector dataset."); @@ -139,13 +139,13 @@ private: SetDocExampleParameterValue("spy","1."); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do } - void DoExecute() + void DoExecute() ITK_OVERRIDE { otb::ogr::DataSource::Pointer ogrDS; UInt8ImageType::Pointer referenceImage; diff --git a/Modules/Applications/AppVectorUtils/app/otbConcatenateVectorData.cxx b/Modules/Applications/AppVectorUtils/app/otbConcatenateVectorData.cxx index c7d5c1cb977593ef62ea8d3c5b9f1c93917e9dd3..5c668497f458965d70001fb8e0fbaef0bd819410 100644 --- a/Modules/Applications/AppVectorUtils/app/otbConcatenateVectorData.cxx +++ b/Modules/Applications/AppVectorUtils/app/otbConcatenateVectorData.cxx @@ -44,7 +44,7 @@ public: typedef otb::ConcatenateVectorDataFilter<VectorDataType> ConcatenateFilterType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("ConcatenateVectorData"); SetDescription("Concatenate VectorDatas"); @@ -71,12 +71,12 @@ private: } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here for the parameters : all are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Get the input VectorData list VectorDataListType* vectorDataList = GetParameterVectorDataList("vd"); diff --git a/Modules/Applications/AppVectorUtils/app/otbOSMDownloader.cxx b/Modules/Applications/AppVectorUtils/app/otbOSMDownloader.cxx index e163a340949805c892bfb648811490ec5638f1b2..3ff6ee10d1ec3047b183c11877000d4891aa63ae 100644 --- a/Modules/Applications/AppVectorUtils/app/otbOSMDownloader.cxx +++ b/Modules/Applications/AppVectorUtils/app/otbOSMDownloader.cxx @@ -47,7 +47,7 @@ public: typedef otb::OSMDataToVectorDataGenerator VectorDataProviderType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("OSMDownloader"); SetDescription("Generate a vector data from OSM on the input image extend"); @@ -91,7 +91,7 @@ private: } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // CASE: when the -print option is not required and the User // does not set the option OSMKey or the option Output or does not @@ -108,7 +108,7 @@ private: } } - void DoExecute() + void DoExecute() ITK_OVERRIDE { typedef otb::ImageToEnvelopeVectorDataFilter<FloatVectorImageType, VectorDataType> EnvelopeFilterType; diff --git a/Modules/Applications/AppVectorUtils/app/otbVectorDataExtractROI.cxx b/Modules/Applications/AppVectorUtils/app/otbVectorDataExtractROI.cxx index 3084e59302b3624d1183f754aa10e159347f4741..95e1ef3968fa18f09215ef0b1dccc9512d050627 100644 --- a/Modules/Applications/AppVectorUtils/app/otbVectorDataExtractROI.cxx +++ b/Modules/Applications/AppVectorUtils/app/otbVectorDataExtractROI.cxx @@ -62,7 +62,7 @@ public: typedef otb::RemoteSensingRegion<double> RemoteSensingRegionType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("VectorDataExtractROI"); SetDescription("Perform an extract ROI on the input vector data according to the input image extent"); @@ -100,12 +100,12 @@ private: SetDocExampleParameterValue("io.out", "apTvUtVectorDataExtractROIApplicationTest.shp"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do here for the parameters : all are independent } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Get the inputs VectorDataType* vd = GetParameterVectorData("io.vd"); diff --git a/Modules/Applications/AppVectorUtils/app/otbVectorDataSetField.cxx b/Modules/Applications/AppVectorUtils/app/otbVectorDataSetField.cxx index 6f0d0ef88898d81300fca3e4a4ea104b45fe8f12..570c269fd79b5f5f699745b7b7944efce4249404 100644 --- a/Modules/Applications/AppVectorUtils/app/otbVectorDataSetField.cxx +++ b/Modules/Applications/AppVectorUtils/app/otbVectorDataSetField.cxx @@ -40,7 +40,7 @@ public: itkTypeMacro(VectorDataSetField, otb::Application); private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("VectorDataSetField"); SetDescription("Set a field in vector data."); @@ -71,12 +71,12 @@ private: SetDocExampleParameterValue("fv", "Sample polygon"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // Nothing to do (for now) } - void DoExecute() + void DoExecute() ITK_OVERRIDE { m_InputData = GetParameterVectorData("in"); diff --git a/Modules/Applications/AppVectorUtils/app/otbVectorDataTransform.cxx b/Modules/Applications/AppVectorUtils/app/otbVectorDataTransform.cxx index 3fb4a0aeef980aea110c378785ab5232be81f637..089d05813fff369e901ca4f0f735f805385960e9 100644 --- a/Modules/Applications/AppVectorUtils/app/otbVectorDataTransform.cxx +++ b/Modules/Applications/AppVectorUtils/app/otbVectorDataTransform.cxx @@ -51,7 +51,7 @@ public: typedef itk::CenteredSimilarity2DTransform<double> TransformType; private: - void DoInit() + void DoInit() ITK_OVERRIDE { SetName("VectorDataTransform"); SetDescription("Apply a transform to each vertex of the input VectorData"); @@ -106,12 +106,12 @@ private: SetDocExampleParameterValue("transform.ro", "5"); } - void DoUpdateParameters() + void DoUpdateParameters() ITK_OVERRIDE { // nothing to update } - void DoExecute() + void DoExecute() ITK_OVERRIDE { // Get the support image FloatVectorImageType* inImage = GetParameterImage("in");