Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

PointData Class Reference

#include <PointData.h>

Inheritance diagram for PointData:

Detailed Description

Definition at line 21 of file PointData.h.

List of all members.

Public Member Functions

 PointData (ShapeSpace &_space, const Point &c)
 Constructor.
 DATASTUFF_H (PointData)
virtual Point getCentroid () const
 Centroid. (Virtual in BaseData.).
BoundingBox2D 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 fmat::Transform &Tmat, const ReferenceFrameType_t newref=unspecified)
 Transformations. (Virtual in BaseData.).
virtual void projectToGround (const fmat::Transform &camToBase, const PlaneEquation &groundplane)
 Project to ground.
virtual unsigned short getDimension () const
PointDataoperator= (const PointData &)

Static Public Member Functions

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

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

void applyTransform ( const fmat::Transform Tmat,
const ReferenceFrameType_t  newref = unspecified 
) [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]

Extraction.

Point extraction.

Definition at line 85 of file PointData.cc.

BoundingBox2D getBoundingBox (  )  const [virtual]

Reimplemented from BaseData.

Definition at line 33 of file PointData.h.

virtual Point getCentroid (  )  const [virtual]

Centroid. (Virtual in BaseData.).

Implements BaseData.

Definition at line 31 of file PointData.h.

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

virtual unsigned short getDimension (  )  const [virtual]

Implements BaseData.

Definition at line 57 of file PointData.h.

static ShapeType_t getStaticType (  )  [static]

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

PointData & operator= ( const PointData other  ) 

Definition at line 119 of file PointData.cc.

Referenced by PointData::mergeWith(), and PointData::updateParams().

void printParams (  )  const [virtual]

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

Implements BaseData.

Definition at line 57 of file PointData.cc.

void projectToGround ( const fmat::Transform camToBase,
const PlaneEquation 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 reference. (Private.).

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

Implements BaseData.

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


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

DualCoding 5.1CVS
Generated Mon May 9 04:56:31 2016 by Doxygen 1.6.3