Developer Documentation
RAVL, Recognition And Vision Library
USER 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::CrackStep(const Index2dC &,CrackCodeT)
CrackCodeC::CrackDirection(CrackCodeT)

   CrackCodeC   
 
Crackcode or Freeman code
 
include "Ravl/CrackCode.hh"
Created:26.10.1992 
Source file:Ravl/Math/Geometry/Euclidean/Boundary/CrackCode.hh
User Level:Normal
Library:RavlMath
In Scope:RavlN

Derived Classes: Variables:
static const CrackCodeT clockWiseTurn[];

static const CrackCodeT cClockWiseTurn[];

static const CrackCodeT backTurn[];

static const IndexC offsetRow[];

static const IndexC offsetCol[];

CrackCodeT crackCode;
The code.

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.

Index2dC CrackStep(const Index2dC &,CrackCodeT)

Index2dC CrackDirection(CrackCodeT)


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