Homepage Demos Overview Downloads Tutorials Reference
Credits

PyramidData Class Reference

#include <PyramidData.h>

Inheritance diagram for PyramidData:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 25 of file PyramidData.h.

Public Member Functions

 PyramidData (ShapeSpace &_space, const EndPoint &FL, const EndPoint &FR, const EndPoint &BL, const EndPoint &BR, const EndPoint &Top)
 Constructor.
 DATASTUFF_H (PyramidData)
Point getCentroid () const
 Centroid. (Virtual in BaseData.).
EndPoint getFL ()
EndPoint getFR ()
EndPoint getBL ()
EndPoint getBR ()
EndPoint getTop ()
virtual bool isMatchFor (const ShapeRoot &other) const
 Match pyramids based on their parameters. (Virtual in BaseData.).
virtual void mergeWith (const ShapeRoot &other)
virtual bool isAdmissible () const
 Shapes are admissible to the local map if they're large enough not to be noise.
virtual bool updateParams (const ShapeRoot &other, bool force=false)
 Update shape parameters after matching to another shape.
virtual void printParams () const
 Print information about this shape. (Virtual in BaseData.).
void applyTransform (const NEWMAT::Matrix &Tmat)
 Transformations. (Virtual in BaseData.).
void projectToGround (const NEWMAT::Matrix &camToBase, const NEWMAT::ColumnVector &groundplane)
 Project to ground.
virtual unsigned short getDimension () const

Static Public Member Functions

static ShapeType_t getStaticType ()
 Copy constructor.
static Shape< PyramidDataextractPyramid (ShapeSpace &space, vector< Shape< BlobData > > &blobs)
 Extraction.
static vector< PointfindBoundingTriangle (ShapeSpace &space, Shape< BlobData > blob, Point centroid, Shape< LineData > parallel)

Private Member Functions

Sketch< bool > * render () const
 Render into a sketch space and return reference. (Private.).
PyramidDataoperator= (const PyramidData &)
 don't call

Private Attributes

EndPoint FL
EndPoint FR
EndPoint BL
EndPoint BR
EndPoint Top
Point centroid


Constructor & Destructor Documentation

PyramidData ( ShapeSpace _space,
const EndPoint FL,
const EndPoint FR,
const EndPoint BL,
const EndPoint BR,
const EndPoint Top 
)

Constructor.

Definition at line 25 of file PyramidData.cc.

Referenced by PyramidData::extractPyramid().


Member Function Documentation

void applyTransform ( const NEWMAT::Matrix &  Tmat  )  [virtual]

Transformations. (Virtual in BaseData.).

Implements BaseData.

Definition at line 77 of file PyramidData.cc.

DATASTUFF_H ( PyramidData   ) 

Shape< PyramidData > extractPyramid ( ShapeSpace space,
vector< Shape< BlobData > > &  blobs 
) [static]

Extraction.

Definition at line 162 of file PyramidData.cc.

vector< Point > findBoundingTriangle ( ShapeSpace space,
Shape< BlobData blob,
Point  centroid,
Shape< LineData parallel 
) [static]

Definition at line 330 of file PyramidData.cc.

Referenced by PyramidData::extractPyramid().

EndPoint getBL (  )  [inline]

Definition at line 54 of file PyramidData.h.

EndPoint getBR (  )  [inline]

Definition at line 55 of file PyramidData.h.

Point getCentroid (  )  const [inline, virtual]

Centroid. (Virtual in BaseData.).

Implements BaseData.

Definition at line 50 of file PyramidData.h.

virtual unsigned short getDimension (  )  const [inline, virtual]

Implements BaseData.

Definition at line 79 of file PyramidData.h.

EndPoint getFL (  )  [inline]

Definition at line 52 of file PyramidData.h.

EndPoint getFR (  )  [inline]

Definition at line 53 of file PyramidData.h.

static ShapeType_t getStaticType (  )  [inline, static]

Copy constructor.

Definition at line 46 of file PyramidData.h.

EndPoint getTop (  )  [inline]

Definition at line 56 of file PyramidData.h.

virtual bool isAdmissible (  )  const [inline, virtual]

Shapes are admissible to the local map if they're large enough not to be noise.

Reimplemented from BaseData.

Definition at line 63 of file PyramidData.h.

bool isMatchFor ( const ShapeRoot other  )  const [virtual]

Match pyramids based on their parameters. (Virtual in BaseData.).

Implements BaseData.

Definition at line 38 of file PyramidData.cc.

void mergeWith ( const ShapeRoot other  )  [virtual]

Definition at line 47 of file PyramidData.cc.

PyramidData& operator= ( const PyramidData  )  [private]

don't call

void printParams (  )  const [virtual]

Print information about this shape. (Virtual in BaseData.).

Implements BaseData.

Definition at line 66 of file PyramidData.cc.

void projectToGround ( const NEWMAT::Matrix &  camToBase,
const NEWMAT::ColumnVector &  groundplane 
) [virtual]

Project to ground.

Implements BaseData.

Definition at line 101 of file PyramidData.cc.

Sketch< bool > * render (  )  const [private, virtual]

Render into a sketch space and return reference. (Private.).

Implements BaseData.

Definition at line 127 of file PyramidData.cc.

bool updateParams ( const ShapeRoot other,
bool  force = false 
) [virtual]

Update shape parameters after matching to another shape.

Implements BaseData.

Definition at line 53 of file PyramidData.cc.


Member Data Documentation

Point centroid [private]

Definition at line 33 of file PyramidData.h.

Referenced by PyramidData::getCentroid(), and PyramidData::projectToGround().


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

DualCoding 3.0beta
Generated Wed Oct 4 00:02:29 2006 by Doxygen 1.4.7