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

« back to all changes in this revision

Viewing changes to Utilities/MetaIO/metaDTITube.cxx

  • 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:   MetaIO
4
4
  Module:    $RCSfile: metaDTITube.cxx,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2008-04-09 01:44:29 $
7
 
  Version:   $Revision: 1.18 $
 
6
  Date:      $Date: 2008-04-24 19:13:40 $
 
7
  Version:   $Revision: 1.19 $
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.
692
692
    unsigned int pntDim = m_NDims+6; 
693
693
    const DTITubePnt::FieldListType & extraList =
694
694
                                    (*(m_PointList.begin()))->GetExtraFields();
695
 
    pntDim += extraList.size();
 
695
    pntDim += static_cast<unsigned int>(extraList.size());
696
696
 
697
697
    char* data = new char[pntDim*m_NPoints*elementSize];
698
698
    int i=0;