diff --git a/Modules/Core/include/itkVtkAbstractTransform.h b/Modules/Core/include/itkVtkAbstractTransform.h index e4fc4c5917..3a241fe832 100644 --- a/Modules/Core/include/itkVtkAbstractTransform.h +++ b/Modules/Core/include/itkVtkAbstractTransform.h @@ -1,101 +1,102 @@ /*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ============================================================================*/ #ifndef MITKVTKABSTRACTTRANSFORM_H_HEADER_INCLUDED_C1C68A2C #define MITKVTKABSTRACTTRANSFORM_H_HEADER_INCLUDED_C1C68A2C #include "itkTransform.h" #include class vtkAbstractTransform; namespace itk { //##Documentation //## @brief Adapter from vtkAbstractTransform to itk::Transform //## @ingroup Geometry template class VtkAbstractTransform : public itk::Transform { public: typedef VtkAbstractTransform Self; typedef Transform Superclass; typedef SmartPointer Pointer; typedef SmartPointer ConstPointer; typedef typename Superclass::OutputPointType OutputPointType; typedef typename Superclass::OutputVectorType OutputVectorType; typedef typename Superclass::OutputVnlVectorType OutputVnlVectorType; typedef typename Superclass::OutputCovariantVectorType OutputCovariantVectorType; typedef typename Superclass::InputPointType InputPointType; typedef typename Superclass::InputVectorType InputVectorType; typedef typename Superclass::InputVnlVectorType InputVnlVectorType; typedef typename Superclass::InputCovariantVectorType InputCovariantVectorType; typedef typename Superclass::ParametersType ParametersType; typedef typename Superclass::JacobianType JacobianType; + typedef typename Superclass::JacobianPositionType JacobianPositionType; itkFactorylessNewMacro(Self); itkCloneMacro(Self); //##Documentation //## @brief Get the vtkAbstractTransform (stored in m_VtkAbstractTransform) virtual vtkAbstractTransform *GetVtkAbstractTransform() const; //##Documentation //## @brief Get the inverse vtkAbstractTransform (stored in m_InverseVtkAbstractTransform) virtual vtkAbstractTransform *GetInverseVtkAbstractTransform() const; //##Documentation //## @brief Set the vtkAbstractTransform (stored in m_VtkAbstractTransform) virtual void SetVtkAbstractTransform(vtkAbstractTransform *aVtkAbstractTransform); using Superclass::TransformVector; using Superclass::TransformCovariantVector; OutputPointType TransformPoint(const InputPointType &) const override; OutputVectorType TransformVector(const InputVectorType &) const override; OutputVnlVectorType TransformVector(const InputVnlVectorType &) const override; OutputCovariantVectorType TransformCovariantVector(const InputCovariantVectorType &) const override; virtual InputPointType BackTransform(const OutputPointType &point) const; virtual InputVectorType BackTransform(const OutputVectorType &vector) const; virtual InputVnlVectorType BackTransform(const OutputVnlVectorType &vector) const; virtual InputCovariantVectorType BackTransform(const OutputCovariantVectorType &vector) const; void SetParameters(const ParametersType &) override; void SetFixedParameters(const ParametersType &) override; void ComputeJacobianWithRespectToParameters(const InputPointType &, JacobianType &) const override; void ComputeJacobianWithRespectToPosition(const InputPointType &, JacobianPositionType &) const override; itk::ModifiedTimeType GetMTime() const override; protected: VtkAbstractTransform(); ~VtkAbstractTransform() override; //##Documentation //## @brief Instance of the vtkAbstractTransform vtkAbstractTransform *m_VtkAbstractTransform; //##Documentation //## @brief Instance of the vtkAbstractTransform vtkAbstractTransform *m_InverseVtkAbstractTransform; mutable unsigned long m_LastVtkAbstractTransformTimeStamp; }; } // namespace itk #ifndef MITK_MANUAL_INSTANTIATION #include "itkVtkAbstractTransform.txx" #endif #endif /* MITKVTKABSTRACTTRANSFORM_H_HEADER_INCLUDED_C1C68A2C */