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

« back to all changes in this revision

Viewing changes to Code/Common/itkImageRandomNonRepeatingIteratorWithIndex.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: itkImageRandomNonRepeatingIteratorWithIndex.txx,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2005-08-24 20:09:48 $
7
 
  Version:   $Revision: 1.1 $
 
6
  Date:      $Date: 2008-10-17 01:41:59 $
 
7
  Version:   $Revision: 1.2 $
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
=========================================================================*/
17
 
#ifndef _itkImageRandomNonRepeatingIteratorWithIndex_txx
18
 
#define _itkImageRandomNonRepeatingIteratorWithIndex_txx
 
17
#ifndef __itkImageRandomNonRepeatingIteratorWithIndex_txx
 
18
#define __itkImageRandomNonRepeatingIteratorWithIndex_txx
19
19
 
20
20
#include "itkImageRandomNonRepeatingIteratorWithIndex.h"
21
21
 
25
25
template< typename TImage >
26
26
ImageRandomNonRepeatingIteratorWithIndex<TImage>
27
27
::ImageRandomNonRepeatingIteratorWithIndex()
28
 
  : ImageRandomNonRepeatingConstIteratorWithIndex<TImage>() 
 
28
  : ImageRandomNonRepeatingConstIteratorWithIndex<TImage>()
29
29
{
30
30
}
31
31
 
33
33
template< typename TImage >
34
34
ImageRandomNonRepeatingIteratorWithIndex<TImage>
35
35
::ImageRandomNonRepeatingIteratorWithIndex(ImageType *ptr, const RegionType& region) :
36
 
  ImageRandomNonRepeatingConstIteratorWithIndex<TImage>(   ptr, region ) 
 
36
  ImageRandomNonRepeatingConstIteratorWithIndex<TImage>(   ptr, region )
37
37
{
38
38
}
39
39
 
41
41
ImageRandomNonRepeatingIteratorWithIndex<TImage>
42
42
::ImageRandomNonRepeatingIteratorWithIndex( const ImageIteratorWithIndex<TImage> &it):
43
43
  ImageRandomNonRepeatingConstIteratorWithIndex<TImage>(it)
44
 
 
44
{
45
45
}
46
 
 
 
46
 
47
47
template< typename TImage >
48
48
ImageRandomNonRepeatingIteratorWithIndex<TImage>
49
49
::ImageRandomNonRepeatingIteratorWithIndex( const ImageRandomNonRepeatingConstIteratorWithIndex<TImage> &it):
50
50
  ImageRandomNonRepeatingConstIteratorWithIndex<TImage>(it)
51
 
 
51
{
52
52
}
53
53
 
54
 
 
 
54
 
55
55
template< typename TImage >
56
56
ImageRandomNonRepeatingIteratorWithIndex<TImage> &
57
57
ImageRandomNonRepeatingIteratorWithIndex<TImage>
58
58
::operator=( const ImageRandomNonRepeatingConstIteratorWithIndex<TImage> &it)
59
 
 
59
{
60
60
  this->ImageRandomNonRepeatingConstIteratorWithIndex<TImage>::operator=(it);
61
61
  return *this;
62
62
}