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

« back to all changes in this revision

Viewing changes to Code/Common/itkFiniteDifferenceSparseImageFunction.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: itkFiniteDifferenceSparseImageFunction.h,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2003-09-10 14:29:07 $
7
 
  Version:   $Revision: 1.7 $
 
6
  Date:      $Date: 2008-10-16 23:25:41 $
 
7
  Version:   $Revision: 1.8 $
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.
14
14
     PURPOSE.  See the above copyright notices for more information.
15
15
 
16
16
=========================================================================*/
17
 
#ifndef __itkFiniteDifferenceSparseImageFunction_h_
18
 
#define __itkFiniteDifferenceSparseImageFunction_h_
 
17
#ifndef __itkFiniteDifferenceSparseImageFunction_h
 
18
#define __itkFiniteDifferenceSparseImageFunction_h
19
19
 
20
20
#include "itkFiniteDifferenceFunction.h"
21
21
 
47
47
{
48
48
public:
49
49
  /** Standard class typedef. */
50
 
  typedef FiniteDifferenceSparseImageFunction Self;
51
 
  typedef FiniteDifferenceFunction<TSparseImageType> Superclass;
52
 
  typedef SmartPointer<Self> Pointer;
53
 
  typedef SmartPointer<const Self> ConstPointer;
 
50
  typedef FiniteDifferenceSparseImageFunction           Self;
 
51
  typedef FiniteDifferenceFunction<TSparseImageType>    Superclass;
 
52
  typedef SmartPointer<Self>                            Pointer;
 
53
  typedef SmartPointer<const Self>                      ConstPointer;
54
54
 
55
55
  /** Run-time type information (and related methods) */
56
56
  itkTypeMacro( FiniteDifferenceSparseImageFunction, FiniteDifferenceFunction );
82
82
  virtual PixelType ComputeUpdate(const NeighborhoodType&,
83
83
                                  void*,
84
84
                                  const FloatOffsetType&)
85
 
  {
 
85
    {
86
86
    return static_cast<PixelType>(0);
87
 
  }
 
87
    }
88
88
 
89
89
  /** The update called from the FiniteDifferenceSparseImageFilter. This
90
90
      function replaces the ComputeUpdate function. */