Main Page | Class Hierarchy | Class List | File List | Class Members

LIBCP::ChainCode Class Reference

ChainCode representation of an image This class collects different objects of an image as so called ChainCodeImages. More...

#include <chaincode.h>

Inheritance diagram for LIBCP::ChainCode:

LIBCP::DataObject List of all members.

Public Member Functions

 ~ChainCode ()
void addChainCodeImage (vector< int > *chain, const int x, const int y, const int xMin, const int yMin, const int xMax, const int yMax)
vector< ChainCodeImage * > * getChainCodeImages ()
ChainCodeImagegetMajor ()

Static Public Member Functions

ChainCodecreateChainCode ()

Detailed Description

ChainCode representation of an image This class collects different objects of an image as so called ChainCodeImages.

See also:
ChainCodeImage


Constructor & Destructor Documentation

LIBCP::ChainCode::~ChainCode  ) 
 

Free allocated ChainCodeImage resources


Member Function Documentation

void LIBCP::ChainCode::addChainCodeImage vector< int > *  chain,
const int  x,
const int  y,
const int  xMin,
const int  yMin,
const int  xMax,
const int  yMax
 

Add a new ChainCode image

Parameters:
chain chain code data
x starting coordinate
y starting coorindate
xMin minimal x coordinate value of the chain
yMin minimal y coordinate value of the chain
xMax maximal x coordinate value of the chain
yMax maximal y coorindate value of the chain

ChainCode * LIBCP::ChainCode::createChainCode  )  [static]
 

Create new instance of ChainCode
The caller of this function has to be resposible to properly delete the created ChainCode instance

vector< ChainCodeImage * > * LIBCP::ChainCode::getChainCodeImages  ) 
 

Get a list of ChainCodeImages

ChainCodeImage * LIBCP::ChainCode::getMajor  ) 
 

Get the major ChainCodeImage


The documentation for this class was generated from the following files:
Generated on Wed May 26 16:43:53 2004 for libcp by doxygen 1.3.7