28 #ifndef __itkOrientationAdapterBase_h
29 #define __itkOrientationAdapterBase_h
43 template<
typename OrientationType,
unsigned int Dimension = 3 >
44 class OrientationAdapterBase
48 typedef ImageBase< Dimension > ImageType;
51 typedef typename ImageType::DirectionType DirectionType;
54 virtual OrientationType FromDirectionCosines(
const DirectionType & Dir) = 0;
57 virtual DirectionType ToDirectionCosines(
const OrientationType & Orient) = 0;