|
Open CASCADE Technology 6.5.2
|
A ColorImage is a DColorImage with specific method.
Each Pixel in the Image ,as a ColorPixel
from Aspect, can be use directly as a Color.
A ColorImage is also called a "true color image".
#include <Image_ColorImage.hxx>

Public Member Functions | |
| Image_ColorImage (const Standard_Integer x, const Standard_Integer y, const Standard_Integer dx, const Standard_Integer dy) | |
| Create a ColorImage object. The default Background Pixel is set to Black . All the Image is initialised with Background Pixel | |
| Image_ColorImage (const Standard_Integer x, const Standard_Integer y, const Standard_Integer dx, const Standard_Integer dy, const Aspect_ColorPixel &BackPixel) | |
| Create a ColorImage object and set the Background Pixel. All the Image is initialised with Background Pixel | |
| Handle_Aspect_GenericColorMap | ChooseColorMap (const Standard_Integer aSize) const |
| Create a GenericColorMap object with the best ColorMap of a particular size to use in Dithering method . The best ColorMap is defined to be the one that contains as many as possible of the most frequently used colors. | |
| Image_TypeOfImage | Type () const |
| Returns the Image Type. | |
| const Quantity_Color & | PixelColor (const Standard_Integer X, const Standard_Integer Y) const |
| Returns the Pixel Color . | |
| Handle_Image_Image | Dup () const |
| Duplicates a Image. | |
| Image_ColorImage::Image_ColorImage | ( | const Standard_Integer | x, |
| const Standard_Integer | y, | ||
| const Standard_Integer | dx, | ||
| const Standard_Integer | dy | ||
| ) |
| Image_ColorImage::Image_ColorImage | ( | const Standard_Integer | x, |
| const Standard_Integer | y, | ||
| const Standard_Integer | dx, | ||
| const Standard_Integer | dy, | ||
| const Aspect_ColorPixel & | BackPixel | ||
| ) |
| Handle_Aspect_GenericColorMap Image_ColorImage::ChooseColorMap | ( | const Standard_Integer | aSize | ) | const |
| Handle_Image_Image Image_ColorImage::Dup | ( | ) | const [virtual] |
Implements Image_Image.
| const Quantity_Color& Image_ColorImage::PixelColor | ( | const Standard_Integer | X, |
| const Standard_Integer | Y | ||
| ) | const [virtual] |
Implements Image_Image.
| Image_TypeOfImage Image_ColorImage::Type | ( | ) | const [virtual] |
Implements Image_DColorImage.
1.7.4