Inheritance diagram for DiRotateTemplate< T >:
Public Member Functions | |
DiRotateTemplate (DiPixel *pixel, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const Uint32 frames, const int degree) | |
constructor. | |
DiRotateTemplate (const int planes, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const Uint32 frames) | |
constructor. | |
virtual | ~DiRotateTemplate () |
destructor | |
void | rotateData (const T *src[], T *dest[], const int degree) |
choose algorithm depending on rotation angle | |
Protected Member Functions | |
void | rotateLeft (const T *src[], T *dest[]) |
rotate source image left and store result in destination image | |
void | rotateRight (const T *src[], T *dest[]) |
rotate source image right and store result in destination image | |
void | rotateTopDown (const T *src[], T *dest[]) |
rotate source image top-down and store result in destination image | |
Private Member Functions | |
void | rotateLeft (T *data[]) |
rotate image left and store result in the same storage area | |
void | rotateRight (T *data[]) |
rotate image right and store result in the same storage area | |
void | rotateTopDown (T *data[]) |
rotate image top-down and store result in the same storage area |
by steps of 90 degrees
Definition at line 53 of file dirotat.h.
|
constructor. This method is used to rotate an image and store the result in the same storage area.
Definition at line 70 of file dirotat.h. References DicomImageClass::checkDebugLevel(), DicomImageClass::DL_Warnings, DiPixel::getCount(), DiPixel::getDataArrayPtr(), DiPixel::getPlanes(), DiTransTemplate< T >::Planes, DiRotateTemplate< T >::rotateLeft(), DiRotateTemplate< T >::rotateRight(), and DiRotateTemplate< T >::rotateTopDown(). |
|
constructor. This method is used to perform only the preparation and to start rotation later with method 'rotateData()'
|
|
choose algorithm depending on rotation angle
Definition at line 133 of file dirotat.h. References DiTransTemplate< T >::copyPixel(), DiRotateTemplate< T >::rotateLeft(), DiRotateTemplate< T >::rotateRight(), and DiRotateTemplate< T >::rotateTopDown(). |
|
rotate image left and store result in the same storage area
Definition at line 259 of file dirotat.h. References OFBitmanipTemplate< T >::copyMem(), DiTransTemplate< T >::Dest_X, and DiTransTemplate< T >::Planes. |
|
rotate source image left and store result in destination image
Definition at line 155 of file dirotat.h. References DiTransTemplate< T >::Dest_X, and DiTransTemplate< T >::Planes. Referenced by DiRotateTemplate< T >::DiRotateTemplate(), and DiRotateTemplate< T >::rotateData(). |
|
rotate image right and store result in the same storage area
Definition at line 297 of file dirotat.h. References OFBitmanipTemplate< T >::copyMem(), DiTransTemplate< T >::Dest_X, and DiTransTemplate< T >::Planes. |
|
rotate source image right and store result in destination image
Definition at line 192 of file dirotat.h. References DiTransTemplate< T >::Dest_X, and DiTransTemplate< T >::Planes. Referenced by DiRotateTemplate< T >::DiRotateTemplate(), and DiRotateTemplate< T >::rotateData(). |
|
rotate image top-down and store result in the same storage area
Definition at line 335 of file dirotat.h. References DiTransTemplate< T >::Planes. |
|
rotate source image top-down and store result in destination image
Definition at line 229 of file dirotat.h. References DiTransTemplate< T >::Planes. Referenced by DiRotateTemplate< T >::DiRotateTemplate(), and DiRotateTemplate< T >::rotateData(). |