KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Friends | List of all members
kjb::Edge_point Class Reference

#include <edge.h>

Public Member Functions

 Edge_point (kjb_c::Edge_point *pt)
 
 ~Edge_point ()
 
 Edge_point (const Edge_point &pt)
 
Edge_pointoperator= (const Edge_point &pt)
 
unsigned int get_col () const
 returns the column the point lies in More...
 
unsigned int get_row () const
 returns the row the point lies in More...
 
double get_dcol () const
 returns the rate of change in brightness along the columns at the point. More...
 
double get_drow () const
 returns the rate of change in brightness along the rows at the point. More...
 
double get_gradient_magnitude () const
 returns the magnitude of the gradient More...
 
bool get_silhouette () const
 Rate of change in brightness along the columns at the point. More...
 
void set_col (unsigned int icol)
 sets the column the point lies in More...
 
void set_row (unsigned int irow)
 returns the row the point lies in More...
 
void set_dcol (double idcol)
 returns the rate of change in brightness along the columns at the point. More...
 
void set_drow (double idrow)
 returns the rate of change in brightness along the rows at the point. More...
 
void set_gradient_magnitude (double imag)
 returns the magnitude of the gradient More...
 
void set_silhouette (bool isilhouette)
 sets the silhouette field of this edge point More...
 
const kjb_c::Edge_point * _c_ptr ()
 Rate of change in brightness along the columns at the point. More...
 
void draw (Image &img, float r, float g, float b) const
 draws this edge point onto an image More...
 

Friends

class kjb::Edge
 
class kjb::Edge_set
 

Detailed Description

wraps the c structure Edge_point. No memory allocation is handled in here, this class simply provides a c++ interface to the underlying c structure

Constructor & Destructor Documentation

kjb::Edge_point::Edge_point ( kjb_c::Edge_point *  pt)
inline
kjb::Edge_point::~Edge_point ( )
inline
kjb::Edge_point::Edge_point ( const Edge_point pt)
inline

Member Function Documentation

const kjb_c::Edge_point* kjb::Edge_point::_c_ptr ( )
inline

Rate of change in brightness along the columns at the point.

returns a const pointer to the c Edge_point structure

void kjb::Edge_point::draw ( Image img,
float  r,
float  g,
float  b 
) const
inline

draws this edge point onto an image

unsigned int kjb::Edge_point::get_col ( ) const
inline

returns the column the point lies in

double kjb::Edge_point::get_dcol ( ) const
inline

returns the rate of change in brightness along the columns at the point.

double kjb::Edge_point::get_drow ( ) const
inline

returns the rate of change in brightness along the rows at the point.

double kjb::Edge_point::get_gradient_magnitude ( ) const
inline

returns the magnitude of the gradient

unsigned int kjb::Edge_point::get_row ( ) const
inline

returns the row the point lies in

bool kjb::Edge_point::get_silhouette ( ) const
inline

Rate of change in brightness along the columns at the point.

returns true if this is edge point is part of the silhouette of an object, false otherwise

Edge_point& kjb::Edge_point::operator= ( const Edge_point pt)
inline
void kjb::Edge_point::set_col ( unsigned int  icol)
inline

sets the column the point lies in

void kjb::Edge_point::set_dcol ( double  idcol)
inline

returns the rate of change in brightness along the columns at the point.

void kjb::Edge_point::set_drow ( double  idrow)
inline

returns the rate of change in brightness along the rows at the point.

void kjb::Edge_point::set_gradient_magnitude ( double  imag)
inline

returns the magnitude of the gradient

void kjb::Edge_point::set_row ( unsigned int  irow)
inline

returns the row the point lies in

void kjb::Edge_point::set_silhouette ( bool  isilhouette)
inline

sets the silhouette field of this edge point

Friends And Related Function Documentation

friend class kjb::Edge
friend
friend class kjb::Edge_set
friend

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