Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -Naur InsightToolkit-3.16.0/Code/Algorithms/itkCurvesLevelSetFunction.h InsightToolkit-3.16.0.new/Code/Algorithms/itkCurvesLevelSetFunction.h
- --- InsightToolkit-3.16.0/Code/Algorithms/itkCurvesLevelSetFunction.h 2008-10-23 17:15:23.000000000 +0100
- +++ InsightToolkit-3.16.0.new/Code/Algorithms/itkCurvesLevelSetFunction.h 2015-09-03 13:20:13.000000000 +0100
- @@ -99,7 +99,7 @@
- /** The curvature speed is same as the propagation speed. */
- virtual ScalarValueType CurvatureSpeed(const NeighborhoodType & neighborhood,
- const FloatOffsetType & offset, GlobalDataStruct *gd ) const
- - { return PropagationSpeed( neighborhood, offset, gd ); }
- + { return this->PropagationSpeed( neighborhood, offset, gd ); }
- /** Set/Get the sigma for the Gaussian kernel used to compute the gradient
- * of the feature image needed for the advection term of the equation. */
- diff -Naur InsightToolkit-3.16.0/Code/Algorithms/itkGeodesicActiveContourLevelSetFunction.h InsightToolkit-3.16.0.new/Code/Algorithms/itkGeodesicActiveContourLevelSetFunction.h
- --- InsightToolkit-3.16.0/Code/Algorithms/itkGeodesicActiveContourLevelSetFunction.h 2008-12-21 19:13:11.000000000 +0000
- +++ InsightToolkit-3.16.0.new/Code/Algorithms/itkGeodesicActiveContourLevelSetFunction.h 2015-09-03 13:19:37.000000000 +0100
- @@ -114,7 +114,7 @@
- virtual ScalarValueType CurvatureSpeed(const NeighborhoodType & neighborhood,
- const FloatOffsetType & offset, GlobalDataStruct *gd ) const
- {
- - return PropagationSpeed( neighborhood, offset, gd );
- + return this->PropagationSpeed( neighborhood, offset, gd );
- }
- /** Set/Get the sigma for the Gaussian kernel used to compute the gradient
- diff -Naur InsightToolkit-3.16.0/Code/Algorithms/itkGeodesicActiveContourShapePriorLevelSetFunction.h InsightToolkit-3.16.0.new/Code/Algorithms/itkGeodesicActiveContourShapePriorLevelSetFunction.h
- --- InsightToolkit-3.16.0/Code/Algorithms/itkGeodesicActiveContourShapePriorLevelSetFunction.h 2008-12-21 19:13:12.000000000 +0000
- +++ InsightToolkit-3.16.0.new/Code/Algorithms/itkGeodesicActiveContourShapePriorLevelSetFunction.h 2015-09-03 13:19:14.000000000 +0100
- @@ -130,7 +130,7 @@
- /** The curvature speed is same as the propagation speed. */
- virtual ScalarValueType CurvatureSpeed(const NeighborhoodType & neighborhood,
- const FloatOffsetType & offset, GlobalDataStruct *gd ) const
- - { return PropagationSpeed( neighborhood, offset, gd ); }
- + { return this->PropagationSpeed( neighborhood, offset, gd ); }
- /** Set/Get the sigma for the Gaussian kernel used to compute the gradient
- * of the feature image needed for the advection term of the equation. */
- diff -Naur InsightToolkit-3.16.0/Code/Algorithms/itkShapeDetectionLevelSetFunction.h InsightToolkit-3.16.0.new/Code/Algorithms/itkShapeDetectionLevelSetFunction.h
- --- InsightToolkit-3.16.0/Code/Algorithms/itkShapeDetectionLevelSetFunction.h 2009-01-27 19:30:15.000000000 +0000
- +++ InsightToolkit-3.16.0.new/Code/Algorithms/itkShapeDetectionLevelSetFunction.h 2015-09-03 13:12:47.000000000 +0100
- @@ -103,7 +103,7 @@
- /** The curvature speed is same as the propagation speed. */
- virtual ScalarValueType CurvatureSpeed(const NeighborhoodType & neighborhood,
- const FloatOffsetType & offset, GlobalDataStruct *gd ) const
- - { return PropagationSpeed( neighborhood, offset, gd ); }
- + { return this->PropagationSpeed( neighborhood, offset, gd ); }
- virtual void Initialize(const RadiusType &r)
- {
- diff -Naur InsightToolkit-3.16.0/Code/Algorithms/itkVoronoiPartitioningImageFilter.txx InsightToolkit-3.16.0.new/Code/Algorithms/itkVoronoiPartitioningImageFilter.txx
- --- InsightToolkit-3.16.0/Code/Algorithms/itkVoronoiPartitioningImageFilter.txx 2009-01-27 19:30:17.000000000 +0000
- +++ InsightToolkit-3.16.0.new/Code/Algorithms/itkVoronoiPartitioningImageFilter.txx 2015-09-03 13:22:36.000000000 +0100
- @@ -129,7 +129,7 @@
- {
- if ((*nit)>i)
- {
- - drawLine(this->m_WorkingVD->GetSeed(i),this->m_WorkingVD->GetSeed(*nit));
- + this->drawLine(this->m_WorkingVD->GetSeed(i),this->m_WorkingVD->GetSeed(*nit));
- i=i;
- }
- }
- @@ -164,7 +164,7 @@
- VertList.push_back(currP);
- }
- // Need to fill with an segment identifier
- - FillPolygon(VertList, static_cast<OutputPixelType>(i));
- + this->FillPolygon(VertList, static_cast<OutputPixelType>(i));
- }
- }
- diff -Naur InsightToolkit-3.16.0/Code/BasicFilters/itkBloxBoundaryPointImageToBloxBoundaryProfileImageFilter.txx InsightToolkit-3.16.0.new/Code/BasicFilters/itkBloxBoundaryPointImageToBloxBoundaryProfileImageFilter.txx
- --- InsightToolkit-3.16.0/Code/BasicFilters/itkBloxBoundaryPointImageToBloxBoundaryProfileImageFilter.txx 2009-05-07 15:03:37.000000000 +0100
- +++ InsightToolkit-3.16.0.new/Code/BasicFilters/itkBloxBoundaryPointImageToBloxBoundaryProfileImageFilter.txx 2015-09-03 13:08:35.000000000 +0100
- @@ -502,7 +502,7 @@
- ::SetInput1(const SourceImageType * image1 )
- {
- // Process object is not const-correct so the const casting is required.
- - SetNthInput(1, const_cast<SourceImageType *>( image1 ) );
- + this->SetNthInput(1, const_cast<SourceImageType *>( image1 ) );
- }
- template< typename TSourceImage >
- @@ -511,7 +511,7 @@
- ::SetInput2(const BoundaryPointImageType * image2 )
- {
- // Process object is not const-correct so the const casting is required.
- - SetNthInput(0, const_cast<BoundaryPointImageType *>( image2 ) );
- + this->SetNthInput(0, const_cast<BoundaryPointImageType *>( image2 ) );
- }
- } // end namespace
- diff -Naur InsightToolkit-3.16.0/Code/BasicFilters/itkBloxBoundaryProfileImageToBloxCoreAtomImageFilter.txx InsightToolkit-3.16.0.new/Code/BasicFilters/itkBloxBoundaryProfileImageToBloxCoreAtomImageFilter.txx
- --- InsightToolkit-3.16.0/Code/BasicFilters/itkBloxBoundaryProfileImageToBloxCoreAtomImageFilter.txx 2006-03-19 04:36:56.000000000 +0000
- +++ InsightToolkit-3.16.0.new/Code/BasicFilters/itkBloxBoundaryProfileImageToBloxCoreAtomImageFilter.txx 2015-09-03 13:09:15.000000000 +0100
- @@ -46,7 +46,7 @@
- ::SetInput1(const SourceImageType * image1 )
- {
- // Process object is not const-correct so the const casting is required.
- - SetNthInput(1, const_cast<SourceImageType *>( image1 ) );
- + this->SetNthInput(1, const_cast<SourceImageType *>( image1 ) );
- }
- template< typename TInputImage, typename TOutputImage, typename TSourceImage >
- @@ -55,7 +55,7 @@
- ::SetInput2(const InputImageType * image2 )
- {
- // Process object is not const-correct so the const casting is required.
- - SetNthInput(0, const_cast<InputImageType *>( image2 ) );
- + this->SetNthInput(0, const_cast<InputImageType *>( image2 ) );
- }
- diff -Naur InsightToolkit-3.16.0/Code/BasicFilters/itkTernaryFunctorImageFilter.txx InsightToolkit-3.16.0.new/Code/BasicFilters/itkTernaryFunctorImageFilter.txx
- --- InsightToolkit-3.16.0/Code/BasicFilters/itkTernaryFunctorImageFilter.txx 2008-10-18 17:11:14.000000000 +0100
- +++ InsightToolkit-3.16.0.new/Code/BasicFilters/itkTernaryFunctorImageFilter.txx 2015-09-03 13:03:20.000000000 +0100
- @@ -46,7 +46,7 @@
- ::SetInput1( const TInputImage1 *image1 )
- {
- // The ProcessObject is not const-correct so the const_cast is required here
- - SetNthInput( 0, const_cast<TInputImage1 *>( image1 ) );
- + this->SetNthInput( 0, const_cast<TInputImage1 *>( image1 ) );
- }
- /**
- @@ -59,7 +59,7 @@
- ::SetInput2( const TInputImage2 *image2 )
- {
- // The ProcessObject is not const-correct so the const_cast is required here
- - SetNthInput( 1, const_cast<TInputImage2 *>( image2 ) );
- + this->SetNthInput( 1, const_cast<TInputImage2 *>( image2 ) );
- }
- /**
- @@ -72,7 +72,7 @@
- ::SetInput3( const TInputImage3 *image3 )
- {
- // The ProcessObject is not const-correct so the const_cast is required here
- - SetNthInput( 2, const_cast<TInputImage3 *>( image3 ) );
- + this->SetNthInput( 2, const_cast<TInputImage3 *>( image3 ) );
- }
- /**
- diff -Naur InsightToolkit-3.16.0/Code/Common/itkKLMSegmentationBorder.h InsightToolkit-3.16.0.new/Code/Common/itkKLMSegmentationBorder.h
- --- InsightToolkit-3.16.0/Code/Common/itkKLMSegmentationBorder.h 2009-02-05 19:04:58.000000000 +0000
- +++ InsightToolkit-3.16.0.new/Code/Common/itkKLMSegmentationBorder.h 2015-09-03 12:46:36.000000000 +0100
- @@ -81,11 +81,11 @@
- bool operator> (const KLMDynamicBorderArray<TBorder>* rhs) const
- {
- - if( m_Pointer->GetLambda() == rhs.m_Pointer->GetLambda() )
- + if( m_Pointer->GetLambda() == rhs->m_Pointer->GetLambda() )
- {
- if( m_Pointer->GetLambda() < 0 )
- {
- - return ( m_Pointer > rhs.m_Pointer );
- + return ( m_Pointer > rhs->m_Pointer );
- }
- else
- {
- @@ -100,13 +100,13 @@
- static_cast< double>(m_Pointer->GetRegion2()->GetRegionBorderSize() ));
- double v2 = vnl_math_max(
- - static_cast< double>(rhs.m_Pointer->GetRegion1()->GetRegionBorderSize()),
- - static_cast< double>(rhs.m_Pointer->GetRegion2()->GetRegionBorderSize()) );
- + static_cast< double>(rhs->m_Pointer->GetRegion1()->GetRegionBorderSize()),
- + static_cast< double>(rhs->m_Pointer->GetRegion2()->GetRegionBorderSize()) );
- return ( v1 > v2 );
- }
- }
- - return(m_Pointer->GetLambda() > rhs.m_Pointer->GetLambda() );
- + return(m_Pointer->GetLambda() > rhs->m_Pointer->GetLambda() );
- }
- TBorder *m_Pointer;
- diff -Naur InsightToolkit-3.16.0/Code/Common/itkParametricPath.txx InsightToolkit-3.16.0.new/Code/Common/itkParametricPath.txx
- --- InsightToolkit-3.16.0/Code/Common/itkParametricPath.txx 2009-02-19 19:41:22.000000000 +0000
- +++ InsightToolkit-3.16.0.new/Code/Common/itkParametricPath.txx 2015-09-03 12:51:22.000000000 +0100
- @@ -43,7 +43,7 @@
- ContinuousIndexType continuousIndex;
- IndexType index;
- - continuousIndex = Evaluate( input );
- + continuousIndex = this->Evaluate( input );
- // Round each coordinate to the nearest integer value
- for( unsigned int i=0; i<VDimension; i++ )
- @@ -134,7 +134,7 @@
- inputStepSize = this->EndOfInput() - input;
- }
- - return ( Evaluate(input + inputStepSize) - Evaluate(input) ) / inputStepSize;
- + return ( this->Evaluate(input + inputStepSize) - this->Evaluate(input) ) / inputStepSize;
- }
- template<unsigned int VDimension>
- diff -Naur InsightToolkit-3.16.0/Code/Common/itkPoint.txx InsightToolkit-3.16.0.new/Code/Common/itkPoint.txx
- --- InsightToolkit-3.16.0/Code/Common/itkPoint.txx 2007-01-23 13:15:24.000000000 +0000
- +++ InsightToolkit-3.16.0.new/Code/Common/itkPoint.txx 2015-09-03 13:09:44.000000000 +0100
- @@ -256,7 +256,7 @@
- ::SetToBarycentricCombination( const Self * P,
- const double * weights, unsigned int N )
- {
- - Fill( NumericTraits<T>::Zero ); // put this point to null
- + this->Fill( NumericTraits<T>::Zero ); // put this point to null
- double weightSum = 0.0;
- for( unsigned int j=0; j<N-1; j++)
- {
- diff -Naur InsightToolkit-3.16.0/Code/Numerics/Statistics/itkWeightedCentroidKdTreeGenerator.txx InsightToolkit-3.16.0.new/Code/Numerics/Statistics/itkWeightedCentroidKdTreeGenerator.txx
- --- InsightToolkit-3.16.0/Code/Numerics/Statistics/itkWeightedCentroidKdTreeGenerator.txx 2009-03-04 19:29:54.000000000 +0000
- +++ InsightToolkit-3.16.0.new/Code/Numerics/Statistics/itkWeightedCentroidKdTreeGenerator.txx 2015-09-03 12:53:49.000000000 +0100
- @@ -117,13 +117,13 @@
- upperBound[partitionDimension] = partitionValue;
- const unsigned int beginLeftIndex = beginIndex;
- const unsigned int endLeftIndex = medianIndex;
- - KdTreeNodeType* left = GenerateTreeLoop(beginLeftIndex, endLeftIndex, lowerBound, upperBound, level + 1);
- + KdTreeNodeType* left = this->GenerateTreeLoop(beginLeftIndex, endLeftIndex, lowerBound, upperBound, level + 1);
- upperBound[partitionDimension] = dimensionUpperBound;
- lowerBound[partitionDimension] = partitionValue;
- const unsigned int beginRightIndex = medianIndex+1;
- const unsigned int endRighIndex = endIndex;
- - KdTreeNodeType* right = GenerateTreeLoop(beginRightIndex, endRighIndex, lowerBound, upperBound, level + 1);
- + KdTreeNodeType* right = this->GenerateTreeLoop(beginRightIndex, endRighIndex, lowerBound, upperBound, level + 1);
- lowerBound[partitionDimension] = dimensionLowerBound;
- diff -Naur InsightToolkit-3.16.0/Testing/Code/Common/itkMeshSourceGraftOutputTest.cxx InsightToolkit-3.16.0.new/Testing/Code/Common/itkMeshSourceGraftOutputTest.cxx
- --- InsightToolkit-3.16.0/Testing/Code/Common/itkMeshSourceGraftOutputTest.cxx 2007-08-20 14:00:21.000000000 +0100
- +++ InsightToolkit-3.16.0.new/Testing/Code/Common/itkMeshSourceGraftOutputTest.cxx 2015-09-03 13:00:51.000000000 +0100
- @@ -150,7 +150,7 @@
- std::cout << "Filter: " << filter;
- // Get the Smart Pointer to the Filter Output
- - GraftOutput( filter->GetOutput() );
- + this->GraftOutput( filter->GetOutput() );
- /*
- outputMesh->SetBufferedRegion( outputMesh->GetRequestedRegion() );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement