28 #ifndef itkOrientationAdapterBase_h
29 #define itkOrientationAdapterBase_h
31 #if !defined(ITK_LEGACY_REMOVE)
45 template <
typename OrientationType,
unsigned int Dimension = 3>
46 class ITK_TEMPLATE_EXPORT [[deprecated("Since ITK 5.3 use SpatialOrientationAdapter.")]] OrientationAdapterBase
50 using ImageType = ImageBase<Dimension>;
56 virtual OrientationType FromDirectionCosines(
const DirectionType & Dir) = 0;
59 virtual DirectionType ToDirectionCosines(
const OrientationType & Orient) = 0;
64 virtual ~OrientationAdapterBase() =
default;
67 #else // ITK_LEGACY_REMOVE
68 # error itkOrientationAdapterBase.h is a legacy file since ITK 5.3 and will be removed in the future.
69 #endif // ITK_LEGACY_REMOVE
72 #endif // itkOrientationAdapterBase_h