ITK  4.8.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 TParametersValueType=double>
62  public itk::Rigid3DTransform<TParametersValueType>
63 {
64 public:
70 
71 
74 
76  itkNewMacro(Self);
77 
79  itkStaticConstMacro(SpaceDimension, unsigned int, 3);
80  itkStaticConstMacro(InputSpaceDimension, unsigned int, 3);
81  itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3);
82  itkStaticConstMacro(ParametersDimension, unsigned int, 12);
84 
106 
110  typedef typename InverseTransformBaseType::Pointer InverseTransformBasePointer;
111 
113  bool GetInverse(Self *inverse) const
114  {
115  return this->Superclass::GetInverse(inverse);
116  }
117 
120  {
121  Pointer inv = New();
122  return this->GetInverse(inv) ? inv.GetPointer() : ITK_NULLPTR;
123  }
125 
126 protected:
128  {
129  }
130 
131 private:
132  Rigid3DTransform(const Self &); //purposely not implemented
133  void operator=(const Self &); //purposely not implemented
134 }; //class Rigid3DTransform
135 } // namespace itkv3
136 #endif /* itkv3Rigid3DTransform_h */
Superclass::CenterType CenterType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::FixedParametersType FixedParametersType
Superclass::ScalarType ScalarType
Superclass::OutputVectorValueType OutputVectorValueType
bool GetInverse(Self *inverse) const
Superclass::TranslationType TranslationType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::InverseMatrixType InverseMatrixType
Superclass::OutputVectorType OutputVectorType
Light weight base class for most itk classes.
Superclass::CenterType CenterType
Rigid3DTransform of a vector space (e.g. space coordinates)
Superclass::InverseTransformBaseType InverseTransformBaseType
InverseTransformBaseType::Pointer InverseTransformBasePointer
Superclass::MatrixType MatrixType
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::OutputVectorType OutputVectorType
Superclass::ParametersType ParametersType
static const unsigned int SpaceDimension
ObjectType * GetPointer() const
Superclass::MatrixValueType MatrixValueType
Superclass::InputVectorType InputVectorType
Superclass::ParametersValueType ParametersValueType
Superclass::InverseMatrixType InverseMatrixType
Superclass::OutputVectorValueType OutputVectorValueType
Superclass::TranslationType TranslationType
static Pointer New()
InverseTransformBaseType::Pointer InverseTransformBasePointer
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::OutputPointType OutputPointType
virtual InverseTransformBasePointer GetInverseTransform() const override
Superclass::FixedParametersValueType FixedParametersValueType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
itk::Rigid3DTransform< TParametersValueType > Superclass
Superclass::JacobianType JacobianType
Superclass::JacobianType JacobianType
Superclass::OffsetType OffsetType
ITK3.x compatible Rigid3DTransform of a vector space (e.g. space coordinates)
Superclass::ParametersValueType ParametersValueType
itk::SmartPointer< const Self > ConstPointer
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::InputPointType InputPointType
static const unsigned int ParametersDimension
Superclass::OffsetType OffsetType
Superclass::ParametersType ParametersType
static const unsigned int InputSpaceDimension
Superclass::MatrixType MatrixType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::ScalarType ScalarType
Superclass::InverseTransformBaseType InverseTransformBaseType
static const unsigned int OutputSpaceDimension
Superclass::InputPointType InputPointType
Superclass::InputVectorType InputVectorType
Superclass::OutputPointType OutputPointType
void operator=(const Self &)
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::MatrixValueType MatrixValueType
Superclass::FixedParametersValueType FixedParametersValueType
Superclass::FixedParametersType FixedParametersType
itk::SmartPointer< Self > Pointer