Conjecture::Bitmap Class Reference

#include <Bitmap.h>

Inheritance diagram for Conjecture::Bitmap:

Conjecture::Root List of all members.

Detailed Description

Image class.

**************************************************************

...


Public Member Functions

 Bitmap (uint32_t width, uint32_t height)
 Bitmap (const std::string &filename)
const Pixel operator() (uint32_t x, uint32_t y) const
const Pixel mask (uint32_t x, uint32_t y) const
const uint32_t width () const
const uint32_t height () const
Bitmap clone (void) const
const Bitmap clone (Coord a, Coord b) const
bool filter (ImageFilter &imfilter)

Static Public Member Functions

static void test (int argc=0, const char *argv[]=NULL)


Member Function Documentation

const Bitmap Conjecture::Bitmap::clone Coord  a,
Coord  b
const
 

@

Parameters:
a Top left pixel of area to clone.
b Bottom right pixel of area to clone.
Returns:
A new bitmap

bool Conjecture::Bitmap::filter ImageFilter imfilter  ) 
 

Applies a filter to this image.

Parameters:
imfilter The image filter to apply to this image.

static void Conjecture::Bitmap::test int  argc = 0,
const char *  argv[] = NULL
[static]
 

Unit testing method.

This static method should create instances of the class (and instances of any other class necessary) and perform tests to ensure that all methods within the class are working as expected.


The documentation for this class was generated from the following files:
Generated on Thu Jun 15 19:56:11 2006 for Conjecture by  doxygen 1.4.6