#include <Image.h>
Inherits NSPipeline::TImage.
Inheritance diagram for NSPipeline::TImageARGB:


Public Member Functions | |
| virtual EnumImageType | GetImageType (void) const |
| Vrati typ tohoto obrazku. | |
| virtual DWORD | GetPixelSize (void) const |
| Vrati velikost jednoho pixelu v bajtech. | |
| virtual DWORD | GetWidth (void) const |
| Vrati sirku v pixelech. | |
| virtual DWORD | GetHeight (void) const |
| Vrati vysku v pixelech. | |
| virtual DWORD | GetPitch (void) const |
| Vrati pocet bajtu mezi pixely na sousednich radcich. | |
| virtual DWORD | GetDataSize (void) const |
| Vrati velikost obrazovych dat v bajtech. | |
| virtual const void * | GetData (void) const |
| Vrati obrazova data. | |
| void * | GetDataWrite (void) |
| Vrati ukazatel na data. | |
| void | FromGray (const TImageGray *image) |
| Metoda vytvori obraz z 8-bitoveho formatu ve stupnich sedi. | |
| void | FromRGB (const TImageRGB *image) |
| Metoda vytvori obraz z barevneho 24-bitoveho obrazu. | |
| bool | IsRectInside (DWORD x, DWORD y, DWORD width, DWORD height) const |
| Tato metoda urci jestli je zadany obdelnik uvnitr tohoto obrazu. | |
| void | CopyFrom (const TImageARGB *src, DWORD x, DWORD y, DWORD width, DWORD height) |
| Metoda zkopiruje zadany vyrez z poskytnuteho obrazku typu ARGB a zkopiruje jej do leveho horniho rohu tohoto obrazu. | |
Private Member Functions | |
| virtual | ~TImageARGB (void) |
| Virtualni soukromy destruktor. | |
| TImageARGB (DWORD width, DWORD height) | |
| Soukromy konstruktor. | |
| TImageARGB (const TImageARGB &orig) | |
| falesny kopirovaci konstruktor | |
| void | operator= (const TImageARGB &orig) |
| falesny operator prirazeni | |
Private Attributes | |
| unsigned char * | m_data |
| data obrazu | |
| DWORD | m_width |
| sirka v pixelech | |
| DWORD | m_height |
| vyska v pixelech | |
Friends | |
| class | TImageSetReal |
V teto tride jsou obrazova data ulozena spojite - PITCH je tedy roven poctu pixelu v radku nasobenych velikosti pixelu ( 4 bajtu ).
Kazdy pixel je reprezentovan jako DWORD 0xAARRGGBB. Tedy v pameti je postupne ulozen nejprve kanal BLUE, GREEN, RED, ALPHA.
Objekt teto tridy muze byt vytvoren pouze tridou TImageSetReal.
Definition at line 54 of file Image.h.
|
|
Virtualni soukromy destruktor.
Definition at line 70 of file Image.cpp. References m_data. |
|
||||||||||||
|
Soukromy konstruktor.
|
|
|
falesny kopirovaci konstruktor
|
|
||||||||||||||||||||||||
|
Metoda zkopiruje zadany vyrez z poskytnuteho obrazku typu ARGB a zkopiruje jej do leveho horniho rohu tohoto obrazu.
Definition at line 173 of file Image.cpp. References IsRectInside(), m_data, m_height, and m_width. Here is the call graph for this function: ![]() |
|
|
Metoda vytvori obraz z 8-bitoveho formatu ve stupnich sedi.
Definition at line 98 of file Image.cpp. References NSPipeline::TImageGray::GetHeight(), GetHeight(), and NSPipeline::TImageGray::GetWidth(). Here is the call graph for this function: ![]() |
|
|
Metoda vytvori obraz z barevneho 24-bitoveho obrazu.
Definition at line 133 of file Image.cpp. References NSPipeline::TImageRGB::GetHeight(), GetHeight(), and NSPipeline::TImageRGB::GetWidth(). Referenced by NSPipeline::TCameraThread::TCameraDLLRun(). Here is the call graph for this function: ![]() |
|
|
Vrati obrazova data.
Implements NSPipeline::TImage. Definition at line 62 of file Image.cpp. References m_data. |
|
|
Vrati velikost obrazovych dat v bajtech.
Implements NSPipeline::TImage. |
|
|
Vrati ukazatel na data.
Definition at line 111 of file Image.h. References m_data. |
|
|
Vrati vysku v pixelech.
Implements NSPipeline::TImage. Definition at line 38 of file Image.cpp. References m_height. Referenced by NSPipeline::TImageGray::FromARGB(), NSPipeline::TImageRGB::FromARGB(), FromGray(), and FromRGB(). |
|
|
Vrati typ tohoto obrazku.
Implements NSPipeline::TImage. Definition at line 103 of file Image.h. References NSPipeline::ENUM_IMAGETYPE_ARGB. |
|
|
Vrati pocet bajtu mezi pixely na sousednich radcich.
Implements NSPipeline::TImage. Definition at line 46 of file Image.cpp. References m_width. |
|
|
Vrati velikost jednoho pixelu v bajtech.
Implements NSPipeline::TImage. |
|
|
Vrati sirku v pixelech.
Implements NSPipeline::TImage. Definition at line 30 of file Image.cpp. References m_width. Referenced by NSPipeline::TImageGray::FromARGB(), and NSPipeline::TImageRGB::FromARGB(). |
|
||||||||||||||||||||
|
Tato metoda urci jestli je zadany obdelnik uvnitr tohoto obrazu.
Definition at line 124 of file Image.h. References m_height, and m_width. Referenced by CopyFrom(). |
|
|
falesny operator prirazeni
|
|
|
|
|
|
data obrazu
Definition at line 94 of file Image.h. Referenced by CopyFrom(), GetData(), GetDataWrite(), TImageARGB(), and ~TImageARGB(). |
|
|
vyska v pixelech
Definition at line 97 of file Image.h. Referenced by CopyFrom(), GetDataSize(), GetHeight(), IsRectInside(), and TImageARGB(). |
|
|
sirka v pixelech
Definition at line 96 of file Image.h. Referenced by CopyFrom(), GetDataSize(), GetPitch(), GetWidth(), IsRectInside(), and TImageARGB(). |
1.4.6-NO