Loading...
Searching...
No Matches
itkAdvancedEuler3DTransform.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: itkAdvancedEuler3DTransform.h,v $
Date: $Date: 2008-10-13 15:36:31 $
Version: $Revision: 1.14 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef itkAdvancedEuler3DTransform_h
#define itkAdvancedEuler3DTransform_h
#include <iostream>
#include "itkAdvancedRigid3DTransform.h"
namespace itk
{
template <class TScalarType = double>
// Data type for scalars (float or double)
class ITK_TEMPLATE_EXPORT AdvancedEuler3DTransform : public AdvancedRigid3DTransform<TScalarType>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(AdvancedEuler3DTransform);
using Self = AdvancedEuler3DTransform;
using Superclass = AdvancedRigid3DTransform<TScalarType>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(AdvancedEuler3DTransform, AdvancedRigid3DTransform);
itkStaticConstMacro(SpaceDimension, unsigned int, 3);
itkStaticConstMacro(InputSpaceDimension, unsigned int, 3);
itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3);
itkStaticConstMacro(ParametersDimension, unsigned int, 6);
using typename Superclass::ParametersType;
using typename Superclass::FixedParametersType;
using typename Superclass::NumberOfParametersType;
using typename Superclass::JacobianType;
using typename Superclass::ScalarType;
using typename Superclass::InputVectorType;
using typename Superclass::OutputVectorType;
using typename Superclass::InputCovariantVectorType;
using typename Superclass::OutputCovariantVectorType;
using typename Superclass::InputVnlVectorType;
using typename Superclass::OutputVnlVectorType;
using typename Superclass::InputPointType;
using typename Superclass::OutputPointType;
using typename Superclass::MatrixType;
using typename Superclass::InverseMatrixType;
using typename Superclass::CenterType;
using typename Superclass::TranslationType;
using typename Superclass::OffsetType;
using AngleType = typename Superclass::ScalarType;
using typename Superclass::NonZeroJacobianIndicesType;
using typename Superclass::SpatialJacobianType;
using typename Superclass::JacobianOfSpatialJacobianType;
using typename Superclass::SpatialHessianType;
using typename Superclass::JacobianOfSpatialHessianType;
using typename Superclass::InternalMatrixType;
void
SetParameters(const ParametersType & parameters) override;
const ParametersType &
GetParameters() const override;
const FixedParametersType &
GetFixedParameters() const override;
void
SetFixedParameters(const FixedParametersType & parameters) override;
void
SetRotation(ScalarType angleX, ScalarType angleY, ScalarType angleZ);
itkGetConstMacro(AngleX, ScalarType);
itkGetConstMacro(AngleY, ScalarType);
itkGetConstMacro(AngleZ, ScalarType);
void
GetJacobian(const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override;
virtual void
SetComputeZYX(const bool flag);
itkGetConstMacro(ComputeZYX, bool);
void
SetIdentity() override;
protected:
AdvancedEuler3DTransform();
~AdvancedEuler3DTransform() override = default;
void
PrintSelf(std::ostream & os, Indent indent) const override;
void
ComputeMatrix() override;
void
ComputeMatrixParameters() override;
virtual void
PrecomputeJacobianOfSpatialJacobian();
private:
ScalarType m_AngleX{};
ScalarType m_AngleY{};
ScalarType m_AngleZ{};
bool m_ComputeZYX{};
};
// class AdvancedEuler3DTransform
} // namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkAdvancedEuler3DTransform.hxx"
#endif
#endif /* itkAdvancedEuler3DTransform_h */
itk::AdvancedEuler3DTransform::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, 3)
itk::AdvancedEuler3DTransform::GetFixedParameters
const FixedParametersType & GetFixedParameters() const override
itk::AdvancedEuler3DTransform::itkStaticConstMacro
itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3)
itk::AdvancedEuler3DTransform::itkStaticConstMacro
itkStaticConstMacro(InputSpaceDimension, unsigned int, 3)
itk::AdvancedEuler3DTransform::itkStaticConstMacro
itkStaticConstMacro(ParametersDimension, unsigned int, 6)
itk::AdvancedEuler3DTransform::SetParameters
void SetParameters(const ParametersType &parameters) override
itk::AdvancedEuler3DTransform::SetIdentity
void SetIdentity() override
itk::AdvancedEuler3DTransform::SetRotation
void SetRotation(ScalarType angleX, ScalarType angleY, ScalarType angleZ)
itk::AdvancedEuler3DTransform::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::AdvancedEuler3DTransform::SetComputeZYX
virtual void SetComputeZYX(const bool flag)
itk::AdvancedEuler3DTransform::GetJacobian
void GetJacobian(const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override
itk::AdvancedEuler3DTransform::~AdvancedEuler3DTransform
~AdvancedEuler3DTransform() override=default
itk::AdvancedEuler3DTransform::SetFixedParameters
void SetFixedParameters(const FixedParametersType &parameters) override
itk::AdvancedEuler3DTransform::AdvancedEuler3DTransform
AdvancedEuler3DTransform()
itk::AdvancedEuler3DTransform::Pointer
SmartPointer< Self > Pointer
Definition itkAdvancedEuler3DTransform.h:72
itk::AdvancedEuler3DTransform< TScalarType >::m_AngleX
ScalarType m_AngleX
Definition itkAdvancedEuler3DTransform.h:175
itk::AdvancedEuler3DTransform::Self
AdvancedEuler3DTransform Self
Definition itkAdvancedEuler3DTransform.h:70
itk::AdvancedEuler3DTransform< TScalarType >::m_AngleZ
ScalarType m_AngleZ
Definition itkAdvancedEuler3DTransform.h:177
itk::AdvancedEuler3DTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkAdvancedEuler3DTransform.h:73
itk::AdvancedEuler3DTransform::Superclass
AdvancedRigid3DTransform< TScalarType > Superclass
Definition itkAdvancedEuler3DTransform.h:71
itk::AdvancedEuler3DTransform::AngleType
typename Superclass::ScalarType AngleType
Definition itkAdvancedEuler3DTransform.h:105
itk::AdvancedEuler3DTransform::GetParameters
const ParametersType & GetParameters() const override
itk::AdvancedEuler3DTransform::PrecomputeJacobianOfSpatialJacobian
virtual void PrecomputeJacobianOfSpatialJacobian()
itk::AdvancedEuler3DTransform::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(AdvancedEuler3DTransform)
itk::AdvancedEuler3DTransform::ComputeMatrixParameters
void ComputeMatrixParameters() override
itk::AdvancedEuler3DTransform< TScalarType >::m_ComputeZYX
bool m_ComputeZYX
Definition itkAdvancedEuler3DTransform.h:178
itk::AdvancedEuler3DTransform::ComputeMatrix
void ComputeMatrix() override
itk::AdvancedEuler3DTransform< TScalarType >::m_AngleY
ScalarType m_AngleY
Definition itkAdvancedEuler3DTransform.h:176
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::TranslationType
OutputVectorType TranslationType
Definition itkAdvancedMatrixOffsetTransformBase.h:149
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::OffsetType
OutputVectorType OffsetType
Definition itkAdvancedMatrixOffsetTransformBase.h:148
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::CenterType
InputPointType CenterType
Definition itkAdvancedMatrixOffsetTransformBase.h:147
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::InverseMatrixType
Matrix< TScalarType, Self::InputSpaceDimension, Self::OutputSpaceDimension > InverseMatrixType
Definition itkAdvancedMatrixOffsetTransformBase.h:144
itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >::MatrixType
Matrix< TScalarType, Self::OutputSpaceDimension, Self::InputSpaceDimension > MatrixType
Definition itkAdvancedMatrixOffsetTransformBase.h:141
itk::AdvancedRigid3DTransform< TScalarType >::SpatialJacobianType
Matrix< ScalarType, OutputSpaceDimension, InputSpaceDimension > SpatialJacobianType
itk::AdvancedRigid3DTransform< TScalarType >::JacobianOfSpatialJacobianType
std::vector< SpatialJacobianType > JacobianOfSpatialJacobianType
itk::AdvancedRigid3DTransform< TScalarType >::SpatialHessianType
FixedArray< Matrix< ScalarType, InputSpaceDimension, InputSpaceDimension >, OutputSpaceDimension > SpatialHessianType
itk::AdvancedRigid3DTransform< TScalarType >::JacobianOfSpatialHessianType
std::vector< SpatialHessianType > JacobianOfSpatialHessianType
itk::AdvancedRigid3DTransform< TScalarType >::InternalMatrixType
typename SpatialJacobianType::InternalMatrixType InternalMatrixType
itk::AdvancedRigid3DTransform< double >::AdvancedRigid3DTransform
AdvancedRigid3DTransform(unsigned int paramDim)
itk::AdvancedRigid3DTransform< TScalarType >::NonZeroJacobianIndicesType
std::vector< unsigned long > NonZeroJacobianIndicesType
itkAdvancedRigid3DTransform.h
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |