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

« back to all changes in this revision

Viewing changes to Code/Common/itkFixedCenterOfRotationAffineTransform.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: itkFixedCenterOfRotationAffineTransform.h,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2007-01-30 20:56:07 $
7
 
  Version:   $Revision: 1.8 $
 
6
  Date:      $Date: 2008-10-16 17:27:11 $
 
7
  Version:   $Revision: 1.9 $
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.
67
67
  typedef typename Superclass::ScalarType                ScalarType;
68
68
  typedef typename Superclass::InputVectorType           InputVectorType;
69
69
  typedef typename Superclass::OutputVectorType          OutputVectorType;
70
 
  typedef typename Superclass::InputCovariantVectorType     
71
 
                                            InputCovariantVectorType;
72
 
  typedef typename Superclass::OutputCovariantVectorType    
73
 
                                            OutputCovariantVectorType;
 
70
  typedef typename Superclass::InputCovariantVectorType  InputCovariantVectorType;
 
71
  typedef typename Superclass::OutputCovariantVectorType OutputCovariantVectorType;
74
72
  typedef typename Superclass::InputVnlVectorType        InputVnlVectorType;
75
73
  typedef typename Superclass::OutputVnlVectorType       OutputVnlVectorType;
76
74
  typedef typename Superclass::InputPointType            InputPointType;
83
81
    
84
82
  /** Set and Get the center of rotation */
85
83
  void SetCenterOfRotationComponent(const InputPointType &cor)
86
 
    { this->SetCenter( cor ); };
 
84
    { this->SetCenter( cor ); }
87
85
  InputPointType GetCenterOfRotationComponent(void) const
88
 
    { return this->GetCenter(); };
 
86
    { return this->GetCenter(); }
89
87
   
90
88
  /** Set the matrix of the transform. The matrix should not include
91
89
   *  scale */
92
90
  void SetMatrixComponent(const MatrixType &matrix)
93
 
    { this->SetMatrix( matrix ); };
 
91
    { this->SetMatrix( matrix ); }
94
92
  /** Get matrix of the transform  */
95
93
  const MatrixType & GetMatrixComponent() const 
96
94
    { return this->GetMatrix(); }
97
95
 
98
 
  /** Set offset (origin) of the Transform.*/
 
96
  /** Set offset (origin) of the Transform. */
99
97
  void SetOffsetComponent(const OffsetType &offset)
100
 
    { this->SetTranslation( offset ); };
 
98
    { this->SetTranslation( offset ); }
101
99
 
102
 
  /** Get offset of the transform*/
 
100
  /** Get offset of the transform. */
103
101
  const OffsetType & GetOffsetComponent(void) const 
104
102
    { return this->GetTranslation(); }
105
103
 
109
107
                                       const OutputVectorType &offset);
110
108
  FixedCenterOfRotationAffineTransform(unsigned int outputSpaceDimension,
111
109
                                       unsigned int parametersDimension);
112
 
  FixedCenterOfRotationAffineTransform();      
 
110
  FixedCenterOfRotationAffineTransform();
113
111
   
114
112
  /** Destroy an FixedCenterOfRotationAffineTransform object   */
115
113
  virtual ~FixedCenterOfRotationAffineTransform();
138
136
#endif
139
137
 
140
138
#endif /* __itkFixedCenterOfRotationAffineTransform_h */
141
 
 
142
 
 
143
 
 
144
 
 
145