Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

drawRect_Filter Class Reference
[Single FrameUtility]

#include <drawRect_Filter.h>

Inheritance diagram for drawRect_Filter:

phFilter phMutex phObject List of all members.

Detailed Description

Draw a Rectangle on the image.

All images have the top left corner indexed as (0,0) and the bottom right corner index as (width-1,height-1).

Supports the following formats:

Todo:
replace main code with bresenham drawing code

allow different color value settings to remove restriction of 3 colors and the limit to the RGB colorspace

add example image inputs and processed image outputs

add example application code that shows how the processed images were output

Definition at line 72 of file drawRect_Filter.h.

Public Member Functions

 drawRect_Filter (uint32_t x1=0, uint32_t y1=0, uint32_t x2=0, uint32_t y2=0, uint32_t fill=0, int channel=0)
 ~drawRect_Filter ()
int set (uint32_t x1=0, uint32_t y1=0, uint32_t x2=0, uint32_t y2=0, uint32_t fill=0, int channel=0)
phFiltercloneFilter ()

Protected Member Functions

int filter ()

Private Attributes

uint32_t m_x1
uint32_t m_y1
uint32_t m_x2
uint32_t m_y2
uint32_t m_fill
int m_channel


The documentation for this class was generated from the following files:



Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo

Generated on Sat Jun 16 02:44:34 2007 for phission by  doxygen 1.4.4