From 5c42ccd8753a8be9b021c2bd4f7c9a557ed18f73 Mon Sep 17 00:00:00 2001 From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org> Date: Sat, 7 May 2011 18:13:16 -0700 Subject: [PATCH] ENH: removing pragma warning without pushpop (Examples) --- Examples/BasicFilters/BandMathFilterExample.cxx | 4 +--- Examples/BasicFilters/DEMToRainbowExample.cxx | 4 +--- Examples/BasicFilters/FrostImageFilter.cxx | 4 +--- Examples/BasicFilters/HillShadingExample.cxx | 4 +--- Examples/BasicFilters/IndexedToRGBExample.cxx | 4 +--- Examples/BasicFilters/LeeImageFilter.cxx | 4 +--- Examples/BasicFilters/MeanShiftVectorImageFilterExample.cxx | 4 +--- Examples/BasicFilters/PrintableImageFilterExample.cxx | 4 +--- Examples/BasicFilters/ScalingFilterExample.cxx | 4 +--- Examples/BasicFilters/otbBasicFiltersExamplesTests.cxx | 4 +--- Examples/ChangeDetection/ChangeDetectionFrameworkExample.cxx | 4 +--- Examples/ChangeDetection/DiffChDet.cxx | 4 +--- Examples/ChangeDetection/otbChangeDetectionExamplesTests.cxx | 4 +--- Examples/Classification/BayesianPluginClassifier.cxx | 4 +--- .../ExpectationMaximizationMixtureModelEstimator.cxx | 4 +--- Examples/Classification/KdTreeBasedKMeansClustering.cxx | 4 +--- Examples/Classification/ScalarImageKmeansClassifier.cxx | 4 +--- Examples/Classification/ScalarImageKmeansModelEstimator.cxx | 4 +--- Examples/Classification/ScalarImageMarkovRandomField1.cxx | 4 +--- Examples/Classification/otbClassificationExamplesTests.cxx | 4 +--- Examples/DataRepresentation/Containers/TreeContainer.cxx | 4 +--- Examples/DataRepresentation/Image/Image1.cxx | 4 +--- Examples/DataRepresentation/Image/Image2.cxx | 4 +--- Examples/DataRepresentation/Image/Image3.cxx | 4 +--- Examples/DataRepresentation/Image/Image4.cxx | 4 +--- Examples/DataRepresentation/Image/Image5.cxx | 4 +--- Examples/DataRepresentation/Image/Image6.cxx | 4 +--- Examples/DataRepresentation/Image/ImageAdaptor1.cxx | 4 +--- Examples/DataRepresentation/Image/ImageAdaptor2.cxx | 4 +--- Examples/DataRepresentation/Image/ImageAdaptor3.cxx | 4 +--- Examples/DataRepresentation/Image/ImageAdaptor4.cxx | 4 +--- Examples/DataRepresentation/Image/RGBImage.cxx | 4 +--- Examples/DataRepresentation/Image/VectorImage.cxx | 4 +--- Examples/DataRepresentation/Image/otbImageExamplesTests.cxx | 4 +--- Examples/DataRepresentation/Mesh/Mesh1.cxx | 4 +--- Examples/DataRepresentation/Mesh/Mesh2.cxx | 4 +--- Examples/DataRepresentation/Mesh/Mesh3.cxx | 4 +--- Examples/DataRepresentation/Mesh/PointSet1.cxx | 4 +--- Examples/DataRepresentation/Mesh/PointSet2.cxx | 4 +--- Examples/DataRepresentation/Mesh/PointSet3.cxx | 4 +--- Examples/DataRepresentation/Mesh/PointSetWithVectors.cxx | 4 +--- Examples/DataRepresentation/Path/PolyLineParametricPath1.cxx | 4 +--- Examples/DisparityMap/FineRegistrationImageFilterExample.cxx | 4 +--- Examples/DisparityMap/NCCRegistrationFilterExample.cxx | 4 +--- Examples/DisparityMap/SimpleDisparityMapEstimationExample.cxx | 4 +--- Examples/DisparityMap/otbDisparityMapExamplesTests.cxx | 4 +--- Examples/FeatureExtraction/AlignmentsExample.cxx | 4 +--- .../AssymmetricFusionOfLineDetectorExample.cxx | 4 +--- Examples/FeatureExtraction/CloudDetectionExample.cxx | 4 +--- Examples/FeatureExtraction/ComplexMomentPathExample.cxx | 4 +--- .../FeatureExtraction/ComplexMomentsImageFunctionExample.cxx | 4 +--- Examples/FeatureExtraction/CorrelationLineDetectorExample.cxx | 4 +--- Examples/FeatureExtraction/ExtractRoadByStepsExample.cxx | 4 +--- Examples/FeatureExtraction/ExtractRoadExample.cxx | 4 +--- Examples/FeatureExtraction/ExtractSegmentsByStepsExample.cxx | 4 +--- Examples/FeatureExtraction/ExtractSegmentsExample.cxx | 4 +--- .../FeatureExtraction/FlusserMomentsImageFunctionExample.cxx | 4 +--- Examples/FeatureExtraction/HarrisExample.cxx | 4 +--- Examples/FeatureExtraction/HuMomentsImageFunctionExample.cxx | 4 +--- Examples/FeatureExtraction/PanTexExample.cxx | 4 +--- Examples/FeatureExtraction/ParallelLineDetectionExample.cxx | 4 +--- Examples/FeatureExtraction/RatioLineDetectorExample.cxx | 4 +--- Examples/FeatureExtraction/SeamCarvingExample.cxx | 4 +--- Examples/FeatureExtraction/SeamCarvingOtherExample.cxx | 4 +--- Examples/FeatureExtraction/TextureExample.cxx | 4 +--- Examples/FeatureExtraction/ThresholdToPointSetExample.cxx | 4 +--- Examples/FeatureExtraction/TouziEdgeDetectorExample.cxx | 4 +--- .../FeatureExtraction/otbFeatureExtractionExamplesTests1.cxx | 4 +--- .../FeatureExtraction/otbFeatureExtractionExamplesTests2.cxx | 4 +--- Examples/Filtering/BinaryThresholdImageFilter.cxx | 4 +--- Examples/Filtering/CannyEdgeDetectionImageFilter.cxx | 4 +--- Examples/Filtering/CompositeFilterExample.cxx | 4 +--- Examples/Filtering/DanielssonDistanceMapImageFilter.cxx | 4 +--- Examples/Filtering/DerivativeImageFilter.cxx | 4 +--- Examples/Filtering/DiscreteGaussianImageFilter.cxx | 4 +--- .../Filtering/GradientAnisotropicDiffusionImageFilter.cxx | 4 +--- Examples/Filtering/GradientMagnitudeImageFilter.cxx | 4 +--- .../GradientMagnitudeRecursiveGaussianImageFilter.cxx | 4 +--- Examples/Filtering/LaplacianRecursiveGaussianImageFilter1.cxx | 4 +--- Examples/Filtering/LaplacianRecursiveGaussianImageFilter2.cxx | 4 +--- Examples/Filtering/MathematicalMorphologyBinaryFilters.cxx | 4 +--- Examples/Filtering/MathematicalMorphologyGrayscaleFilters.cxx | 4 +--- Examples/Filtering/MeanImageFilter.cxx | 4 +--- Examples/Filtering/MedianImageFilter.cxx | 4 +--- Examples/Filtering/RasterizationExample.cxx | 4 +--- .../SecondDerivativeRecursiveGaussianImageFilter.cxx | 4 +--- Examples/Filtering/ThresholdImageFilter.cxx | 4 +--- Examples/Filtering/otbFilteringExamplesTests.cxx | 4 +--- Examples/Fusion/BayesianFusionImageFilter.cxx | 4 +--- Examples/Fusion/PanSharpeningExample.cxx | 4 +--- Examples/Fusion/otbFusionExamplesTests.cxx | 4 +--- .../GeospatialAnalysis/otbGeospatialAnalysisExamplesTests.cxx | 4 +--- Examples/IO/ComplexImageReadWrite.cxx | 4 +--- Examples/IO/DEMToImageGenerator.cxx | 4 +--- Examples/IO/ExplicitStreamingExample.cxx | 4 +--- Examples/IO/ExtractROI.cxx | 4 +--- Examples/IO/ImageReadCastWrite.cxx | 4 +--- Examples/IO/ImageReadRegionOfInterestWrite.cxx | 4 +--- Examples/IO/ImageReadWrite.cxx | 4 +--- Examples/IO/ImageSeriesIOExample.cxx | 4 +--- Examples/IO/LidarToImageExample.cxx | 4 +--- Examples/IO/MetadataExample.cxx | 4 +--- Examples/IO/MultibandImageReadWrite.cxx | 4 +--- Examples/IO/RGBImageReadWrite.cxx | 4 +--- Examples/IO/StreamingImageReadWrite.cxx | 4 +--- Examples/IO/TileMapImageIOExample.cxx | 4 +--- Examples/IO/otbIOExamplesTests1.cxx | 4 +--- Examples/IO/otbIOExamplesTests2.cxx | 4 +--- Examples/IO/otbIOExamplesTests3.cxx | 4 +--- Examples/Iterators/ImageLinearIteratorWithIndex.cxx | 4 +--- Examples/Iterators/ImageLinearIteratorWithIndex2.cxx | 4 +--- Examples/Iterators/ImageRandomConstIteratorWithIndex.cxx | 4 +--- Examples/Iterators/ImageRegionIterator.cxx | 4 +--- Examples/Iterators/ImageRegionIteratorWithIndex.cxx | 4 +--- Examples/Iterators/ImageSliceIteratorWithIndex.cxx | 4 +--- Examples/Iterators/IteratorsExamples.cxx | 4 +--- Examples/Iterators/NeighborhoodIterators1.cxx | 4 +--- Examples/Iterators/NeighborhoodIterators2.cxx | 4 +--- Examples/Iterators/NeighborhoodIterators3.cxx | 4 +--- Examples/Iterators/NeighborhoodIterators4.cxx | 4 +--- Examples/Iterators/NeighborhoodIterators5.cxx | 4 +--- Examples/Iterators/NeighborhoodIterators6.cxx | 4 +--- Examples/Iterators/ShapedNeighborhoodIterators1.cxx | 4 +--- Examples/Iterators/ShapedNeighborhoodIterators2.cxx | 4 +--- Examples/Iterators/otbIteratorsExamplesTests.cxx | 4 +--- Examples/Learning/GenerateTrainingImageExample.cxx | 4 +--- Examples/Learning/SOMClassifierExample.cxx | 4 +--- .../Learning/SVMGenericKernelImageClassificationExample.cxx | 4 +--- .../Learning/SVMGenericKernelImageModelEstimatorExample.cxx | 4 +--- Examples/Learning/SVMImageClassificationExample.cxx | 4 +--- .../Learning/SVMImageEstimatorClassificationMultiExample.cxx | 4 +--- Examples/Learning/SVMImageModelEstimatorExample.cxx | 4 +--- Examples/Learning/SVMPointSetClassificationExample.cxx | 4 +--- Examples/Learning/SVMPointSetExample.cxx | 4 +--- Examples/Learning/SVMPointSetModelEstimatorExample.cxx | 4 +--- Examples/Learning/otbLearningExamplesTests.cxx | 4 +--- Examples/Markov/MarkovClassification1Example.cxx | 4 +--- Examples/Markov/MarkovClassification2Example.cxx | 4 +--- Examples/Markov/MarkovClassification3Example.cxx | 4 +--- Examples/Markov/MarkovRegularizationExample.cxx | 4 +--- Examples/Markov/MarkovRestaurationExample.cxx | 4 +--- Examples/Markov/otbMarkovExamplesTests.cxx | 4 +--- Examples/MultiScale/otbMultiScaleExamplesTests.cxx | 4 +--- Examples/OBIA/otbOBIAExamplesTests.cxx | 4 +--- Examples/Patented/EstimateAffineTransformationExample.cxx | 4 +--- Examples/Patented/FuzzyConnectednessImageFilter.cxx | 4 +--- Examples/Patented/HybridSegmentationFuzzyVoronoi.cxx | 4 +--- Examples/Patented/SIFTDisparityMapEstimation.cxx | 4 +--- Examples/Patented/ScaleInvariantFeatureImageFilter.cxx | 4 +--- Examples/Patented/otbPatentedExamplesTests.cxx | 4 +--- Examples/Projections/CoordinateToNameExample.cxx | 4 +--- Examples/Projections/MapProjectionExample.cxx | 4 +--- Examples/Projections/OrthoRectificationExample.cxx | 4 +--- Examples/Projections/PlaceNameToLonLatExample.cxx | 4 +--- Examples/Projections/SensorModelExample.cxx | 4 +--- Examples/Projections/VectorDataExtractROIExample.cxx | 4 +--- Examples/Projections/VectorDataProjectionExample.cxx | 4 +--- Examples/Projections/otbProjectionsExamplesTests.cxx | 4 +--- Examples/Projections/otbProjectionsExamplesTests2.cxx | 4 +--- .../ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx | 4 +--- .../AVIMultiChannelRAndGAndNIRVegetationIndexImageFilter.cxx | 4 +--- Examples/Radiometry/AtmosphericCorrectionSequencement.cxx | 4 +--- Examples/Radiometry/NDVIRAndNIRVegetationIndexImageFilter.cxx | 4 +--- Examples/Radiometry/otbRadiometryExamplesTests.cxx | 4 +--- Examples/Registration/ImageRegistration1.cxx | 4 +--- Examples/Registration/ImageRegistration2.cxx | 4 +--- Examples/Registration/ImageRegistration5.cxx | 4 +--- Examples/Registration/ImageRegistration9.cxx | 4 +--- Examples/Registration/otbRegistrationExamplesTests.cxx | 4 +--- .../PiOver4ExamplePolarimetricSynthesisFilter.cxx | 4 +--- Examples/SARPolarimetry/otbSARPolarimetryExamplesTests.cxx | 4 +--- Examples/Segmentation/ConfidenceConnected.cxx | 4 +--- Examples/Segmentation/ConnectedThresholdImageFilter.cxx | 4 +--- Examples/Segmentation/FastMarchingImageFilter.cxx | 4 +--- Examples/Segmentation/IsolatedConnectedImageFilter.cxx | 4 +--- .../Segmentation/LabelizeNeighborhoodConnectedImageFilter.cxx | 4 +--- Examples/Segmentation/NeighborhoodConnectedImageFilter.cxx | 4 +--- Examples/Segmentation/OtsuMultipleThresholdImageFilter.cxx | 4 +--- Examples/Segmentation/OtsuThresholdImageFilter.cxx | 4 +--- Examples/Segmentation/VectorConfidenceConnected.cxx | 4 +--- Examples/Segmentation/WatershedSegmentation.cxx | 4 +--- Examples/Segmentation/otbSegmentationExamplesTests.cxx | 4 +--- Examples/Tutorials/OrthoFusion.cxx | 4 +--- Examples/Tutorials/otbTutorialsExamplesTests.cxx | 4 +--- Examples/Visualization/otbVisualizationExamplesTests.cxx | 4 +--- 185 files changed, 185 insertions(+), 555 deletions(-) diff --git a/Examples/BasicFilters/BandMathFilterExample.cxx b/Examples/BasicFilters/BandMathFilterExample.cxx index 0c12e89b64..0d73cadadb 100644 --- a/Examples/BasicFilters/BandMathFilterExample.cxx +++ b/Examples/BasicFilters/BandMathFilterExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {qb_RoadExtract.tif} diff --git a/Examples/BasicFilters/DEMToRainbowExample.cxx b/Examples/BasicFilters/DEMToRainbowExample.cxx index 336fbcf386..93c7f1ab26 100644 --- a/Examples/BasicFilters/DEMToRainbowExample.cxx +++ b/Examples/BasicFilters/DEMToRainbowExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // OUTPUTS: {DEMToRainbowImageGenerator.png} diff --git a/Examples/BasicFilters/FrostImageFilter.cxx b/Examples/BasicFilters/FrostImageFilter.cxx index 4fb5ea6179..e1aa5d4798 100644 --- a/Examples/BasicFilters/FrostImageFilter.cxx +++ b/Examples/BasicFilters/FrostImageFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {GomaSmall.png} diff --git a/Examples/BasicFilters/HillShadingExample.cxx b/Examples/BasicFilters/HillShadingExample.cxx index 121d7d98cd..c0db709aa4 100644 --- a/Examples/BasicFilters/HillShadingExample.cxx +++ b/Examples/BasicFilters/HillShadingExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // OUTPUTS: {HillShadingExample.png}, {HillShadingColorExample.png} diff --git a/Examples/BasicFilters/IndexedToRGBExample.cxx b/Examples/BasicFilters/IndexedToRGBExample.cxx index 29370a25d8..e00a8a9ad5 100644 --- a/Examples/BasicFilters/IndexedToRGBExample.cxx +++ b/Examples/BasicFilters/IndexedToRGBExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {buildingExtractionIndexed.tif} diff --git a/Examples/BasicFilters/LeeImageFilter.cxx b/Examples/BasicFilters/LeeImageFilter.cxx index 4abf642f2b..7d491b374d 100644 --- a/Examples/BasicFilters/LeeImageFilter.cxx +++ b/Examples/BasicFilters/LeeImageFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {GomaSmall.png} diff --git a/Examples/BasicFilters/MeanShiftVectorImageFilterExample.cxx b/Examples/BasicFilters/MeanShiftVectorImageFilterExample.cxx index 1a9af81eec..50136066eb 100644 --- a/Examples/BasicFilters/MeanShiftVectorImageFilterExample.cxx +++ b/Examples/BasicFilters/MeanShiftVectorImageFilterExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROI_QB_MUL_1.png} diff --git a/Examples/BasicFilters/PrintableImageFilterExample.cxx b/Examples/BasicFilters/PrintableImageFilterExample.cxx index 31b2ccadec..30144b638f 100644 --- a/Examples/BasicFilters/PrintableImageFilterExample.cxx +++ b/Examples/BasicFilters/PrintableImageFilterExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {IMAGERY_SSECH.tif} diff --git a/Examples/BasicFilters/ScalingFilterExample.cxx b/Examples/BasicFilters/ScalingFilterExample.cxx index a356daeb78..b3c03e6069 100644 --- a/Examples/BasicFilters/ScalingFilterExample.cxx +++ b/Examples/BasicFilters/ScalingFilterExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Toulouse_Ortho_PAN.tif} diff --git a/Examples/BasicFilters/otbBasicFiltersExamplesTests.cxx b/Examples/BasicFilters/otbBasicFiltersExamplesTests.cxx index bbff41a020..071d6fdbd3 100644 --- a/Examples/BasicFilters/otbBasicFiltersExamplesTests.cxx +++ b/Examples/BasicFilters/otbBasicFiltersExamplesTests.cxx @@ -18,9 +18,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/ChangeDetection/ChangeDetectionFrameworkExample.cxx b/Examples/ChangeDetection/ChangeDetectionFrameworkExample.cxx index bf2b0e35c6..7da4856721 100644 --- a/Examples/ChangeDetection/ChangeDetectionFrameworkExample.cxx +++ b/Examples/ChangeDetection/ChangeDetectionFrameworkExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/ChangeDetection/DiffChDet.cxx b/Examples/ChangeDetection/DiffChDet.cxx index 418ffe2991..6b1ee9110f 100644 --- a/Examples/ChangeDetection/DiffChDet.cxx +++ b/Examples/ChangeDetection/DiffChDet.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {SpotBefore.png}, {SpotAfter.png} diff --git a/Examples/ChangeDetection/otbChangeDetectionExamplesTests.cxx b/Examples/ChangeDetection/otbChangeDetectionExamplesTests.cxx index 4ad6b16a29..d4206a6c8d 100644 --- a/Examples/ChangeDetection/otbChangeDetectionExamplesTests.cxx +++ b/Examples/ChangeDetection/otbChangeDetectionExamplesTests.cxx @@ -18,9 +18,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/Classification/BayesianPluginClassifier.cxx b/Examples/Classification/BayesianPluginClassifier.cxx index e704c557a3..f2e5bf96e7 100644 --- a/Examples/Classification/BayesianPluginClassifier.cxx +++ b/Examples/Classification/BayesianPluginClassifier.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/Classification/ExpectationMaximizationMixtureModelEstimator.cxx b/Examples/Classification/ExpectationMaximizationMixtureModelEstimator.cxx index a4b5f6ae5e..6ebbafab1c 100644 --- a/Examples/Classification/ExpectationMaximizationMixtureModelEstimator.cxx +++ b/Examples/Classification/ExpectationMaximizationMixtureModelEstimator.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/Classification/KdTreeBasedKMeansClustering.cxx b/Examples/Classification/KdTreeBasedKMeansClustering.cxx index 8ff5937393..9d1314e71d 100644 --- a/Examples/Classification/KdTreeBasedKMeansClustering.cxx +++ b/Examples/Classification/KdTreeBasedKMeansClustering.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // \index{Statistics!k-means clustering (using k-d tree)} diff --git a/Examples/Classification/ScalarImageKmeansClassifier.cxx b/Examples/Classification/ScalarImageKmeansClassifier.cxx index 2bf725824a..3dd64b6099 100644 --- a/Examples/Classification/ScalarImageKmeansClassifier.cxx +++ b/Examples/Classification/ScalarImageKmeansClassifier.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Classification/ScalarImageKmeansModelEstimator.cxx b/Examples/Classification/ScalarImageKmeansModelEstimator.cxx index 33f74478cd..e5795042af 100644 --- a/Examples/Classification/ScalarImageKmeansModelEstimator.cxx +++ b/Examples/Classification/ScalarImageKmeansModelEstimator.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Classification/ScalarImageMarkovRandomField1.cxx b/Examples/Classification/ScalarImageMarkovRandomField1.cxx index 65809b4600..b27b22d760 100644 --- a/Examples/Classification/ScalarImageMarkovRandomField1.cxx +++ b/Examples/Classification/ScalarImageMarkovRandomField1.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // // Software Guide : BeginCommandLineArgs diff --git a/Examples/Classification/otbClassificationExamplesTests.cxx b/Examples/Classification/otbClassificationExamplesTests.cxx index 06e57a4328..448d008747 100644 --- a/Examples/Classification/otbClassificationExamplesTests.cxx +++ b/Examples/Classification/otbClassificationExamplesTests.cxx @@ -18,9 +18,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/DataRepresentation/Containers/TreeContainer.cxx b/Examples/DataRepresentation/Containers/TreeContainer.cxx index 56fe244d2a..339c7ca515 100644 --- a/Examples/DataRepresentation/Containers/TreeContainer.cxx +++ b/Examples/DataRepresentation/Containers/TreeContainer.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Image/Image1.cxx b/Examples/DataRepresentation/Image/Image1.cxx index 3871746a19..f1fa462970 100644 --- a/Examples/DataRepresentation/Image/Image1.cxx +++ b/Examples/DataRepresentation/Image/Image1.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Image/Image2.cxx b/Examples/DataRepresentation/Image/Image2.cxx index 5100218438..0474eb2960 100644 --- a/Examples/DataRepresentation/Image/Image2.cxx +++ b/Examples/DataRepresentation/Image/Image2.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "otbImage.h" diff --git a/Examples/DataRepresentation/Image/Image3.cxx b/Examples/DataRepresentation/Image/Image3.cxx index b86469951c..f94e4942a7 100644 --- a/Examples/DataRepresentation/Image/Image3.cxx +++ b/Examples/DataRepresentation/Image/Image3.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Image/Image4.cxx b/Examples/DataRepresentation/Image/Image4.cxx index 7058d3e0e7..6e1f0ab593 100644 --- a/Examples/DataRepresentation/Image/Image4.cxx +++ b/Examples/DataRepresentation/Image/Image4.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // // Even though OTB can be used to perform diff --git a/Examples/DataRepresentation/Image/Image5.cxx b/Examples/DataRepresentation/Image/Image5.cxx index b20d371347..337df65135 100644 --- a/Examples/DataRepresentation/Image/Image5.cxx +++ b/Examples/DataRepresentation/Image/Image5.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Image/Image6.cxx b/Examples/DataRepresentation/Image/Image6.cxx index 7e24d42aae..2ebd2b9dee 100644 --- a/Examples/DataRepresentation/Image/Image6.cxx +++ b/Examples/DataRepresentation/Image/Image6.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Image/ImageAdaptor1.cxx b/Examples/DataRepresentation/Image/ImageAdaptor1.cxx index 83c3223294..9ac7846486 100644 --- a/Examples/DataRepresentation/Image/ImageAdaptor1.cxx +++ b/Examples/DataRepresentation/Image/ImageAdaptor1.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Image/ImageAdaptor2.cxx b/Examples/DataRepresentation/Image/ImageAdaptor2.cxx index d6fea4a7f1..b533a2b6db 100644 --- a/Examples/DataRepresentation/Image/ImageAdaptor2.cxx +++ b/Examples/DataRepresentation/Image/ImageAdaptor2.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Image/ImageAdaptor3.cxx b/Examples/DataRepresentation/Image/ImageAdaptor3.cxx index a65a42097c..e6d9ec55cd 100644 --- a/Examples/DataRepresentation/Image/ImageAdaptor3.cxx +++ b/Examples/DataRepresentation/Image/ImageAdaptor3.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Image/ImageAdaptor4.cxx b/Examples/DataRepresentation/Image/ImageAdaptor4.cxx index 0192b367bb..9fbd661f63 100644 --- a/Examples/DataRepresentation/Image/ImageAdaptor4.cxx +++ b/Examples/DataRepresentation/Image/ImageAdaptor4.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/DataRepresentation/Image/RGBImage.cxx b/Examples/DataRepresentation/Image/RGBImage.cxx index 1356b99ad0..7256539588 100644 --- a/Examples/DataRepresentation/Image/RGBImage.cxx +++ b/Examples/DataRepresentation/Image/RGBImage.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "otbImage.h" #include "otbImageFileReader.h" diff --git a/Examples/DataRepresentation/Image/VectorImage.cxx b/Examples/DataRepresentation/Image/VectorImage.cxx index 242c970286..aa01b347f9 100644 --- a/Examples/DataRepresentation/Image/VectorImage.cxx +++ b/Examples/DataRepresentation/Image/VectorImage.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Image/otbImageExamplesTests.cxx b/Examples/DataRepresentation/Image/otbImageExamplesTests.cxx index 8d6999a430..361fd2c8f9 100644 --- a/Examples/DataRepresentation/Image/otbImageExamplesTests.cxx +++ b/Examples/DataRepresentation/Image/otbImageExamplesTests.cxx @@ -18,9 +18,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/DataRepresentation/Mesh/Mesh1.cxx b/Examples/DataRepresentation/Mesh/Mesh1.cxx index 9e26a81cde..c93640b27b 100644 --- a/Examples/DataRepresentation/Mesh/Mesh1.cxx +++ b/Examples/DataRepresentation/Mesh/Mesh1.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Mesh/Mesh2.cxx b/Examples/DataRepresentation/Mesh/Mesh2.cxx index ae4705005d..398eca34f8 100644 --- a/Examples/DataRepresentation/Mesh/Mesh2.cxx +++ b/Examples/DataRepresentation/Mesh/Mesh2.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Mesh/Mesh3.cxx b/Examples/DataRepresentation/Mesh/Mesh3.cxx index a32302d04e..2f443f733b 100644 --- a/Examples/DataRepresentation/Mesh/Mesh3.cxx +++ b/Examples/DataRepresentation/Mesh/Mesh3.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Mesh/PointSet1.cxx b/Examples/DataRepresentation/Mesh/PointSet1.cxx index 9df19ec0f6..7f71c9ab11 100644 --- a/Examples/DataRepresentation/Mesh/PointSet1.cxx +++ b/Examples/DataRepresentation/Mesh/PointSet1.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Mesh/PointSet2.cxx b/Examples/DataRepresentation/Mesh/PointSet2.cxx index a855dae8a2..3eb073718c 100644 --- a/Examples/DataRepresentation/Mesh/PointSet2.cxx +++ b/Examples/DataRepresentation/Mesh/PointSet2.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Mesh/PointSet3.cxx b/Examples/DataRepresentation/Mesh/PointSet3.cxx index 8f9d221e7e..e9ca365d7c 100644 --- a/Examples/DataRepresentation/Mesh/PointSet3.cxx +++ b/Examples/DataRepresentation/Mesh/PointSet3.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Mesh/PointSetWithVectors.cxx b/Examples/DataRepresentation/Mesh/PointSetWithVectors.cxx index 330db6e912..5f8a178119 100644 --- a/Examples/DataRepresentation/Mesh/PointSetWithVectors.cxx +++ b/Examples/DataRepresentation/Mesh/PointSetWithVectors.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DataRepresentation/Path/PolyLineParametricPath1.cxx b/Examples/DataRepresentation/Path/PolyLineParametricPath1.cxx index 00665da6f9..7e76268ba7 100644 --- a/Examples/DataRepresentation/Path/PolyLineParametricPath1.cxx +++ b/Examples/DataRepresentation/Path/PolyLineParametricPath1.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/DisparityMap/FineRegistrationImageFilterExample.cxx b/Examples/DisparityMap/FineRegistrationImageFilterExample.cxx index 40b3fd4fec..131e81dac8 100644 --- a/Examples/DisparityMap/FineRegistrationImageFilterExample.cxx +++ b/Examples/DisparityMap/FineRegistrationImageFilterExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {StereoFixed.png}, {StereoMoving.png} diff --git a/Examples/DisparityMap/NCCRegistrationFilterExample.cxx b/Examples/DisparityMap/NCCRegistrationFilterExample.cxx index fe36c014ee..aa951f92f7 100644 --- a/Examples/DisparityMap/NCCRegistrationFilterExample.cxx +++ b/Examples/DisparityMap/NCCRegistrationFilterExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {StereoFixed.png}, {StereoMoving.png} diff --git a/Examples/DisparityMap/SimpleDisparityMapEstimationExample.cxx b/Examples/DisparityMap/SimpleDisparityMapEstimationExample.cxx index 744f5fe728..eb023dc5d9 100644 --- a/Examples/DisparityMap/SimpleDisparityMapEstimationExample.cxx +++ b/Examples/DisparityMap/SimpleDisparityMapEstimationExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {StereoFixed.png}, {StereoMoving.png} diff --git a/Examples/DisparityMap/otbDisparityMapExamplesTests.cxx b/Examples/DisparityMap/otbDisparityMapExamplesTests.cxx index 76c5b3ceb2..26d2e6f72c 100644 --- a/Examples/DisparityMap/otbDisparityMapExamplesTests.cxx +++ b/Examples/DisparityMap/otbDisparityMapExamplesTests.cxx @@ -17,9 +17,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/FeatureExtraction/AlignmentsExample.cxx b/Examples/FeatureExtraction/AlignmentsExample.cxx index 70f7a8ad70..5442391a3a 100644 --- a/Examples/FeatureExtraction/AlignmentsExample.cxx +++ b/Examples/FeatureExtraction/AlignmentsExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/FeatureExtraction/AssymmetricFusionOfLineDetectorExample.cxx b/Examples/FeatureExtraction/AssymmetricFusionOfLineDetectorExample.cxx index ddb373c9bb..64f4fda985 100644 --- a/Examples/FeatureExtraction/AssymmetricFusionOfLineDetectorExample.cxx +++ b/Examples/FeatureExtraction/AssymmetricFusionOfLineDetectorExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {amst.png} diff --git a/Examples/FeatureExtraction/CloudDetectionExample.cxx b/Examples/FeatureExtraction/CloudDetectionExample.cxx index cd681808ab..43724f3513 100644 --- a/Examples/FeatureExtraction/CloudDetectionExample.cxx +++ b/Examples/FeatureExtraction/CloudDetectionExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {CloudsOnReunion.tif} diff --git a/Examples/FeatureExtraction/ComplexMomentPathExample.cxx b/Examples/FeatureExtraction/ComplexMomentPathExample.cxx index 37a832b401..b4690ab0fa 100644 --- a/Examples/FeatureExtraction/ComplexMomentPathExample.cxx +++ b/Examples/FeatureExtraction/ComplexMomentPathExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "itkExceptionObject.h" #include "otbImage.h" diff --git a/Examples/FeatureExtraction/ComplexMomentsImageFunctionExample.cxx b/Examples/FeatureExtraction/ComplexMomentsImageFunctionExample.cxx index aa92462225..d9372ba67c 100644 --- a/Examples/FeatureExtraction/ComplexMomentsImageFunctionExample.cxx +++ b/Examples/FeatureExtraction/ComplexMomentsImageFunctionExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "itkExceptionObject.h" #include "otbImage.h" diff --git a/Examples/FeatureExtraction/CorrelationLineDetectorExample.cxx b/Examples/FeatureExtraction/CorrelationLineDetectorExample.cxx index cbf625b690..1d5b6c7aeb 100644 --- a/Examples/FeatureExtraction/CorrelationLineDetectorExample.cxx +++ b/Examples/FeatureExtraction/CorrelationLineDetectorExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {amst.png} diff --git a/Examples/FeatureExtraction/ExtractRoadByStepsExample.cxx b/Examples/FeatureExtraction/ExtractRoadByStepsExample.cxx index ec9a47c785..7aeb7a02a5 100644 --- a/Examples/FeatureExtraction/ExtractRoadByStepsExample.cxx +++ b/Examples/FeatureExtraction/ExtractRoadByStepsExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/FeatureExtraction/ExtractRoadExample.cxx b/Examples/FeatureExtraction/ExtractRoadExample.cxx index 6573004b9c..29c670809c 100644 --- a/Examples/FeatureExtraction/ExtractRoadExample.cxx +++ b/Examples/FeatureExtraction/ExtractRoadExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {qb_RoadExtract.tif} diff --git a/Examples/FeatureExtraction/ExtractSegmentsByStepsExample.cxx b/Examples/FeatureExtraction/ExtractSegmentsByStepsExample.cxx index 17549b87f0..a748861797 100644 --- a/Examples/FeatureExtraction/ExtractSegmentsByStepsExample.cxx +++ b/Examples/FeatureExtraction/ExtractSegmentsByStepsExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {amst.png} diff --git a/Examples/FeatureExtraction/ExtractSegmentsExample.cxx b/Examples/FeatureExtraction/ExtractSegmentsExample.cxx index 5240938d13..fe9e98a06a 100644 --- a/Examples/FeatureExtraction/ExtractSegmentsExample.cxx +++ b/Examples/FeatureExtraction/ExtractSegmentsExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {amst.png} diff --git a/Examples/FeatureExtraction/FlusserMomentsImageFunctionExample.cxx b/Examples/FeatureExtraction/FlusserMomentsImageFunctionExample.cxx index 88a85a112b..b88b7234d2 100644 --- a/Examples/FeatureExtraction/FlusserMomentsImageFunctionExample.cxx +++ b/Examples/FeatureExtraction/FlusserMomentsImageFunctionExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "itkExceptionObject.h" #include "otbImage.h" diff --git a/Examples/FeatureExtraction/HarrisExample.cxx b/Examples/FeatureExtraction/HarrisExample.cxx index 86021d8e51..a00b54a37b 100644 --- a/Examples/FeatureExtraction/HarrisExample.cxx +++ b/Examples/FeatureExtraction/HarrisExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "itkExceptionObject.h" #include "otbImage.h" diff --git a/Examples/FeatureExtraction/HuMomentsImageFunctionExample.cxx b/Examples/FeatureExtraction/HuMomentsImageFunctionExample.cxx index 01cc9c8294..af96258f4a 100644 --- a/Examples/FeatureExtraction/HuMomentsImageFunctionExample.cxx +++ b/Examples/FeatureExtraction/HuMomentsImageFunctionExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "itkExceptionObject.h" #include "otbImage.h" diff --git a/Examples/FeatureExtraction/PanTexExample.cxx b/Examples/FeatureExtraction/PanTexExample.cxx index 677c37fac0..3165c871bb 100644 --- a/Examples/FeatureExtraction/PanTexExample.cxx +++ b/Examples/FeatureExtraction/PanTexExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROI_QB_MUL_1.png} diff --git a/Examples/FeatureExtraction/ParallelLineDetectionExample.cxx b/Examples/FeatureExtraction/ParallelLineDetectionExample.cxx index 1bc2253c8c..84a228f521 100644 --- a/Examples/FeatureExtraction/ParallelLineDetectionExample.cxx +++ b/Examples/FeatureExtraction/ParallelLineDetectionExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // OUTPUTS: {Lines.png}, {ParallelLines.png} diff --git a/Examples/FeatureExtraction/RatioLineDetectorExample.cxx b/Examples/FeatureExtraction/RatioLineDetectorExample.cxx index f96fc7212d..e726a00034 100644 --- a/Examples/FeatureExtraction/RatioLineDetectorExample.cxx +++ b/Examples/FeatureExtraction/RatioLineDetectorExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {amst.png} diff --git a/Examples/FeatureExtraction/SeamCarvingExample.cxx b/Examples/FeatureExtraction/SeamCarvingExample.cxx index 7bab6c6420..8efaebe8b6 100644 --- a/Examples/FeatureExtraction/SeamCarvingExample.cxx +++ b/Examples/FeatureExtraction/SeamCarvingExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/FeatureExtraction/SeamCarvingOtherExample.cxx b/Examples/FeatureExtraction/SeamCarvingOtherExample.cxx index 068a79ff04..b3a665d111 100644 --- a/Examples/FeatureExtraction/SeamCarvingOtherExample.cxx +++ b/Examples/FeatureExtraction/SeamCarvingOtherExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/FeatureExtraction/TextureExample.cxx b/Examples/FeatureExtraction/TextureExample.cxx index 4f53b99b31..c99778c47a 100644 --- a/Examples/FeatureExtraction/TextureExample.cxx +++ b/Examples/FeatureExtraction/TextureExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ADS40RoiSmall.png} diff --git a/Examples/FeatureExtraction/ThresholdToPointSetExample.cxx b/Examples/FeatureExtraction/ThresholdToPointSetExample.cxx index f395503084..fb6d538592 100644 --- a/Examples/FeatureExtraction/ThresholdToPointSetExample.cxx +++ b/Examples/FeatureExtraction/ThresholdToPointSetExample.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROISpot5.png} diff --git a/Examples/FeatureExtraction/TouziEdgeDetectorExample.cxx b/Examples/FeatureExtraction/TouziEdgeDetectorExample.cxx index 95033cf574..60f9ae013f 100644 --- a/Examples/FeatureExtraction/TouziEdgeDetectorExample.cxx +++ b/Examples/FeatureExtraction/TouziEdgeDetectorExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {amst.png} diff --git a/Examples/FeatureExtraction/otbFeatureExtractionExamplesTests1.cxx b/Examples/FeatureExtraction/otbFeatureExtractionExamplesTests1.cxx index 18a86b70df..b8a2b895f7 100644 --- a/Examples/FeatureExtraction/otbFeatureExtractionExamplesTests1.cxx +++ b/Examples/FeatureExtraction/otbFeatureExtractionExamplesTests1.cxx @@ -18,9 +18,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/FeatureExtraction/otbFeatureExtractionExamplesTests2.cxx b/Examples/FeatureExtraction/otbFeatureExtractionExamplesTests2.cxx index 67c446b6b4..29c921eb3f 100644 --- a/Examples/FeatureExtraction/otbFeatureExtractionExamplesTests2.cxx +++ b/Examples/FeatureExtraction/otbFeatureExtractionExamplesTests2.cxx @@ -17,9 +17,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/Filtering/BinaryThresholdImageFilter.cxx b/Examples/Filtering/BinaryThresholdImageFilter.cxx index 8683733182..b7b0d65261 100644 --- a/Examples/Filtering/BinaryThresholdImageFilter.cxx +++ b/Examples/Filtering/BinaryThresholdImageFilter.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROISpot5.png} diff --git a/Examples/Filtering/CannyEdgeDetectionImageFilter.cxx b/Examples/Filtering/CannyEdgeDetectionImageFilter.cxx index d0d3ddcc76..9f94439611 100644 --- a/Examples/Filtering/CannyEdgeDetectionImageFilter.cxx +++ b/Examples/Filtering/CannyEdgeDetectionImageFilter.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROISpot5.png} diff --git a/Examples/Filtering/CompositeFilterExample.cxx b/Examples/Filtering/CompositeFilterExample.cxx index 79bb2040fd..2843790c8e 100644 --- a/Examples/Filtering/CompositeFilterExample.cxx +++ b/Examples/Filtering/CompositeFilterExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/Filtering/DanielssonDistanceMapImageFilter.cxx b/Examples/Filtering/DanielssonDistanceMapImageFilter.cxx index 0e1b0daa13..bfcbae6da5 100644 --- a/Examples/Filtering/DanielssonDistanceMapImageFilter.cxx +++ b/Examples/Filtering/DanielssonDistanceMapImageFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {FivePoints.png} diff --git a/Examples/Filtering/DerivativeImageFilter.cxx b/Examples/Filtering/DerivativeImageFilter.cxx index b0ccd1dcf6..84dcac7ff6 100644 --- a/Examples/Filtering/DerivativeImageFilter.cxx +++ b/Examples/Filtering/DerivativeImageFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROISpot5.png} diff --git a/Examples/Filtering/DiscreteGaussianImageFilter.cxx b/Examples/Filtering/DiscreteGaussianImageFilter.cxx index 35abb8d836..bfe8c23540 100644 --- a/Examples/Filtering/DiscreteGaussianImageFilter.cxx +++ b/Examples/Filtering/DiscreteGaussianImageFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Filtering/GradientAnisotropicDiffusionImageFilter.cxx b/Examples/Filtering/GradientAnisotropicDiffusionImageFilter.cxx index c9758c6aa6..c514ddafcf 100644 --- a/Examples/Filtering/GradientAnisotropicDiffusionImageFilter.cxx +++ b/Examples/Filtering/GradientAnisotropicDiffusionImageFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Filtering/GradientMagnitudeImageFilter.cxx b/Examples/Filtering/GradientMagnitudeImageFilter.cxx index c9ccc2b43b..0c9f291b54 100644 --- a/Examples/Filtering/GradientMagnitudeImageFilter.cxx +++ b/Examples/Filtering/GradientMagnitudeImageFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROISpot5.png} diff --git a/Examples/Filtering/GradientMagnitudeRecursiveGaussianImageFilter.cxx b/Examples/Filtering/GradientMagnitudeRecursiveGaussianImageFilter.cxx index 9c69531842..f4f003ff99 100644 --- a/Examples/Filtering/GradientMagnitudeRecursiveGaussianImageFilter.cxx +++ b/Examples/Filtering/GradientMagnitudeRecursiveGaussianImageFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROISpot5.png} diff --git a/Examples/Filtering/LaplacianRecursiveGaussianImageFilter1.cxx b/Examples/Filtering/LaplacianRecursiveGaussianImageFilter1.cxx index d082150383..fd76687a6c 100644 --- a/Examples/Filtering/LaplacianRecursiveGaussianImageFilter1.cxx +++ b/Examples/Filtering/LaplacianRecursiveGaussianImageFilter1.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROISpot5.png} diff --git a/Examples/Filtering/LaplacianRecursiveGaussianImageFilter2.cxx b/Examples/Filtering/LaplacianRecursiveGaussianImageFilter2.cxx index c836c141f3..46e77cb631 100644 --- a/Examples/Filtering/LaplacianRecursiveGaussianImageFilter2.cxx +++ b/Examples/Filtering/LaplacianRecursiveGaussianImageFilter2.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROISpot5.png} diff --git a/Examples/Filtering/MathematicalMorphologyBinaryFilters.cxx b/Examples/Filtering/MathematicalMorphologyBinaryFilters.cxx index 81f09d138b..8c8aa26903 100644 --- a/Examples/Filtering/MathematicalMorphologyBinaryFilters.cxx +++ b/Examples/Filtering/MathematicalMorphologyBinaryFilters.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROISpot5.png} diff --git a/Examples/Filtering/MathematicalMorphologyGrayscaleFilters.cxx b/Examples/Filtering/MathematicalMorphologyGrayscaleFilters.cxx index 931d4f5d98..acadcb1d3d 100644 --- a/Examples/Filtering/MathematicalMorphologyGrayscaleFilters.cxx +++ b/Examples/Filtering/MathematicalMorphologyGrayscaleFilters.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Filtering/MeanImageFilter.cxx b/Examples/Filtering/MeanImageFilter.cxx index 0619bca439..433433df27 100644 --- a/Examples/Filtering/MeanImageFilter.cxx +++ b/Examples/Filtering/MeanImageFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Filtering/MedianImageFilter.cxx b/Examples/Filtering/MedianImageFilter.cxx index 2421255830..13c3e5222a 100644 --- a/Examples/Filtering/MedianImageFilter.cxx +++ b/Examples/Filtering/MedianImageFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Filtering/RasterizationExample.cxx b/Examples/Filtering/RasterizationExample.cxx index 7162473f24..ca6e5af3b8 100644 --- a/Examples/Filtering/RasterizationExample.cxx +++ b/Examples/Filtering/RasterizationExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {w002n44e.shp} diff --git a/Examples/Filtering/SecondDerivativeRecursiveGaussianImageFilter.cxx b/Examples/Filtering/SecondDerivativeRecursiveGaussianImageFilter.cxx index d2f089f736..b5b480d60a 100644 --- a/Examples/Filtering/SecondDerivativeRecursiveGaussianImageFilter.cxx +++ b/Examples/Filtering/SecondDerivativeRecursiveGaussianImageFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/Filtering/ThresholdImageFilter.cxx b/Examples/Filtering/ThresholdImageFilter.cxx index 04308877cc..643330f684 100644 --- a/Examples/Filtering/ThresholdImageFilter.cxx +++ b/Examples/Filtering/ThresholdImageFilter.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROISpot5.png} diff --git a/Examples/Filtering/otbFilteringExamplesTests.cxx b/Examples/Filtering/otbFilteringExamplesTests.cxx index 14049b0712..29dfec7288 100644 --- a/Examples/Filtering/otbFilteringExamplesTests.cxx +++ b/Examples/Filtering/otbFilteringExamplesTests.cxx @@ -18,9 +18,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/Fusion/BayesianFusionImageFilter.cxx b/Examples/Fusion/BayesianFusionImageFilter.cxx index 409ac6574c..0a5d426dc0 100644 --- a/Examples/Fusion/BayesianFusionImageFilter.cxx +++ b/Examples/Fusion/BayesianFusionImageFilter.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {multiSpect.tif} , {multiSpectInterp.tif}, {panchro.tif} diff --git a/Examples/Fusion/PanSharpeningExample.cxx b/Examples/Fusion/PanSharpeningExample.cxx index c3e72da22b..b139022a42 100644 --- a/Examples/Fusion/PanSharpeningExample.cxx +++ b/Examples/Fusion/PanSharpeningExample.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Toulouse_Ortho_PAN.tif}, {QB_Toulouse_Ortho_XS.tif} diff --git a/Examples/Fusion/otbFusionExamplesTests.cxx b/Examples/Fusion/otbFusionExamplesTests.cxx index a5828d5d7e..2be8b1e227 100644 --- a/Examples/Fusion/otbFusionExamplesTests.cxx +++ b/Examples/Fusion/otbFusionExamplesTests.cxx @@ -17,9 +17,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/GeospatialAnalysis/otbGeospatialAnalysisExamplesTests.cxx b/Examples/GeospatialAnalysis/otbGeospatialAnalysisExamplesTests.cxx index a15e2f1dc0..64ed4826ad 100644 --- a/Examples/GeospatialAnalysis/otbGeospatialAnalysisExamplesTests.cxx +++ b/Examples/GeospatialAnalysis/otbGeospatialAnalysisExamplesTests.cxx @@ -18,9 +18,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/IO/ComplexImageReadWrite.cxx b/Examples/IO/ComplexImageReadWrite.cxx index 39d4bd3286..d7c4e958cd 100644 --- a/Examples/IO/ComplexImageReadWrite.cxx +++ b/Examples/IO/ComplexImageReadWrite.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/IO/DEMToImageGenerator.cxx b/Examples/IO/DEMToImageGenerator.cxx index ab63c9c07a..728ac7c596 100644 --- a/Examples/IO/DEMToImageGenerator.cxx +++ b/Examples/IO/DEMToImageGenerator.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // OUTPUTS: {DEMToImageGenerator.tif} diff --git a/Examples/IO/ExplicitStreamingExample.cxx b/Examples/IO/ExplicitStreamingExample.cxx index 456ec666b8..de2b7aa4d7 100644 --- a/Examples/IO/ExplicitStreamingExample.cxx +++ b/Examples/IO/ExplicitStreamingExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "otbVectorImage.h" #include "otbImageFileReader.h" diff --git a/Examples/IO/ExtractROI.cxx b/Examples/IO/ExtractROI.cxx index 02a42dc5ba..5961de355d 100644 --- a/Examples/IO/ExtractROI.cxx +++ b/Examples/IO/ExtractROI.cxx @@ -19,9 +19,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {IMAGERY_SSECH.tif} diff --git a/Examples/IO/ImageReadCastWrite.cxx b/Examples/IO/ImageReadCastWrite.cxx index de9321b5aa..90a0cc014c 100644 --- a/Examples/IO/ImageReadCastWrite.cxx +++ b/Examples/IO/ImageReadCastWrite.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/IO/ImageReadRegionOfInterestWrite.cxx b/Examples/IO/ImageReadRegionOfInterestWrite.cxx index ed41816b63..828fb45129 100644 --- a/Examples/IO/ImageReadRegionOfInterestWrite.cxx +++ b/Examples/IO/ImageReadRegionOfInterestWrite.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/IO/ImageReadWrite.cxx b/Examples/IO/ImageReadWrite.cxx index e08bf10d45..d91127ed71 100644 --- a/Examples/IO/ImageReadWrite.cxx +++ b/Examples/IO/ImageReadWrite.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/IO/ImageSeriesIOExample.cxx b/Examples/IO/ImageSeriesIOExample.cxx index ab599f263e..d3ca1cd104 100644 --- a/Examples/IO/ImageSeriesIOExample.cxx +++ b/Examples/IO/ImageSeriesIOExample.cxx @@ -19,9 +19,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> diff --git a/Examples/IO/LidarToImageExample.cxx b/Examples/IO/LidarToImageExample.cxx index b7c44fdb80..24427082f4 100644 --- a/Examples/IO/LidarToImageExample.cxx +++ b/Examples/IO/LidarToImageExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {TO_core_last_zoom.las} diff --git a/Examples/IO/MetadataExample.cxx b/Examples/IO/MetadataExample.cxx index 77f100fe0b..3a37d1f964 100644 --- a/Examples/IO/MetadataExample.cxx +++ b/Examples/IO/MetadataExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // SoftwareGuide: BeginLatex // diff --git a/Examples/IO/MultibandImageReadWrite.cxx b/Examples/IO/MultibandImageReadWrite.cxx index efa7d02b8a..b56f4564b6 100644 --- a/Examples/IO/MultibandImageReadWrite.cxx +++ b/Examples/IO/MultibandImageReadWrite.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/IO/RGBImageReadWrite.cxx b/Examples/IO/RGBImageReadWrite.cxx index 990c1b832f..6c5c5fe11a 100644 --- a/Examples/IO/RGBImageReadWrite.cxx +++ b/Examples/IO/RGBImageReadWrite.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/IO/StreamingImageReadWrite.cxx b/Examples/IO/StreamingImageReadWrite.cxx index 349554ae11..c8df7fb7ab 100644 --- a/Examples/IO/StreamingImageReadWrite.cxx +++ b/Examples/IO/StreamingImageReadWrite.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/IO/TileMapImageIOExample.cxx b/Examples/IO/TileMapImageIOExample.cxx index d7c834409d..fbb5c295a9 100644 --- a/Examples/IO/TileMapImageIOExample.cxx +++ b/Examples/IO/TileMapImageIOExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {osmfile.otb} diff --git a/Examples/IO/otbIOExamplesTests1.cxx b/Examples/IO/otbIOExamplesTests1.cxx index 594b84052b..3817908a29 100644 --- a/Examples/IO/otbIOExamplesTests1.cxx +++ b/Examples/IO/otbIOExamplesTests1.cxx @@ -18,9 +18,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/IO/otbIOExamplesTests2.cxx b/Examples/IO/otbIOExamplesTests2.cxx index 27026df5d1..aa0aecb1b3 100644 --- a/Examples/IO/otbIOExamplesTests2.cxx +++ b/Examples/IO/otbIOExamplesTests2.cxx @@ -18,9 +18,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/IO/otbIOExamplesTests3.cxx b/Examples/IO/otbIOExamplesTests3.cxx index 5e6a4be9ba..43772d1e9d 100644 --- a/Examples/IO/otbIOExamplesTests3.cxx +++ b/Examples/IO/otbIOExamplesTests3.cxx @@ -18,9 +18,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/Iterators/ImageLinearIteratorWithIndex.cxx b/Examples/Iterators/ImageLinearIteratorWithIndex.cxx index a9898f00a8..f56a35a7f6 100644 --- a/Examples/Iterators/ImageLinearIteratorWithIndex.cxx +++ b/Examples/Iterators/ImageLinearIteratorWithIndex.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/Iterators/ImageLinearIteratorWithIndex2.cxx b/Examples/Iterators/ImageLinearIteratorWithIndex2.cxx index 23ade6df52..7b62fba93d 100644 --- a/Examples/Iterators/ImageLinearIteratorWithIndex2.cxx +++ b/Examples/Iterators/ImageLinearIteratorWithIndex2.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/Iterators/ImageRandomConstIteratorWithIndex.cxx b/Examples/Iterators/ImageRandomConstIteratorWithIndex.cxx index 0586bf6601..e29a35a6e2 100644 --- a/Examples/Iterators/ImageRandomConstIteratorWithIndex.cxx +++ b/Examples/Iterators/ImageRandomConstIteratorWithIndex.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/Iterators/ImageRegionIterator.cxx b/Examples/Iterators/ImageRegionIterator.cxx index 38707fafd9..2185c9ade3 100644 --- a/Examples/Iterators/ImageRegionIterator.cxx +++ b/Examples/Iterators/ImageRegionIterator.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} // OUTPUTS: {ImageRegionIteratorOutput.png} diff --git a/Examples/Iterators/ImageRegionIteratorWithIndex.cxx b/Examples/Iterators/ImageRegionIteratorWithIndex.cxx index 2713659962..efabca9898 100644 --- a/Examples/Iterators/ImageRegionIteratorWithIndex.cxx +++ b/Examples/Iterators/ImageRegionIteratorWithIndex.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROI_QB_MUL_2.tif} // OUTPUTS: {ImageRegionIteratorWithIndexOutput.jpg} diff --git a/Examples/Iterators/ImageSliceIteratorWithIndex.cxx b/Examples/Iterators/ImageSliceIteratorWithIndex.cxx index 23586a6645..6ad57d39a5 100644 --- a/Examples/Iterators/ImageSliceIteratorWithIndex.cxx +++ b/Examples/Iterators/ImageSliceIteratorWithIndex.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/Iterators/IteratorsExamples.cxx b/Examples/Iterators/IteratorsExamples.cxx index 46bfc09cf5..9a23a60e22 100644 --- a/Examples/Iterators/IteratorsExamples.cxx +++ b/Examples/Iterators/IteratorsExamples.cxx @@ -17,9 +17,7 @@ // this file defines the Iterator Examples for the test driver // and all it expects is that you have a function called RegisterTests -#ifdef _MSC_VER -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "itkTestMain.h" diff --git a/Examples/Iterators/NeighborhoodIterators1.cxx b/Examples/Iterators/NeighborhoodIterators1.cxx index c70e539ba2..4a46d55846 100644 --- a/Examples/Iterators/NeighborhoodIterators1.cxx +++ b/Examples/Iterators/NeighborhoodIterators1.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROI_QB_PAN_1.tif} // OUTPUTS: {NeighborhoodIterators1a.png} diff --git a/Examples/Iterators/NeighborhoodIterators2.cxx b/Examples/Iterators/NeighborhoodIterators2.cxx index acdb3eb65f..dbe2a1f9ee 100644 --- a/Examples/Iterators/NeighborhoodIterators2.cxx +++ b/Examples/Iterators/NeighborhoodIterators2.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "otbImage.h" #include "otbImageFileReader.h" #include "otbImageFileWriter.h" diff --git a/Examples/Iterators/NeighborhoodIterators3.cxx b/Examples/Iterators/NeighborhoodIterators3.cxx index bb8a3c6ea8..fbfab1aeaa 100644 --- a/Examples/Iterators/NeighborhoodIterators3.cxx +++ b/Examples/Iterators/NeighborhoodIterators3.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "otbImage.h" #include "otbImageFileReader.h" #include "otbImageFileWriter.h" diff --git a/Examples/Iterators/NeighborhoodIterators4.cxx b/Examples/Iterators/NeighborhoodIterators4.cxx index 90f8b789b4..fd614641c5 100644 --- a/Examples/Iterators/NeighborhoodIterators4.cxx +++ b/Examples/Iterators/NeighborhoodIterators4.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} // OUTPUTS: {NeighborhoodIterators4a.png} diff --git a/Examples/Iterators/NeighborhoodIterators5.cxx b/Examples/Iterators/NeighborhoodIterators5.cxx index 918f25bc8f..b0ad05332c 100644 --- a/Examples/Iterators/NeighborhoodIterators5.cxx +++ b/Examples/Iterators/NeighborhoodIterators5.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "otbImage.h" #include "otbImageFileReader.h" #include "otbImageFileWriter.h" diff --git a/Examples/Iterators/NeighborhoodIterators6.cxx b/Examples/Iterators/NeighborhoodIterators6.cxx index 868a713e97..8382c8e7d1 100644 --- a/Examples/Iterators/NeighborhoodIterators6.cxx +++ b/Examples/Iterators/NeighborhoodIterators6.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "otbImage.h" #include "otbImageFileReader.h" #include "otbImageFileWriter.h" diff --git a/Examples/Iterators/ShapedNeighborhoodIterators1.cxx b/Examples/Iterators/ShapedNeighborhoodIterators1.cxx index 725768b858..676dcbd3a2 100644 --- a/Examples/Iterators/ShapedNeighborhoodIterators1.cxx +++ b/Examples/Iterators/ShapedNeighborhoodIterators1.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "otbImage.h" #include "otbImageFileReader.h" #include "otbImageFileWriter.h" diff --git a/Examples/Iterators/ShapedNeighborhoodIterators2.cxx b/Examples/Iterators/ShapedNeighborhoodIterators2.cxx index b634262b2b..3692e9c6f1 100644 --- a/Examples/Iterators/ShapedNeighborhoodIterators2.cxx +++ b/Examples/Iterators/ShapedNeighborhoodIterators2.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // SoftwareGuide : BeginCommandLineArgs // INPUTS: {BinaryImage.png} // OUTPUTS: {ShapedNeighborhoodIterators1b.png} diff --git a/Examples/Iterators/otbIteratorsExamplesTests.cxx b/Examples/Iterators/otbIteratorsExamplesTests.cxx index cc7bc4ad9e..9fd1100590 100644 --- a/Examples/Iterators/otbIteratorsExamplesTests.cxx +++ b/Examples/Iterators/otbIteratorsExamplesTests.cxx @@ -18,9 +18,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/Learning/GenerateTrainingImageExample.cxx b/Examples/Learning/GenerateTrainingImageExample.cxx index efcff4e0a2..ec0cf5e983 100644 --- a/Examples/Learning/GenerateTrainingImageExample.cxx +++ b/Examples/Learning/GenerateTrainingImageExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROI_QB_MUL_4.tif}, {LearningROIs.txt} diff --git a/Examples/Learning/SOMClassifierExample.cxx b/Examples/Learning/SOMClassifierExample.cxx index 0f26c575e4..9ef3ca4812 100644 --- a/Examples/Learning/SOMClassifierExample.cxx +++ b/Examples/Learning/SOMClassifierExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <fstream> #include "otbImage.h" diff --git a/Examples/Learning/SVMGenericKernelImageClassificationExample.cxx b/Examples/Learning/SVMGenericKernelImageClassificationExample.cxx index ae56c34bd5..9831ceb8fb 100644 --- a/Examples/Learning/SVMGenericKernelImageClassificationExample.cxx +++ b/Examples/Learning/SVMGenericKernelImageClassificationExample.cxx @@ -18,9 +18,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <fstream> diff --git a/Examples/Learning/SVMGenericKernelImageModelEstimatorExample.cxx b/Examples/Learning/SVMGenericKernelImageModelEstimatorExample.cxx index 448f7a4c3a..4be95b68c9 100644 --- a/Examples/Learning/SVMGenericKernelImageModelEstimatorExample.cxx +++ b/Examples/Learning/SVMGenericKernelImageModelEstimatorExample.cxx @@ -18,9 +18,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // This example illustrates the modifications to be added to the diff --git a/Examples/Learning/SVMImageClassificationExample.cxx b/Examples/Learning/SVMImageClassificationExample.cxx index 4ae51d9d34..6b9cb844fd 100644 --- a/Examples/Learning/SVMImageClassificationExample.cxx +++ b/Examples/Learning/SVMImageClassificationExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <fstream> diff --git a/Examples/Learning/SVMImageEstimatorClassificationMultiExample.cxx b/Examples/Learning/SVMImageEstimatorClassificationMultiExample.cxx index 60e754bf40..2a25d1ca02 100644 --- a/Examples/Learning/SVMImageEstimatorClassificationMultiExample.cxx +++ b/Examples/Learning/SVMImageEstimatorClassificationMultiExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROI_QB_MUL_1.png}, {ROI_mask_multi.png} diff --git a/Examples/Learning/SVMImageModelEstimatorExample.cxx b/Examples/Learning/SVMImageModelEstimatorExample.cxx index da9770a4cc..38fa7a36ad 100644 --- a/Examples/Learning/SVMImageModelEstimatorExample.cxx +++ b/Examples/Learning/SVMImageModelEstimatorExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROI_QB_MUL_1.png}, {ROI_mask.png} diff --git a/Examples/Learning/SVMPointSetClassificationExample.cxx b/Examples/Learning/SVMPointSetClassificationExample.cxx index 863ac21ba7..c21eede182 100644 --- a/Examples/Learning/SVMPointSetClassificationExample.cxx +++ b/Examples/Learning/SVMPointSetClassificationExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {svm_model.svn} diff --git a/Examples/Learning/SVMPointSetExample.cxx b/Examples/Learning/SVMPointSetExample.cxx index d4acd535da..f5dfa91f2a 100644 --- a/Examples/Learning/SVMPointSetExample.cxx +++ b/Examples/Learning/SVMPointSetExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "itkExceptionObject.h" #include "itkPointSet.h" diff --git a/Examples/Learning/SVMPointSetModelEstimatorExample.cxx b/Examples/Learning/SVMPointSetModelEstimatorExample.cxx index c0e68cc02c..1c86dcf21a 100644 --- a/Examples/Learning/SVMPointSetModelEstimatorExample.cxx +++ b/Examples/Learning/SVMPointSetModelEstimatorExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "itkExceptionObject.h" #include "itkPointSet.h" diff --git a/Examples/Learning/otbLearningExamplesTests.cxx b/Examples/Learning/otbLearningExamplesTests.cxx index 82ee5b3218..9b3e3bb6a4 100644 --- a/Examples/Learning/otbLearningExamplesTests.cxx +++ b/Examples/Learning/otbLearningExamplesTests.cxx @@ -18,9 +18,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/Markov/MarkovClassification1Example.cxx b/Examples/Markov/MarkovClassification1Example.cxx index ab57a9ac38..4b8996eada 100644 --- a/Examples/Markov/MarkovClassification1Example.cxx +++ b/Examples/Markov/MarkovClassification1Example.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Markov/MarkovClassification2Example.cxx b/Examples/Markov/MarkovClassification2Example.cxx index 45cf5d547b..5872176dd1 100644 --- a/Examples/Markov/MarkovClassification2Example.cxx +++ b/Examples/Markov/MarkovClassification2Example.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Markov/MarkovClassification3Example.cxx b/Examples/Markov/MarkovClassification3Example.cxx index c9f8481ff3..35de5af20c 100644 --- a/Examples/Markov/MarkovClassification3Example.cxx +++ b/Examples/Markov/MarkovClassification3Example.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Markov/MarkovRegularizationExample.cxx b/Examples/Markov/MarkovRegularizationExample.cxx index 0fe16cdc27..22bba756e9 100644 --- a/Examples/Markov/MarkovRegularizationExample.cxx +++ b/Examples/Markov/MarkovRegularizationExample.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROI_QB_MUL_1_SVN_CLASS_MULTI.png} diff --git a/Examples/Markov/MarkovRestaurationExample.cxx b/Examples/Markov/MarkovRestaurationExample.cxx index 9424650cd1..8542571338 100644 --- a/Examples/Markov/MarkovRestaurationExample.cxx +++ b/Examples/Markov/MarkovRestaurationExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png}, {QB_Suburb.png} diff --git a/Examples/Markov/otbMarkovExamplesTests.cxx b/Examples/Markov/otbMarkovExamplesTests.cxx index 02849dcac7..7a0462a824 100644 --- a/Examples/Markov/otbMarkovExamplesTests.cxx +++ b/Examples/Markov/otbMarkovExamplesTests.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/MultiScale/otbMultiScaleExamplesTests.cxx b/Examples/MultiScale/otbMultiScaleExamplesTests.cxx index dadf747339..59da62bb13 100644 --- a/Examples/MultiScale/otbMultiScaleExamplesTests.cxx +++ b/Examples/MultiScale/otbMultiScaleExamplesTests.cxx @@ -17,9 +17,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/OBIA/otbOBIAExamplesTests.cxx b/Examples/OBIA/otbOBIAExamplesTests.cxx index 08728cc154..60a10429c2 100644 --- a/Examples/OBIA/otbOBIAExamplesTests.cxx +++ b/Examples/OBIA/otbOBIAExamplesTests.cxx @@ -16,9 +16,7 @@ =========================================================================*/ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/Patented/EstimateAffineTransformationExample.cxx b/Examples/Patented/EstimateAffineTransformationExample.cxx index 041f0fb131..e642fe8100 100644 --- a/Examples/Patented/EstimateAffineTransformationExample.cxx +++ b/Examples/Patented/EstimateAffineTransformationExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png}, {QB_SuburbR10X13Y17.png} diff --git a/Examples/Patented/FuzzyConnectednessImageFilter.cxx b/Examples/Patented/FuzzyConnectednessImageFilter.cxx index e6cfdf77fc..2a709edaf9 100644 --- a/Examples/Patented/FuzzyConnectednessImageFilter.cxx +++ b/Examples/Patented/FuzzyConnectednessImageFilter.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#ifdef _MSC_VER -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/Patented/HybridSegmentationFuzzyVoronoi.cxx b/Examples/Patented/HybridSegmentationFuzzyVoronoi.cxx index de0ef6eb04..90a113a7c0 100644 --- a/Examples/Patented/HybridSegmentationFuzzyVoronoi.cxx +++ b/Examples/Patented/HybridSegmentationFuzzyVoronoi.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#ifdef _MSC_VER -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Patented/SIFTDisparityMapEstimation.cxx b/Examples/Patented/SIFTDisparityMapEstimation.cxx index c0f037b9a0..3a0df04f96 100644 --- a/Examples/Patented/SIFTDisparityMapEstimation.cxx +++ b/Examples/Patented/SIFTDisparityMapEstimation.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROISpot5.png}, {ROISpot5Warped.png} diff --git a/Examples/Patented/ScaleInvariantFeatureImageFilter.cxx b/Examples/Patented/ScaleInvariantFeatureImageFilter.cxx index 9341dc3ede..7b10225f12 100644 --- a/Examples/Patented/ScaleInvariantFeatureImageFilter.cxx +++ b/Examples/Patented/ScaleInvariantFeatureImageFilter.cxx @@ -30,9 +30,7 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #ifdef __BORLANDC__ #define ITK_LEAN_AND_MEAN diff --git a/Examples/Patented/otbPatentedExamplesTests.cxx b/Examples/Patented/otbPatentedExamplesTests.cxx index 8e79980e1a..96504515b8 100644 --- a/Examples/Patented/otbPatentedExamplesTests.cxx +++ b/Examples/Patented/otbPatentedExamplesTests.cxx @@ -18,9 +18,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/Projections/CoordinateToNameExample.cxx b/Examples/Projections/CoordinateToNameExample.cxx index 60bfff6d20..f048f00a98 100644 --- a/Examples/Projections/CoordinateToNameExample.cxx +++ b/Examples/Projections/CoordinateToNameExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <fstream> diff --git a/Examples/Projections/MapProjectionExample.cxx b/Examples/Projections/MapProjectionExample.cxx index d788aae0c4..13e88e57a7 100644 --- a/Examples/Projections/MapProjectionExample.cxx +++ b/Examples/Projections/MapProjectionExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // OUTPUTS: {mapProjectionExample-output.txt} diff --git a/Examples/Projections/OrthoRectificationExample.cxx b/Examples/Projections/OrthoRectificationExample.cxx index 46cca22b4b..20570835e2 100644 --- a/Examples/Projections/OrthoRectificationExample.cxx +++ b/Examples/Projections/OrthoRectificationExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "otbImage.h" #include "otbVectorImage.h" diff --git a/Examples/Projections/PlaceNameToLonLatExample.cxx b/Examples/Projections/PlaceNameToLonLatExample.cxx index aac2a083e0..a3176d6a2e 100644 --- a/Examples/Projections/PlaceNameToLonLatExample.cxx +++ b/Examples/Projections/PlaceNameToLonLatExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/Projections/SensorModelExample.cxx b/Examples/Projections/SensorModelExample.cxx index b541a73fe9..8ad29dcc63 100644 --- a/Examples/Projections/SensorModelExample.cxx +++ b/Examples/Projections/SensorModelExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "otbImage.h" #include "otbImageFileReader.h" diff --git a/Examples/Projections/VectorDataExtractROIExample.cxx b/Examples/Projections/VectorDataExtractROIExample.cxx index 7887d9b94a..747f505cf4 100644 --- a/Examples/Projections/VectorDataExtractROIExample.cxx +++ b/Examples/Projections/VectorDataExtractROIExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/Projections/VectorDataProjectionExample.cxx b/Examples/Projections/VectorDataProjectionExample.cxx index 168b32cc6c..c1fab385dc 100644 --- a/Examples/Projections/VectorDataProjectionExample.cxx +++ b/Examples/Projections/VectorDataProjectionExample.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/Projections/otbProjectionsExamplesTests.cxx b/Examples/Projections/otbProjectionsExamplesTests.cxx index 1a75c93fa0..52de224b84 100644 --- a/Examples/Projections/otbProjectionsExamplesTests.cxx +++ b/Examples/Projections/otbProjectionsExamplesTests.cxx @@ -17,9 +17,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/Projections/otbProjectionsExamplesTests2.cxx b/Examples/Projections/otbProjectionsExamplesTests2.cxx index 607ddde360..f7a4c36ffa 100644 --- a/Examples/Projections/otbProjectionsExamplesTests2.cxx +++ b/Examples/Projections/otbProjectionsExamplesTests2.cxx @@ -17,9 +17,7 @@ =========================================================================*/ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/Radiometry/ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx b/Examples/Radiometry/ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx index 7511e458dc..af6ae5c3ad 100644 --- a/Examples/Radiometry/ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx +++ b/Examples/Radiometry/ARVIMultiChannelRAndBAndNIRVegetationIndexImageFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {VegetationIndex.hd} diff --git a/Examples/Radiometry/AVIMultiChannelRAndGAndNIRVegetationIndexImageFilter.cxx b/Examples/Radiometry/AVIMultiChannelRAndGAndNIRVegetationIndexImageFilter.cxx index 94edd4d01e..65f5f6096a 100644 --- a/Examples/Radiometry/AVIMultiChannelRAndGAndNIRVegetationIndexImageFilter.cxx +++ b/Examples/Radiometry/AVIMultiChannelRAndGAndNIRVegetationIndexImageFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {verySmallFSATSW.tif} diff --git a/Examples/Radiometry/AtmosphericCorrectionSequencement.cxx b/Examples/Radiometry/AtmosphericCorrectionSequencement.cxx index 606a09508e..6a6438995c 100644 --- a/Examples/Radiometry/AtmosphericCorrectionSequencement.cxx +++ b/Examples/Radiometry/AtmosphericCorrectionSequencement.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {Romania_Extract.tif} diff --git a/Examples/Radiometry/NDVIRAndNIRVegetationIndexImageFilter.cxx b/Examples/Radiometry/NDVIRAndNIRVegetationIndexImageFilter.cxx index b65ff31848..0412d9b530 100644 --- a/Examples/Radiometry/NDVIRAndNIRVegetationIndexImageFilter.cxx +++ b/Examples/Radiometry/NDVIRAndNIRVegetationIndexImageFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {NDVI_2.hdr} , {NDVI_3.hdr} diff --git a/Examples/Radiometry/otbRadiometryExamplesTests.cxx b/Examples/Radiometry/otbRadiometryExamplesTests.cxx index 023f300c63..4ef53d93df 100644 --- a/Examples/Radiometry/otbRadiometryExamplesTests.cxx +++ b/Examples/Radiometry/otbRadiometryExamplesTests.cxx @@ -17,9 +17,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/Registration/ImageRegistration1.cxx b/Examples/Registration/ImageRegistration1.cxx index aaa2b1160f..728f71f51a 100644 --- a/Examples/Registration/ImageRegistration1.cxx +++ b/Examples/Registration/ImageRegistration1.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Registration/ImageRegistration2.cxx b/Examples/Registration/ImageRegistration2.cxx index b4554c67a9..b1c0787682 100644 --- a/Examples/Registration/ImageRegistration2.cxx +++ b/Examples/Registration/ImageRegistration2.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {RamsesROISmall.png}, {ADS40RoiSmall.png} diff --git a/Examples/Registration/ImageRegistration5.cxx b/Examples/Registration/ImageRegistration5.cxx index 3578f71b8b..899688c69e 100644 --- a/Examples/Registration/ImageRegistration5.cxx +++ b/Examples/Registration/ImageRegistration5.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Registration/ImageRegistration9.cxx b/Examples/Registration/ImageRegistration9.cxx index e663d77ea8..34abbc627a 100644 --- a/Examples/Registration/ImageRegistration9.cxx +++ b/Examples/Registration/ImageRegistration9.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Registration/otbRegistrationExamplesTests.cxx b/Examples/Registration/otbRegistrationExamplesTests.cxx index 25533f34e2..45399cf211 100644 --- a/Examples/Registration/otbRegistrationExamplesTests.cxx +++ b/Examples/Registration/otbRegistrationExamplesTests.cxx @@ -16,9 +16,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/SARPolarimetry/PiOver4ExamplePolarimetricSynthesisFilter.cxx b/Examples/SARPolarimetry/PiOver4ExamplePolarimetricSynthesisFilter.cxx index 66185e393d..436e2efa94 100644 --- a/Examples/SARPolarimetry/PiOver4ExamplePolarimetricSynthesisFilter.cxx +++ b/Examples/SARPolarimetry/PiOver4ExamplePolarimetricSynthesisFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include "otbImage.h" #include "otbImageFileReader.h" diff --git a/Examples/SARPolarimetry/otbSARPolarimetryExamplesTests.cxx b/Examples/SARPolarimetry/otbSARPolarimetryExamplesTests.cxx index 913469a728..e27165bf4c 100644 --- a/Examples/SARPolarimetry/otbSARPolarimetryExamplesTests.cxx +++ b/Examples/SARPolarimetry/otbSARPolarimetryExamplesTests.cxx @@ -17,9 +17,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/Segmentation/ConfidenceConnected.cxx b/Examples/Segmentation/ConfidenceConnected.cxx index e56ac85c39..37f1e5a2eb 100644 --- a/Examples/Segmentation/ConfidenceConnected.cxx +++ b/Examples/Segmentation/ConfidenceConnected.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Segmentation/ConnectedThresholdImageFilter.cxx b/Examples/Segmentation/ConnectedThresholdImageFilter.cxx index 693b3789d9..6d8acf4fac 100644 --- a/Examples/Segmentation/ConnectedThresholdImageFilter.cxx +++ b/Examples/Segmentation/ConnectedThresholdImageFilter.cxx @@ -19,9 +19,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Segmentation/FastMarchingImageFilter.cxx b/Examples/Segmentation/FastMarchingImageFilter.cxx index 1079bdda81..0479794af6 100644 --- a/Examples/Segmentation/FastMarchingImageFilter.cxx +++ b/Examples/Segmentation/FastMarchingImageFilter.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Segmentation/IsolatedConnectedImageFilter.cxx b/Examples/Segmentation/IsolatedConnectedImageFilter.cxx index e2e07ad634..129bbee97c 100644 --- a/Examples/Segmentation/IsolatedConnectedImageFilter.cxx +++ b/Examples/Segmentation/IsolatedConnectedImageFilter.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // INPUTS: {QB_Suburb.png} // OUTPUTS: {ConnectedThresholdOutput1.png} diff --git a/Examples/Segmentation/LabelizeNeighborhoodConnectedImageFilter.cxx b/Examples/Segmentation/LabelizeNeighborhoodConnectedImageFilter.cxx index 2522850b25..8b421c1fd3 100644 --- a/Examples/Segmentation/LabelizeNeighborhoodConnectedImageFilter.cxx +++ b/Examples/Segmentation/LabelizeNeighborhoodConnectedImageFilter.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Segmentation/NeighborhoodConnectedImageFilter.cxx b/Examples/Segmentation/NeighborhoodConnectedImageFilter.cxx index a8646e61b5..ebca209511 100644 --- a/Examples/Segmentation/NeighborhoodConnectedImageFilter.cxx +++ b/Examples/Segmentation/NeighborhoodConnectedImageFilter.cxx @@ -19,9 +19,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Segmentation/OtsuMultipleThresholdImageFilter.cxx b/Examples/Segmentation/OtsuMultipleThresholdImageFilter.cxx index 017c74332c..a87ffb1c28 100644 --- a/Examples/Segmentation/OtsuMultipleThresholdImageFilter.cxx +++ b/Examples/Segmentation/OtsuMultipleThresholdImageFilter.cxx @@ -19,9 +19,7 @@ =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Segmentation/OtsuThresholdImageFilter.cxx b/Examples/Segmentation/OtsuThresholdImageFilter.cxx index dba81ee0d0..951ddb1aaf 100644 --- a/Examples/Segmentation/OtsuThresholdImageFilter.cxx +++ b/Examples/Segmentation/OtsuThresholdImageFilter.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} diff --git a/Examples/Segmentation/VectorConfidenceConnected.cxx b/Examples/Segmentation/VectorConfidenceConnected.cxx index 3599eb624a..2369957e55 100644 --- a/Examples/Segmentation/VectorConfidenceConnected.cxx +++ b/Examples/Segmentation/VectorConfidenceConnected.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {VisibleWomanEyeSlice.png} diff --git a/Examples/Segmentation/WatershedSegmentation.cxx b/Examples/Segmentation/WatershedSegmentation.cxx index a711c5e029..bbaf56dad6 100644 --- a/Examples/Segmentation/WatershedSegmentation.cxx +++ b/Examples/Segmentation/WatershedSegmentation.cxx @@ -18,9 +18,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#ifdef _MSC_VER -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginCommandLineArgs // INPUTS: {ROI_QB_MUL_3.tif} diff --git a/Examples/Segmentation/otbSegmentationExamplesTests.cxx b/Examples/Segmentation/otbSegmentationExamplesTests.cxx index 33908b4fef..06be697e41 100644 --- a/Examples/Segmentation/otbSegmentationExamplesTests.cxx +++ b/Examples/Segmentation/otbSegmentationExamplesTests.cxx @@ -17,9 +17,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/Tutorials/OrthoFusion.cxx b/Examples/Tutorials/OrthoFusion.cxx index 5b74a8dca3..04fff71ab5 100644 --- a/Examples/Tutorials/OrthoFusion.cxx +++ b/Examples/Tutorials/OrthoFusion.cxx @@ -15,9 +15,7 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + // Software Guide : BeginLatex // diff --git a/Examples/Tutorials/otbTutorialsExamplesTests.cxx b/Examples/Tutorials/otbTutorialsExamplesTests.cxx index 46c73b51ff..96de34dbf9 100644 --- a/Examples/Tutorials/otbTutorialsExamplesTests.cxx +++ b/Examples/Tutorials/otbTutorialsExamplesTests.cxx @@ -17,9 +17,7 @@ // this file defines the otbMultiScaleTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" diff --git a/Examples/Visualization/otbVisualizationExamplesTests.cxx b/Examples/Visualization/otbVisualizationExamplesTests.cxx index 28d7ce836c..e12c778245 100644 --- a/Examples/Visualization/otbVisualizationExamplesTests.cxx +++ b/Examples/Visualization/otbVisualizationExamplesTests.cxx @@ -18,9 +18,7 @@ // this file defines the otbVisualizationExamplesTest for the test driver // and all it expects is that you have a function called RegisterTests -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif + #include <iostream> #include "otbTestMain.h" -- GitLab