28 #ifndef itkQuaternionOrientationAdapter_h
29 #define itkQuaternionOrientationAdapter_h
30 #if !defined( ITK_LEGACY_REMOVE )
42 namespace QuaternionOrientationAdapterClasses
44 typedef QuaternionRigidTransform< double > TransformType;
47 template<
int VDimension >
48 class QuaternionOrientationAdapter:
49 public OrientationAdapterBase< QuaternionOrientationAdapterClasses::TransformPointerType, VDimension >
53 typedef QuaternionOrientationAdapter Self;
55 typedef OrientationAdapterBase< QuaternionOrientationAdapterClasses::TransformPointerType, VDimension >
Superclass;
56 typedef QuaternionRigidTransform< double >
58 typedef QuaternionOrientationAdapterClasses::TransformPointerType
63 ( Concept::SameDimension< VDimension, 3 > ) );
66 typedef typename Superclass::DirectionType DirectionType;
69 virtual OrientationType FromDirectionCosines(
const DirectionType & Dir)
78 virtual DirectionType ToDirectionCosines(
const OrientationType & Or)
80 return Or->GetMatrix();
86 #endif //#if !defined( ITK_LEGACY_REMOVE )
87 #endif // itkQuaternionOrientationAdapter_h
class ITK_FORCE_EXPORT_MACRO(ITKCommon) DataObject typedef Object Superclass
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)