Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

PointData Class Reference

#include <PointData.h>

Inheritance diagram for PointData:

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)
virtual 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 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.).
virtual void applyTransform (const NEWMAT::Matrix &Tmat, const ReferenceFrameType_t newref=unspecified)
 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)
 Extraction.

Public Attributes

Point the_point

Private Member Functions

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

Constructor & Destructor Documentation

PointData ( ShapeSpace _space,
const Point c 
)

Constructor.

Definition at line 24 of file PointData.cc.

Referenced by PointData::extractPoints().


Member Function Documentation

static ShapeType_t getStaticType (  )  [inline, static]

Definition at line 28 of file PointData.h.

DATASTUFF_H ( PointData   ) 

virtual 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().

BoundingBox getBoundingBox (  )  const [inline, virtual]

Reimplemented from BaseData.

Definition at line 35 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 31 of file PointData.cc.

void mergeWith ( const ShapeRoot other  )  [virtual]

Definition at line 39 of file PointData.cc.

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

Update shape parameters after matching to another shape.

Implements BaseData.

Definition at line 48 of file PointData.cc.

void printParams (  )  const [virtual]

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

Implements BaseData.

Definition at line 57 of file PointData.cc.

void applyTransform ( const NEWMAT::Matrix &  Tmat,
const ReferenceFrameType_t  newref = unspecified 
) [virtual]

Transformations. (Virtual in BaseData.).

Implements BaseData.

Definition at line 70 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.

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

Extraction.

Point extraction.

Definition at line 86 of file PointData.cc.

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

Implements BaseData.

Definition at line 59 of file PointData.h.

PointData & operator= ( const PointData other  ) 

Definition at line 120 of file PointData.cc.

operator Point & (  )  [inline]

Definition at line 62 of file PointData.h.

operator const Point & (  )  const [inline]

Definition at line 63 of file PointData.h.

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

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

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

Implements BaseData.

Definition at line 107 of file PointData.cc.


Member Data Documentation


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

DualCoding 4.0
Generated Thu Nov 22 00:54:02 2007 by Doxygen 1.5.4