ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkv3Rigid3DTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __itkv3Rigid3DTransform_h
19 #define __itkv3Rigid3DTransform_h
20 
21 #include <iostream>
22 #include "itkRigid3DTransform.h"
23 #include "itkVersor.h"
24 
25 namespace itkv3
26 {
60 template< typename TScalar = double >
61 // type for scalars (float or double)
63  public itk::Rigid3DTransform< TScalar >
64 {
65 public:
71 
72 
75 
77  itkNewMacro(Self);
78 
80  itkStaticConstMacro(SpaceDimension, unsigned int, 3);
81  itkStaticConstMacro(InputSpaceDimension, unsigned int, 3);
82  itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3);
83  itkStaticConstMacro(ParametersDimension, unsigned int, 12);
85 
105 
109  typedef typename InverseTransformBaseType::Pointer InverseTransformBasePointer;
110 
112  bool GetInverse(Self *inverse) const
113  {
114  return this->Superclass::GetInverse(inverse);
115  }
116 
119  {
120  Pointer inv = New();
121  return this->GetInverse(inv) ? inv.GetPointer() : ITK_NULLPTR;
122  }
124 
125 protected:
127  {
128  }
129 
130 private:
131  Rigid3DTransform(const Self &); //purposely not implemented
132  void operator=(const Self &); //purposely not implemented
133 }; //class Rigid3DTransform
134 } // namespace itkv3
135 #endif /* __itkv3Rigid3DTransform_h */
InverseTransformBaseType::Pointer InverseTransformBasePointer
static const unsigned int OutputSpaceDimension
Superclass::InputVectorType InputVectorType
Light weight base class for most itk classes.
virtual InverseTransformBasePointer GetInverseTransform() const
Superclass::InputPointType InputPointType
Superclass::OutputVectorValueType OutputVectorValueType
Superclass::InverseTransformBaseType InverseTransformBaseType
itk::SmartPointer< Self > Pointer
Superclass::MatrixType MatrixType
Superclass::InputCovariantVectorType InputCovariantVectorType
Rigid3DTransform of a vector space (e.g. space coordinates)
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::InverseMatrixType InverseMatrixType
InverseTransformBaseType::Pointer InverseTransformBasePointer
Superclass::MatrixValueType MatrixValueType
Superclass::TranslationType TranslationType
Superclass::ParametersValueType ParametersValueType
ObjectType * GetPointer() const
Superclass::InputPointType InputPointType
Superclass::ScalarType ScalarType
static Pointer New()
static const unsigned int SpaceDimension
Superclass::OffsetType OffsetType
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::MatrixValueType MatrixValueType
Superclass::OutputPointType OutputPointType
Superclass::OutputVectorType OutputVectorType
Superclass::MatrixType MatrixType
ITK3.x compatible Rigid3DTransform of a vector space (e.g. space coordinates)
Superclass::JacobianType JacobianType
Superclass::OutputPointType OutputPointType
Superclass::OutputVnlVectorType OutputVnlVectorType
itk::Rigid3DTransform< TScalar > Superclass
Superclass::ParametersType ParametersType
Superclass::CenterType CenterType
itk::SmartPointer< const Self > ConstPointer
Superclass::InputVectorType InputVectorType
Superclass::ScalarType ScalarType
Superclass::OutputVectorValueType OutputVectorValueType
Superclass::JacobianType JacobianType
static const unsigned int ParametersDimension
Superclass::CenterType CenterType
void operator=(const Self &)
Superclass::InverseTransformBaseType InverseTransformBaseType
Superclass::ParametersType ParametersType
static const unsigned int InputSpaceDimension
Superclass::OffsetType OffsetType
Superclass::InputCovariantVectorType InputCovariantVectorType
bool GetInverse(Self *inverse) const
Superclass::OutputVectorType OutputVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::ParametersValueType ParametersValueType
Superclass::InverseMatrixType InverseMatrixType
Superclass::TranslationType TranslationType