CImage Class Reference

#include <Image.h>

Inheritance diagram for CImage:
[legend]
Collaboration diagram for CImage:
[legend]

List of all members.

Public Member Functions

int BandSize (void)
 CImage (CShape s, const type_info &ti, int bandSize)
 CImage (void)
void ClearPixels (void)
void DeAllocate (void)
const void * PixelAddress (int x, int y, int band) const
void * PixelAddress (int x, int y, int band)
const type_info & PixType (void)
void ReAllocate (CShape s, const type_info &ti, int bandSize, bool evenIfShapeDiffers=false)
void ReAllocate (CShape s, const type_info &ti, int bandSize, void *memory, bool deleteWhenDone, int rowSize)
void SetSubImage (int xO, int yO, int width, int height)
const CShape Shape (void) const
CShape Shape (void)

Private Member Functions

void SetDefaults (void)

Private Attributes

int m_bandSize
CRefCntMem m_memory
char * m_memStart
int m_pixSize
const type_info * m_pTI
int m_rowSize
CShape m_shape


Constructor & Destructor Documentation

CImage ( void   ) 

CImage ( CShape  s,
const type_info &  ti,
int  bandSize 
)


Member Function Documentation

int BandSize ( void   )  [inline]

void ClearPixels ( void   ) 

void DeAllocate ( void   ) 

const void * PixelAddress ( int  x,
int  y,
int  band 
) const [inline]

void * PixelAddress ( int  x,
int  y,
int  band 
) [inline]

const type_info& PixType ( void   )  [inline]

void ReAllocate ( CShape  s,
const type_info &  ti,
int  bandSize,
bool  evenIfShapeDiffers = false 
)

void ReAllocate ( CShape  s,
const type_info &  ti,
int  bandSize,
void *  memory,
bool  deleteWhenDone,
int  rowSize 
)

void SetDefaults ( void   )  [private]

void SetSubImage ( int  xO,
int  yO,
int  width,
int  height 
)

const CShape Shape ( void   )  const [inline]

CShape Shape ( void   )  [inline]


Member Data Documentation

int m_bandSize [private]

CRefCntMem m_memory [private]

char* m_memStart [private]

int m_pixSize [private]

const type_info* m_pTI [private]

int m_rowSize [private]

CShape m_shape [private]


The documentation for this class was generated from the following files:
Generated on Mon Jan 14 15:36:52 2008 for Shape from Example by  doxygen 1.5.4