#include <ImageMethods.h>
Static Public Member Functions | |
static void | paintImage2CDCAsRGB (CDC &dc, const Image &image, CRect destinationRect) |
static void | paintImage2CDCAsYUV (CDC &dc, const Image &image, CRect destinationRect) |
static void | paintImage2CDCAsYUV (CDC &dcMem, const Image &image, CRect destinationRect, bool bwImage) |
static void | paintColorClassImage2CDC (CDC &dc, const ColorClassImage &colorClassImage, CRect destinationRect) |
static void | paint_U_V_ColorSpaceUsage2CDC (CDC &dcMem, const Image &image) |
static void | paint_U_V_ColorSpaceUsage2CDC (BITMAPINFOHEADER *pBuffer, const Image &image) |
static void | paint_U_Y_ColorSpaceUsage2CDC (CDC &dcMem, const Image &image) |
static void | paint_U_Y_ColorSpaceUsage2CDC (BITMAPINFOHEADER *pBuffer, const Image &image) |
static void | paint_V_Y_ColorSpaceUsage2CDC (CDC &dcMem, const Image &image) |
static void | paint_V_Y_ColorSpaceUsage2CDC (BITMAPINFOHEADER *pBuffer, const Image &image) |
static void | writeRobotControlLogoToImage (Image &image) |
Definition at line 19 of file ImageMethods.h.
void ImageMethods::paint_U_V_ColorSpaceUsage2CDC | ( | BITMAPINFOHEADER * | pBuffer, | |
const Image & | image | |||
) | [static] |
Paints the color space usage of an image to a bitmap. The three color channels of the image are interpreted as y, u and v. The view to the color space is along the y axis. The pixels are added to the bitmap so the old bitmap is not overwritten everywehre.
image | the image to paint. | |
pBuffer | Points to the bitmap the color space usage is painted to. |
Definition at line 311 of file ImageMethods.cpp.
void ImageMethods::paint_U_V_ColorSpaceUsage2CDC | ( | CDC & | dcMem, | |
const Image & | image | |||
) | [static] |
Paints the color space usage of an image to a CDC. The three color channels of the image are interpreted as y, u and v. The view to the color space is along the y axis.
image | the image to paint. | |
dcMem | The CDC the color space usage is painted to. |
Definition at line 365 of file ImageMethods.cpp.
References image.
void ImageMethods::paint_U_Y_ColorSpaceUsage2CDC | ( | BITMAPINFOHEADER * | pBuffer, | |
const Image & | image | |||
) | [static] |
Paints the color space usage of an image to a bitmap. The three color channels of the image are interpreted as y, u and v. The view to the color space is along the v axis. The pixels are added to the bitmap so the old bitmap is not overwritten everywehre.
image | the image to paint. | |
pBuffer | Points to the bitmap the color space usage is painted to. |
Definition at line 478 of file ImageMethods.cpp.
void ImageMethods::paint_U_Y_ColorSpaceUsage2CDC | ( | CDC & | dcMem, | |
const Image & | image | |||
) | [static] |
Paints the color space usage of an image to a CDC. The three color channels of the image are interpreted as y, u and v. The view to the color space is along the v axis.
image | The image. | |
dcMem | The CDC the color space usage is painted to. |
Definition at line 533 of file ImageMethods.cpp.
References image.
void ImageMethods::paint_V_Y_ColorSpaceUsage2CDC | ( | BITMAPINFOHEADER * | pBuffer, | |
const Image & | image | |||
) | [static] |
Paints the color space usage of an image to a bitmap. The three color channels of the image are interpreted as y, u and v. The view to the color space is along the u axis. The pixels are added to the bitmap so the old bitmap is not overwritten everywehre.
image | the image to paint. | |
pBuffer | Points to the bitmap the color space usage is painted to. |
Definition at line 394 of file ImageMethods.cpp.
void ImageMethods::paint_V_Y_ColorSpaceUsage2CDC | ( | CDC & | dcMem, | |
const Image & | image | |||
) | [static] |
Paints the color space usage of an image to a CDC. The three color channels of the image are interpreted as y, u and v. The view to the color space is along the u axis.
image | The image. | |
dcMem | The CDC the color space usage is painted to. |
Definition at line 449 of file ImageMethods.cpp.
References image.
void ImageMethods::paintColorClassImage2CDC | ( | CDC & | dc, | |
const ColorClassImage & | colorClassImage, | |||
CRect | destinationRect | |||
) | [static] |
Paints a color class image to a CDC.
dc | The CDC the image is painted to. | |
colorClassImage | the image to paint. | |
destinationRect | Specifies where the color class image is painted in the CDC. |
Definition at line 16 of file ImageMethods.cpp.
References b, ColorClasses::colorClassToRGB(), ColorClassImage::height, ColorClassImage::image, and ColorClassImage::width.
Referenced by ImageView::draw(), HSIColorTableToolZoomDlg::OnPaint(), CTSLColorTableToolDlgBar::OnPaint(), CHSIColorTableToolDlgBar::OnPaint(), and CColorTable64DlgBar::OnPaint().
void ImageMethods::paintImage2CDCAsRGB | ( | CDC & | dc, | |
const Image & | image, | |||
CRect | destinationRect | |||
) | [static] |
Definition at line 261 of file ImageMethods.cpp.
Referenced by ImageDrawingManager::drawImageToOffScreenDC().
void ImageMethods::paintImage2CDCAsYUV | ( | CDC & | dcMem, | |
const Image & | image, | |||
CRect | destinationRect, | |||
bool | bwImage | |||
) | [static] |
Paints an image to a CDC. The three color channels of the image are interpreted as y, u and v.
dc | The CDC the image is painted to. | |
image | the image to paint. | |
destinationRect | Specifies where the image is painted in the CDC. | |
bwImage | Specifies if a color image or a black and white Image is drawn. |
Definition at line 96 of file ImageMethods.cpp.
void ImageMethods::paintImage2CDCAsYUV | ( | CDC & | dc, | |
const Image & | image, | |||
CRect | destinationRect | |||
) | [static] |
Paints an image to a CDC. The three color channels of the image are interpreted as y, u and v.
dc | The CDC the image is painted to. | |
image | the image to paint. | |
destinationRect | Specifies where the image is painted in the CDC. |
Definition at line 86 of file ImageMethods.cpp.
References image.
Referenced by ImageView::draw(), ImageDrawingManager::drawImageToOffScreenDC(), CRobotRemoteDlg2::OnPaint(), HSIColorTableToolZoomDlg::OnPaint(), CTSLColorTableToolDlgBar::OnPaint(), CHSIColorTableToolDlgBar::OnPaint(), and CColorTable64DlgBar::OnPaint().
void ImageMethods::writeRobotControlLogoToImage | ( | Image & | image | ) | [static] |
Writes the RobotControl logo to the image and initializes the rest of the image.
image | The image to paint. |
Definition at line 561 of file ImageMethods.cpp.
References image.
Referenced by CColorTable64DlgBar::OnInitDialog().