Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

IntelImage Class Reference
[Images]

Manipulates uncompressed device- and platform-independent bitmaps. More...

#include <gmlintelimage.h>

Inheritance diagram for IntelImage:

Image SmartObject List of all members.

Public Member Functions

 IntelImage ()
 Creates an empty bitmap.

virtual ~IntelImage ()
 Destroys the bitmap.

 IntelImage (const Image &Orig)
 Copy constructor.

 IntelImage (const IntelImage &Orig)
 Copy constructor.

IntelImageoperator= (const Image &Orig)
 Assignment operator.

IntelImageoperator= (const IntelImage &Orig)
long GetMemUsed ()
 Returns the amount of memory used by the object.

long GetBytesPerLine () const
 Returns number of bytes used per line.

const BYTE * GetRawData () const
BYTE * GetRawData ()
 Access to raw data array. Dangerous function! Use with care.

_IplImage * GetImage ()
 Access to intel image structure! Use with care.

virtual gml::DrawSurfaceGetDrawSurface ()
 Draw surface.


Protected Member Functions

virtual void ConstructorInitLocals ()
virtual bool InternalCreate (int Width, int Height, FORMAT format, REPRES repres, ORIENT orient=O_BOTTOMLEFT)
virtual void FreeMembers ()
 Delete memory allocated by member variables.

virtual void InitLineArray ()
 Initialize internal table of line addresses.

virtual void InternalChangeOrientation (ORIENT new_orient)

Protected Attributes

_IplImage * m_pImage
 Pointer to stored IplImage.

BYTE * m_pBits
int m_iBytesPerLine

Detailed Description

Manipulates uncompressed device- and platform-independent bitmaps.

The data is stored sequentially without padding in the bitmap. The class implements exactly the interface defined by gml::Image without additions.


Member Function Documentation

virtual bool InternalCreate int  Width,
int  Height,
FORMAT  format,
REPRES  repres,
ORIENT  orient = O_BOTTOMLEFT
[protected, virtual]
 

Create a new bitmap with uninitialized bits. (Assume no memory is allocated yet.)

Implements Image.

virtual void InternalChangeOrientation ORIENT  new_orient  )  [protected, virtual]
 

Change image orientation to given state

Warning:
you should set m_orient variable after actual operation

Implements Image.


The documentation for this class was generated from the following file:
Generated on Tue Jan 13 21:12:06 2004 for Graphics and Media Lab CSL by doxygen 1.3.4