// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _Image_ColorImage_HeaderFile #define _Image_ColorImage_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Image_ColorImage_HeaderFile #include #endif #ifndef _Image_DColorImage_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_Aspect_GenericColorMap_HeaderFile #include #endif #ifndef _Image_TypeOfImage_HeaderFile #include #endif #ifndef _Handle_Image_Image_HeaderFile #include #endif class Aspect_ColorPixel; class Aspect_GenericColorMap; class Quantity_Color; class Image_Image; //! 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".
class Image_ColorImage : public Image_DColorImage { public: //! Create a ColorImage object.
//! The default Background Pixel is set to Black .
//! All the Image is initialised with Background Pixel
Standard_EXPORT Image_ColorImage(const Standard_Integer x,const Standard_Integer y,const Standard_Integer dx,const Standard_Integer dy); //! Create a ColorImage object and set the Background Pixel.
//! All the Image is initialised with Background Pixel
Standard_EXPORT Image_ColorImage(const Standard_Integer x,const Standard_Integer y,const Standard_Integer dx,const Standard_Integer dy,const Aspect_ColorPixel& BackPixel); //! 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.
Standard_EXPORT Handle_Aspect_GenericColorMap ChooseColorMap(const Standard_Integer aSize) const; //! Returns the Image Type.
Standard_EXPORT Image_TypeOfImage Type() const; //! Returns the Pixel Color .
Standard_EXPORT const Quantity_Color& PixelColor(const Standard_Integer X,const Standard_Integer Y) const; //! Duplicates a Image.
Standard_EXPORT Handle_Image_Image Dup() const; DEFINE_STANDARD_RTTI(Image_ColorImage) protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif