YARP
Yet Another Robot Platform
yarp::sig::draw Namespace Reference

Very basic drawing functions, in case you don't have anything better available. More...

Detailed Description

Very basic drawing functions, in case you don't have anything better available.

Functions

template<class T >
void addSegment (ImageOf< T > &dest, const T &pix, int x, int y, int dx, int dy)
 
template<class T >
void addCircle (ImageOf< T > &dest, const T &pix, int i, int j, int r)
 
template<class T >
void addCrossHair (ImageOf< T > &dest, const T &pix, int i, int j, int r)
 
template<class T >
void addCircleOutline (ImageOf< T > &dest, const T &pix, int i, int j, int r)
 
template<class T >
void addOvalOutline (ImageOf< T > &dest, const T &pix, int i, int j, int h2, int w2)
 
template<class T >
void addRectangleOutline (ImageOf< T > &dest, const T &pix, int i, int j, int w, int h)
 
template<class T >
void addRectangle (ImageOf< T > &dest, const T &pix, int i, int j, int w, int h)
 warning : i, j is x, y center of rectangle More...
 
template<class T >
int applyThreshold (ImageOf< T > &src, ImageOf< T > &dest, const T &thetalo, const T &thetahi, const T &pix0, const T &pix1)
 
template<class T >
void setImagePixels (ImageOf< T > &src, const T &pix)
 

Function Documentation

◆ addCircle()

template<class T >
void yarp::sig::draw::addCircle ( ImageOf< T > &  dest,
const T &  pix,
int  i,
int  j,
int  r 
)

◆ addCircleOutline()

template<class T >
void yarp::sig::draw::addCircleOutline ( ImageOf< T > &  dest,
const T &  pix,
int  i,
int  j,
int  r 
)

Definition at line 69 of file ImageDraw.h.

◆ addCrossHair()

template<class T >
void yarp::sig::draw::addCrossHair ( ImageOf< T > &  dest,
const T &  pix,
int  i,
int  j,
int  r 
)

Definition at line 57 of file ImageDraw.h.

◆ addOvalOutline()

template<class T >
void yarp::sig::draw::addOvalOutline ( ImageOf< T > &  dest,
const T &  pix,
int  i,
int  j,
int  h2,
int  w2 
)

Definition at line 83 of file ImageDraw.h.

◆ addRectangle()

template<class T >
void yarp::sig::draw::addRectangle ( ImageOf< T > &  dest,
const T &  pix,
int  i,
int  j,
int  w,
int  h 
)

warning : i, j is x, y center of rectangle

Definition at line 115 of file ImageDraw.h.

◆ addRectangleOutline()

template<class T >
void yarp::sig::draw::addRectangleOutline ( ImageOf< T > &  dest,
const T &  pix,
int  i,
int  j,
int  w,
int  h 
)

Definition at line 95 of file ImageDraw.h.

◆ addSegment()

template<class T >
void yarp::sig::draw::addSegment ( ImageOf< T > &  dest,
const T &  pix,
int  x,
int  y,
int  dx,
int  dy 
)

Definition at line 29 of file ImageDraw.h.

◆ applyThreshold()

template<class T >
int yarp::sig::draw::applyThreshold ( ImageOf< T > &  src,
ImageOf< T > &  dest,
const T &  thetalo,
const T &  thetahi,
const T &  pix0,
const T &  pix1 
)

Definition at line 125 of file ImageDraw.h.

◆ setImagePixels()

template<class T >
void yarp::sig::draw::setImagePixels ( ImageOf< T > &  src,
const T &  pix 
)

Definition at line 143 of file ImageDraw.h.