Homepage Demos Overview Downloads Tutorials Reference
Credits

PointData Class Reference

#include <PointData.h>

Inheritance diagram for PointData:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 21 of file PointData.h.

Public Member Functions

 PointData (ShapeSpace &_space, const Point &c)
 Constructor.
 DATASTUFF_H (PointData)
Point getCentroid () const
 Centroid. (Virtual in BaseData.).
BoundingBox getBoundingBox () const
virtual bool isMatchFor (const ShapeRoot &other) const
 Match points 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.).
virtual void projectToGround (const NEWMAT::Matrix &camToBase, const NEWMAT::ColumnVector &groundplane)
 Project to ground.
virtual unsigned short getDimension () const
PointDataoperator= (const PointData &)
 operator Point & ()
 operator const Point & () const

Static Public Member Functions

static ShapeType_t getStaticType ()
static std::vector< ShapeRootextractPoints (const Sketch< bool > &sketch)
 Point extraction.

Public Attributes

Point the_point

Private Member Functions

Sketch< bool > * render () const
 Render into a sketch space and return a pointer. (Private.).


Constructor & Destructor Documentation

PointData ( ShapeSpace _space,
const Point c 
)

Constructor.

Definition at line 22 of file PointData.cc.

Referenced by PointData::extractPoints().


Member Function Documentation

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

Transformations. (Virtual in BaseData.).

Implements BaseData.

Definition at line 70 of file PointData.cc.

DATASTUFF_H ( PointData   ) 

std::vector< ShapeRoot > extractPoints ( const Sketch< bool > &  sketch  )  [static]

Point extraction.

Definition at line 86 of file PointData.cc.

BoundingBox getBoundingBox (  )  const [inline, virtual]

Reimplemented from BaseData.

Definition at line 35 of file PointData.h.

Point getCentroid (  )  const [inline, virtual]

Centroid. (Virtual in BaseData.).

Implements BaseData.

Definition at line 33 of file PointData.h.

Referenced by PointData::printParams(), and PointData::render().

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

Implements BaseData.

Definition at line 61 of file PointData.h.

static ShapeType_t getStaticType (  )  [inline, static]

Definition at line 28 of file PointData.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 44 of file PointData.h.

bool isMatchFor ( const ShapeRoot other  )  const [virtual]

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

Implements BaseData.

Definition at line 29 of file PointData.cc.

void mergeWith ( const ShapeRoot other  )  [virtual]

Definition at line 37 of file PointData.cc.

operator const Point & (  )  const [inline]

Definition at line 65 of file PointData.h.

operator Point & (  )  [inline]

Definition at line 64 of file PointData.h.

PointData & operator= ( const PointData  ) 

Definition at line 120 of file PointData.cc.

void printParams (  )  const [virtual]

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

Implements BaseData.

Definition at line 56 of file PointData.cc.

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

Project to ground.

Implements BaseData.

Definition at line 74 of file PointData.cc.

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

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

Implements BaseData.

Definition at line 107 of file PointData.cc.

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

Update shape parameters after matching to another shape.

Implements BaseData.

Definition at line 46 of file PointData.cc.


Member Data Documentation


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