AURobotServers  4
Public Member Functions | Public Attributes | List of all members
UPixLinked Class Reference

#include <uimana.h>

Public Member Functions

bool getNext (UPixLinked *from, int direction, int height, int width)
 
UPixLinked operator= (UPixLinked v)
 
 UPixLinked ()
 

Public Attributes

int c
 
int nx
 
int px
 
int r
 

Detailed Description

Class to store information on area outline in an image

Constructor & Destructor Documentation

UPixLinked::UPixLinked ( )

Constructor

References c, nx, px, and r.

Member Function Documentation

bool UPixLinked::getNext ( UPixLinked from,
int  direction,
int  height,
int  width 
)

Set ref position from a previous and a directions. height and width is needed to test for leagal values Returns true if new position is valid

References c, nx, px, and r.

Referenced by UImAna::imageContourMaha(), and UImAna::imageContourMahaCroma().

UPixLinked UPixLinked::operator= ( UPixLinked  v)

Assignment operator

References c, nx, px, and r.

Member Data Documentation

int UPixLinked::c
int UPixLinked::nx

Direction to next 0 is positive x direction. 1 is next direction clockwise (south).

Referenced by getNext(), UImAna::imageContourMaha(), UImAna::imageContourMahaCroma(), operator=(), and UPixLinked().

int UPixLinked::px
int UPixLinked::r

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