Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

BiColorMarkerData Class Reference

Marker shapes, described by a single point in space. More...

#include <BiColorMarkerData.h>

Inheritance diagram for BiColorMarkerData:

Detailed Description

Marker shapes, described by a single point in space.

Definition at line 14 of file BiColorMarkerData.h.

List of all members.

Public Member Functions

 BiColorMarkerData (ShapeSpace &space, const Point &center, const rgb topColor, const rgb bottomColor)
 Constructor.
 DATASTUFF_H (BiColorMarkerData)
virtual void printParams () const
 Print information about this shape.
virtual bool isMatchingMarker (const Shape< MarkerData > &other) const
 Test for marker with matching features.
virtual std::string getMarkerDescription () const
 Return the string description for this marker (used to display marker specific information).

Static Public Member Functions

static std::vector< Shape
< MarkerData > > 
extractMarkers (const Sketch< uchar > &sketch, const MapBuilderRequest &req)
 Extract bicolor markers from sketch.

Public Attributes

rgb topColor
 the color on the top of the marker
rgb bottomColor
 the color on the bottom of the marker

Static Public Attributes

static const MarkerType_t biColorMarkerType
 type of bicolor markers

Constructor & Destructor Documentation

BiColorMarkerData ( ShapeSpace space,
const Point center,
const rgb  topColor,
const rgb  bottomColor 
)

Constructor.

Definition at line 24 of file BiColorMarkerData.cc.

Referenced by BiColorMarkerData::extractMarkers().


Member Function Documentation

DATASTUFF_H ( BiColorMarkerData   ) 
vector< Shape< MarkerData > > extractMarkers ( const Sketch< uchar > &  sketch,
const MapBuilderRequest req 
) [static]

Extract bicolor markers from sketch.

Reimplemented from MarkerData.

Definition at line 59 of file BiColorMarkerData.cc.

string getMarkerDescription (  )  const [virtual]

Return the string description for this marker (used to display marker specific information).

Reimplemented from MarkerData.

Definition at line 51 of file BiColorMarkerData.cc.

bool isMatchingMarker ( const Shape< MarkerData > &  other  )  const [virtual]

Test for marker with matching features.

Unlike isMatchFor, does not consider positions, should just compare things like colors or other marker-specific features.

Reimplemented from MarkerData.

Definition at line 38 of file BiColorMarkerData.cc.

void printParams (  )  const [virtual]

Print information about this shape.

Reimplemented from MarkerData.

Definition at line 30 of file BiColorMarkerData.cc.


Member Data Documentation

Initial value:

type of bicolor markers

Definition at line 40 of file BiColorMarkerData.h.

Referenced by BiColorMarkerData::BiColorMarkerData(), and BiColorMarkerData::extractMarkers().


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

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