KJB
|
#include <edge.h>
Public Member Functions | |
Edge (kjb_c::Edge *edge) | |
~Edge () | |
Edge (const Edge &edge) | |
Edge & | operator= (const Edge &edge) |
unsigned int | get_num_points () const |
returns the number of edge points in this edge More... | |
Edge_point | get_edge_point (unsigned int i) const |
returns the ith edge point of this edge More... | |
const kjb_c::Edge * | _c_ptr () const |
returns a const pointer to the c Edge structure More... | |
void | draw (Image &img, float r, float g, float b) const |
draws the edge onto the input image, using color (r,g,b). This funcstion expects color values between 0 and 255 More... | |
void | randomly_color (Image &img) const |
draws the edge onto the input image, using a random color More... | |
wraps the c structure Edge. No memory allocation is handled in here, this class simply provides a c++ interface to the underlying c structure
|
inline |
|
inline |
|
inline |
|
inline |
returns a const pointer to the c Edge structure
|
inline |
draws the edge onto the input image, using color (r,g,b). This funcstion expects color values between 0 and 255
|
inline |
returns the ith edge point of this edge
|
inline |
returns the number of edge points in this edge
|
inline |
draws the edge onto the input image, using a random color