mimas::prop Class Reference

An property_image is an image where every pixel is an prop. More...

#include <prop.h>

Inheritance diagram for mimas::prop:

Inheritance graph
[legend]
Collaboration diagram for mimas::prop:

Collaboration graph
[legend]
List of all members.

Public Types

enum  property_type { undefined_t, edgel_t, corner_t, edge_string_t }

Public Member Functions

 prop (property_type t)
virtual void draw (image< rgba< unsigned char > > &output, int i, int j, bool c)

Protected Member Functions

void setPropertyType (property_type t)

Detailed Description

An property_image is an image where every pixel is an prop.

this is the base class for those structures. contains type and draw interface.

Author:
Stuart Meikle (stu@stumeikle.org)
Date:
Sun May 12 20:43:47 2002
Header
/cvs/mimas2/include/prop.h,v 1.1.1.1 2005/08/09 15:37:45 engmb Exp

Definition at line 25 of file prop.h.


Member Enumeration Documentation

enum mimas::prop::property_type

Enumerator:
undefined_t 
edgel_t 
corner_t 
edge_string_t 

Definition at line 30 of file prop.h.


Constructor & Destructor Documentation

mimas::prop::prop ( property_type  t  )  [inline]

Definition at line 40 of file prop.h.


Member Function Documentation

void mimas::prop::setPropertyType ( property_type  t  )  [inline, protected]

Definition at line 37 of file prop.h.

Referenced by mimas::string_el::string_el().

virtual void mimas::prop::draw ( image< rgba< unsigned char > > &  output,
int  i,
int  j,
bool  c 
) [inline, virtual]

Reimplemented in mimas::corner, mimas::edgel, and mimas::string_el.

Definition at line 42 of file prop.h.


The documentation for this class was generated from the following file:
[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:44 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...