User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Math - Geometry - 2D - Boundry - CrackCodeC
 

  PUBLIC
CrackCodeC::CrackCodeC(void)
CrackCodeC::CrackCodeC(const IntT)
CrackCodeC::CrackCodeC(CrackCodeT)
CrackCodeC::Code(void) const
CrackCodeC::operator ==(const CrackCodeC &) const
CrackCodeC::operator !=(const CrackCodeC &) const
CrackCodeC::operator +=(const CrackCodeC &)
CrackCodeC::operator -=(const CrackCodeC &)
CrackCodeC::operator =(const CrackCodeC &)
CrackCodeC::operator =(const CrackCodeT &)
CrackCodeC::TurnClock(void)
CrackCodeC::TurnCClock(void)
CrackCodeC::TurnBack(void)
CrackCodeC::Next(const Index2dC &) const

   CrackCodeC   
 
Crackcode or Freeman code
 
include "Ravl/CrackCode.hh"
Created:26.10.1992 
User Level:Normal
Library:RavlMath
In Scope:RavlN

Derived Classes: Variables:
Methods:
CrackCodeC()
Default constructor.
Direction is undefined.

CrackCodeC(const IntT i)
Constructs object from an integer 'i'.

CrackCodeC(CrackCodeT cc)
Constructs and set value to be 'cc'.

CrackCodeT Code() const
Returns the crack code.

bool operator ==(const CrackCodeC & cc) const
Equality test

bool operator !=(const CrackCodeC & cc) const
Returns true if the object content is not equal to 'cc'.

const CrackCodeC & operator +=(const CrackCodeC & cc)
The crackcode 'cc' is taken as a relative crackcode. The relative crackcode is added to this crackcode.

const CrackCodeC & operator -=(const CrackCodeC & cc)
The crackcode 'cc' is taken as a relative crackcode. The relative crackcode is subtracted from this crackcode.

const CrackCodeC & operator =(const CrackCodeC & cc)
Assignment.

const CrackCodeC & operator =(const CrackCodeT & cc)
Assignment.
---------- turning -----------------------

CrackCodeC & TurnClock()
Turns the crackcode clockwise.
This is an inplace operation.

CrackCodeC & TurnCClock()
Turns the crackcode counterclockwise.
This is an inplace operation.

CrackCodeC & TurnBack()
Turns the crackcode backward.
This is an inplace operation.

Index2dC Next(const Index2dC & pixel) const
Get pixel in the direction of the crack code.


Maintainer:Radek Marik, Created: 26.10.1992, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002