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

« back to all changes in this revision

Viewing changes to Code/Common/itkImageFunction.txx

  • 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: itkImageFunction.txx,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2006-08-22 22:25:36 $
7
 
  Version:   $Revision: 1.16 $
 
6
  Date:      $Date: 2008-10-17 13:35:26 $
 
7
  Version:   $Revision: 1.17 $
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.
11
11
 
12
 
     This software is distributed WITHOUT ANY WARRANTY; without even 
13
 
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
 
12
     This software is distributed WITHOUT ANY WARRANTY; without even
 
13
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14
14
     PURPOSE.  See the above copyright notices for more information.
15
15
 
16
16
=========================================================================*/
44
44
void
45
45
ImageFunction<TInputImage, TOutput, TCoordRep>
46
46
::PrintSelf(
47
 
  std::ostream& os, 
 
47
  std::ostream& os,
48
48
  Indent indent) const
49
49
{
50
50
  Superclass::PrintSelf( os, indent );
76
76
 
77
77
    for ( unsigned int j = 0; j < ImageDimension; j++ )
78
78
      {
79
 
      m_EndIndex[j] = m_StartIndex[j] + 
80
 
        static_cast<IndexValueType>( size[j] ) - 1;
 
79
      m_EndIndex[j] = m_StartIndex[j] + static_cast<IndexValueType>( size[j] ) - 1;
81
80
      m_StartContinuousIndex[j] = static_cast<CoordRepType>( m_StartIndex[j] );
82
81
      m_EndContinuousIndex[j]   = static_cast<CoordRepType>( m_EndIndex[j] );
83
82
      }
86
85
}
87
86
 
88
87
 
89
 
 
90
88
} // end namespace itk
91
89
 
92
90
#endif
93