~ubuntu-branches/ubuntu/precise/insighttoolkit/precise

« back to all changes in this revision

Viewing changes to Code/BasicFilters/itkNaryMaximumImageFilter.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2008-12-19 20:16:49 UTC
  • mfrom: (1.2.1 upstream) (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081219201649-drt97guwl2ryt0cn

* New upstream version.
  - patches/nifti-versioning.patch: Remove.  Applied upstream.
  - control:
  - rules: Update version numbers, package names.

* control: Build-depend on uuid-dev (gdcm uses it).

* copyright: Update download URL.

* rules: Adhere to parallel=N in DEB_BUILD_OPTIONS by setting MAKEFLAGS.

* compat: Set to 7.
* control: Update build-dep on debhelper to version >= 7.

* CMakeCache.txt.debian: Set CMAKE_BUILD_TYPE to "RELEASE" so that we
  build with -O3 (not -O2), necessary to optimize the templated code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
  Program:   Insight Segmentation & Registration Toolkit
4
4
  Module:    $RCSfile: itkNaryMaximumImageFilter.h,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2007-09-27 11:36:41 $
7
 
  Version:   $Revision: 1.8 $
 
6
  Date:      $Date: 2008-10-16 19:33:44 $
 
7
  Version:   $Revision: 1.9 $
8
8
 
9
9
  Copyright (c) Insight Software Consortium. All rights reserved.
10
10
  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
78
78
        A = static_cast< OutputValueType > (B[i]);
79
79
        }
80
80
      }
81
 
      return A;
 
81
    return A;
82
82
    }
83
83
  
84
84
  bool operator== (const Maximum1&) const
85
 
  {
 
85
    {
86
86
    return true;
87
 
  }
 
87
    }
88
88
  bool operator!= (const Maximum1&) const
89
 
  {
 
89
    {
90
90
    return false;
91
 
  }
 
91
    }
92
92
};
93
93
 
94
94
}
101
101
{
102
102
public:
103
103
  /** Standard class typedefs. */
104
 
  typedef NaryMaximumImageFilter  Self;
105
 
  typedef NaryFunctorImageFilter<TInputImage,TOutputImage, 
106
 
                                 Functor::Maximum1< typename TInputImage::PixelType, 
107
 
                                   typename TInputImage::PixelType > >  Superclass;
108
 
  typedef SmartPointer<Self>   Pointer;
 
104
  typedef NaryMaximumImageFilter    Self;
 
105
  typedef NaryFunctorImageFilter<
 
106
    TInputImage,TOutputImage, 
 
107
    Functor::Maximum1< typename TInputImage::PixelType, 
 
108
                       typename TInputImage::PixelType > >
 
109
                                    Superclass;
 
110
  typedef SmartPointer<Self>        Pointer;
109
111
  typedef SmartPointer<const Self>  ConstPointer;
110
112
 
111
113
  /** Method for creation through the object factory. */