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

« back to all changes in this revision

Viewing changes to Code/SpatialObject/itkBoxSpatialObject.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: itkBoxSpatialObject.txx,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2007-01-28 19:24:21 $
7
 
  Version:   $Revision: 1.4 $
 
6
  Date:      $Date: 2008-06-29 01:56:12 $
 
7
  Version:   $Revision: 1.5 $
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.
56
56
    return false;
57
57
    }
58
58
    
59
 
  if(!this->GetIndexToWorldTransform()->GetInverse(
60
 
          const_cast<TransformType *>(this->GetInternalInverseTransform())))
 
59
  if( !this->SetInternalInverseTransformToWorldToIndexTransform() )
61
60
    {
62
61
    return false;
63
62
    }
64
63
 
65
64
  PointType transformedPoint = 
66
 
                   this->GetInternalInverseTransform()->TransformPoint(point);
 
65
    this->GetInternalInverseTransform()->TransformPoint(point);
 
66
 
67
67
  bool isInside = true;
68
68
  for(unsigned int i=0;i<TDimension;i++)
69
69
    {