00001 /*! \file 00002 \author victorien ferry & www.m4nkind.com 00003 \brief This file applies the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 , read file COPYING. 00004 */ 00005 #ifndef COM_M4NKIND_GreyImage_H 00006 #define COM_M4NKIND_GreyImage_H 00007 00008 #include "VirtualImage.h" 00009 00010 /*! 00011 \class GreyImage 00012 \ingroup BaseObjectInherited_VedaLibImage BaseObjectInheritedDocGroup 00013 \brief 1 byte component-per-pixel Images. Can then be used or mixed by RGBAImage for a color image. 00014 Still, it is virtual because size can then be given on classes that manage the type of size of the Bitmap. 00015 */ 00016 00017 class GreyImage : public VirtualImage 00018 { 00019 /*================================================================== 00020 PUBLIC 00021 ==================================================================*/ 00022 public: 00023 /*! 00024 \brief Constructor. There should only be members initialisation there. 00025 */ 00026 //GreyImage(void); 00027 00028 /*! 00029 \brief Class Inheritance Descriptors. Also forces a destructor. See BASEOBJECT_DECLARE_... in .cpp 00030 */ 00031 BASEOBJECT_DEFINE_VIRTUALCLASS(GreyImage); 00032 00033 /*! 00034 \brief Return the number of byte component for one pixel. 00035 This one is no more a virtual method. 00036 */ 00037 virtual unsigned int GetByteDepth(){ return(1); }; 00038 00039 /*================================================================== 00040 PROTECTED 00041 ==================================================================*/ 00042 protected: 00043 00044 }; 00045 00046 #endif
/\/\ 4 N k ! N D _______ _ __ ___ _____ ___ _ _ ____ ___________ __//___ /________ |/ / ___________\_______/ \ / _ _ \/ _ / _ / _/_/____/ _ __ / / / / / / / \ \/ / / \ \ / \\___/___/___/ ¯ _____/_____/ ______\___/_____/\________\\ \________/_ ___ __ l____\ /elD! http://www.m4nkind.com \____/