]> Creatis software - clitk.git/commitdiff
Remove throw to avoid warnings with c++11
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Fri, 7 Sep 2018 08:14:09 +0000 (10:14 +0200)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Fri, 7 Sep 2018 08:14:09 +0000 (10:14 +0200)
12 files changed:
itk/RelativePositionPropImageFilter.h
itk/RelativePositionPropImageFilter.txx
registration/clitkCorrelationRatioImageToImageMetric.h
registration/clitkCorrelationRatioImageToImageMetric.txx
registration/clitkOptNormalizedCorrelationImageToImageMetric.h
registration/clitkOptNormalizedCorrelationImageToImageMetric.txx
registration/clitkOptNormalizedCorrelationImageToImageMetricFor3DBLUTFFD.h
registration/clitkOptNormalizedCorrelationImageToImageMetricFor3DBLUTFFD.txx
registration/itkOptMattesMutualInformationImageToImageMetricFor3DBLUTFFD.h
registration/itkOptMattesMutualInformationImageToImageMetricFor3DBLUTFFD.txx
registration/itkOptMeanSquaresImageToImageMetricFor3DBLUTFFD.h
registration/itkOptMeanSquaresImageToImageMetricFor3DBLUTFFD.txx

index c4f081287b2b469176c15352bc5c902a2240d866..4b30db1a4fcc739f1796047fd12bd9fc0b3f13a7 100644 (file)
@@ -170,7 +170,7 @@ namespace itk
     }
   
 
-    virtual void GenerateInputRequestedRegion() throw(InvalidRequestedRegionError) ITK_OVERRIDE;
+    virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
     void EnlargeOutputRequestedRegion (DataObject * output) ITK_OVERRIDE;
 
   protected:
index eee0f0a748c95a99e63def5712a0c166ee50dbb0..3ee1d0f24c38b15a6589a1611eadba46ddcefc61 100644 (file)
@@ -50,7 +50,7 @@ namespace itk
   template <class TInputImage, class TOutputImage,class TtNorm>
   void 
   RelativePositionPropImageFilter<TInputImage,TOutputImage,TtNorm>
-  ::GenerateInputRequestedRegion() throw (InvalidRequestedRegionError)
+  ::GenerateInputRequestedRegion()
   {
     // call the superclass' implementation of this method
     Superclass::GenerateInputRequestedRegion ();
index 04a6a3737470da8629af3c786502a3f1eeb30446..51e15ae6023c238e9a24377759fc6f051136aed7 100644 (file)
@@ -105,7 +105,7 @@ public:
     *  (1) making sure that all the components are present and plugged
     *      together correctly,
     *  (3) allocate memory for bin data structures. */
-  virtual void Initialize(void) throw ( ExceptionObject ) ITK_OVERRIDE;
+  virtual void Initialize(void) ITK_OVERRIDE;
 
   /** Get the derivatives of the match measure. */
   void GetDerivative( const TransformParametersType & parameters,
index b52c077c95ac352de10509a02ac53dcfa44d4d9f..685a0435e6b619154bb5de6b3e69864f579e5777 100644 (file)
@@ -51,7 +51,7 @@ CorrelationRatioImageToImageMetric<TFixedImage,TMovingImage>
 template <class TFixedImage, class TMovingImage>
 void
 CorrelationRatioImageToImageMetric<TFixedImage,TMovingImage>
-::Initialize(void) throw ( ExceptionObject )
+::Initialize(void)
 {
 
   this->Superclass::Initialize();
index 46dcae977f831413a449408d6bc341b1d611d9ce..12a90ec00709592ec130e76cff7e91c5da5f83fb 100644 (file)
@@ -95,7 +95,7 @@ public:
    *  (2) uniformly select NumberOfSpatialSamples within
    *      the FixedImageRegion, and
    *  (3) allocate memory for pdf data structures. */
-  virtual void Initialize(void) throw ( itk::ExceptionObject ) ITK_OVERRIDE;
+  virtual void Initialize(void) ITK_OVERRIDE;
 
   /**  Get the value. */
   MeasureType GetValue( const ParametersType & parameters ) const ITK_OVERRIDE;
index 146fb0050198de6dc12f58e489011f5ae8b00696..b5d28ccbac36e52b5c5ddd3a0d231320ba375abe 100644 (file)
@@ -117,7 +117,7 @@ NormalizedCorrelationImageToImageMetric<TFixedImage,TMovingImage>
 template <class TFixedImage, class TMovingImage>
 void
 NormalizedCorrelationImageToImageMetric<TFixedImage,TMovingImage>
-::Initialize(void) throw ( itk::ExceptionObject )
+::Initialize(void)
 {
 
   this->Superclass::Initialize();
index 24afdbe2ff027ac6da61eb51d4bdd0e7199223ce..6718316ea9543122261457cb08524136069af3d7 100644 (file)
@@ -95,7 +95,7 @@ public:
    *  (2) uniformly select NumberOfSpatialSamples within
    *      the FixedImageRegion, and
    *  (3) allocate memory for pdf data structures. */
-  virtual void Initialize(void) throw ( itk::ExceptionObject ) ITK_OVERRIDE;
+  virtual void Initialize(void) ITK_OVERRIDE;
 
   /**  Get the value. */
   MeasureType GetValue( const ParametersType & parameters ) const ITK_OVERRIDE;
index 5ed23c31418da0a1b88f4a2dd9c604c1c62118b4..0389fc5209965bfa9826133dfd9eb28ad0dddadc 100644 (file)
@@ -117,7 +117,7 @@ NormalizedCorrelationImageToImageMetricFor3DBLUTFFD<TFixedImage,TMovingImage>
 template <class TFixedImage, class TMovingImage>
 void
 NormalizedCorrelationImageToImageMetricFor3DBLUTFFD<TFixedImage,TMovingImage>
-::Initialize(void) throw ( itk::ExceptionObject )
+::Initialize(void)
 {
 
   this->Superclass::Initialize();
index e914c1fec5ed56dc9b8939c5766ee6e6d0bd6b3f..9973cc63428fb5dca960e90162335916daa2e0d8 100644 (file)
@@ -187,7 +187,7 @@ public:
    *  (2) uniformly select NumberOfSpatialSamples within
    *      the FixedImageRegion, and
    *  (3) allocate memory for pdf data structures. */
-  virtual void Initialize(void) throw ( ExceptionObject ) ITK_OVERRIDE;
+  virtual void Initialize(void) ITK_OVERRIDE;
 
   /**  Get the value. */
   MeasureType GetValue( const ParametersType & parameters ) const ITK_OVERRIDE;
index 96e8f0a125bf4d10df79bc2553d6ec33b75b0fb7..592fe22687ae4378f504ae1930c30f47d0765fa8 100644 (file)
@@ -183,7 +183,7 @@ MattesMutualInformationImageToImageMetricFor3DBLUTFFD<TFixedImage,TMovingImage>
 template <class TFixedImage, class TMovingImage>
 void
 MattesMutualInformationImageToImageMetricFor3DBLUTFFD<TFixedImage,TMovingImage>
-::Initialize(void) throw ( ExceptionObject )
+::Initialize(void)
 {
   this->Superclass::Initialize();
   this->Superclass::MultiThreadingInitialize();
index 06ecf29344a77e584ce6e7229bc7ade6df629b27..ffa6ac959daad7e29b073bd3ec02fae5ff93bd3f 100644 (file)
@@ -98,7 +98,7 @@ public:
    *  (2) uniformly select NumberOfSpatialSamples within
    *      the FixedImageRegion, and
    *  (3) allocate memory for pdf data structures. */
-  virtual void Initialize(void) throw ( ExceptionObject ) ITK_OVERRIDE;
+  virtual void Initialize(void) ITK_OVERRIDE;
 
   /**  Get the value. */
   MeasureType GetValue( const ParametersType & parameters ) const ITK_OVERRIDE;
index 39cfa8ea688374fcf04cdc7cd3baf08b35f10499..af1c98645af36d2b0483d6fc5226eafad1e49a67 100644 (file)
@@ -100,7 +100,7 @@ MeanSquaresImageToImageMetricFor3DBLUTFFD<TFixedImage,TMovingImage>
 template <class TFixedImage, class TMovingImage>
 void
 MeanSquaresImageToImageMetricFor3DBLUTFFD<TFixedImage,TMovingImage>
-::Initialize(void) throw ( ExceptionObject )
+::Initialize(void)
 {
 
   this->Superclass::Initialize();