Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SkeletonData Class Reference

#include <SkeletonData.h>

Inheritance diagram for SkeletonData:

Detailed Description

Definition at line 39 of file SkeletonData.h.

List of all members.

Public Member Functions

 SkeletonData (ShapeSpace &_space, const Skeleton &_skeleton)
 Constructor.
 SkeletonData (ShapeSpace &_space, const Point &_center, const Skeleton &_skeleton)
 Constructor for manually building Skeleton instances in local or world maps.
 SkeletonData (const SkeletonData &other)
 Copy constructor.
 ~SkeletonData ()
 Destructor.
 DATASTUFF_H (SkeletonData)
const SkeletongetSkeleton () const
Point getCentroid () const
 Centroid. (Virtual in BaseData.).
void setCentroid (const Point &other)
virtual BoundingBox2D getBoundingBox () const
 returns the bounding box of the Skeleton object
Point getTopLeft () const
 Bounding box points.
Point getTopRight () const
Point getBottomLeft () const
Point getBottomRight () const
virtual bool isMatchFor (const ShapeRoot &other) const
 Match Skeleton objects based on their parameters. (Virtual in BaseData.).
virtual bool isAdmissible () const
 Combine two shapes by taking weighted average depending on confidence level.
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 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

Static Public Member Functions

static ShapeType_t getStaticType ()

Protected Attributes

Skeleton skeleton
 Properties functions.
Point center

Private Member Functions

virtual Sketch< bool > * render () const
 Render into a sketch space and return pointer. (Private.).
SkeletonDataoperator= (const SkeletonData &)
 don't call

Constructor & Destructor Documentation

SkeletonData ( ShapeSpace _space,
const Skeleton _skeleton 
)

Constructor.

Definition at line 10 of file SkeletonData.cc.

SkeletonData ( ShapeSpace _space,
const Point _center,
const Skeleton _skeleton 
)

Constructor for manually building Skeleton instances in local or world maps.

Definition at line 14 of file SkeletonData.cc.

SkeletonData ( const SkeletonData other  ) 

Copy constructor.

Definition at line 17 of file SkeletonData.cc.

~SkeletonData (  ) 

Destructor.

Definition at line 52 of file SkeletonData.h.


Member Function Documentation

void applyTransform ( const fmat::Transform Tmat,
const ReferenceFrameType_t  newref = unspecified 
) [virtual]

Transformations. (Virtual in BaseData.).

Implements BaseData.

Definition at line 42 of file SkeletonData.cc.

DATASTUFF_H ( SkeletonData   ) 
Point getBottomLeft (  )  const

Definition at line 70 of file SkeletonData.h.

Point getBottomRight (  )  const

Definition at line 71 of file SkeletonData.h.

BoundingBox2D getBoundingBox (  )  const [virtual]

returns the bounding box of the Skeleton object

Reimplemented from BaseData.

Definition at line 20 of file SkeletonData.cc.

Point getCentroid ( void   )  const [virtual]

Centroid. (Virtual in BaseData.).

Implements BaseData.

Definition at line 61 of file SkeletonData.h.

Referenced by SkeletonData::isMatchFor().

virtual unsigned short getDimension (  )  const [virtual]

Implements BaseData.

Definition at line 89 of file SkeletonData.h.

const Skeleton& getSkeleton (  )  const

Definition at line 58 of file SkeletonData.h.

static ShapeType_t getStaticType (  )  [static]

Definition at line 54 of file SkeletonData.h.

Point getTopLeft (  )  const

Bounding box points.

Definition at line 68 of file SkeletonData.h.

Point getTopRight (  )  const

Definition at line 69 of file SkeletonData.h.

virtual bool isAdmissible (  )  const [virtual]

Combine two shapes by taking weighted average depending on confidence level.

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

Reimplemented from BaseData.

Definition at line 76 of file SkeletonData.h.

bool isMatchFor ( const ShapeRoot other  )  const [virtual]

Match Skeleton objects based on their parameters. (Virtual in BaseData.).

Implements BaseData.

Definition at line 24 of file SkeletonData.cc.

SkeletonData& operator= ( const SkeletonData  )  [private]

don't call

void printParams ( void   )  const [virtual]

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

Implements BaseData.

Definition at line 38 of file SkeletonData.cc.

void projectToGround ( const fmat::Transform camToBase,
const PlaneEquation groundplane 
) [virtual]

Project to ground.

Implements BaseData.

Definition at line 46 of file SkeletonData.cc.

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

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

Implements BaseData.

Definition at line 70 of file SkeletonData.cc.

void setCentroid ( const Point other  ) 

Definition at line 62 of file SkeletonData.h.

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

Update shape parameters after matching to another shape.

Implements BaseData.

Definition at line 32 of file SkeletonData.cc.


Member Data Documentation

Skeleton skeleton [protected]

Properties functions.

The skeleton represented by this shape

Definition at line 97 of file SkeletonData.h.

Referenced by SkeletonData::getSkeleton().


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