| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
BaseData Class ReferenceBase class that all shape data classes inherit from, e.g., LineData, BlobData, etc. More...
Inheritance diagram for BaseData:
![]() Detailed DescriptionBase class that all shape data classes inherit from, e.g., LineData, BlobData, etc. Definition at line 28 of file BaseData.h.
Constructor & Destructor Documentation
Constructor. Definition at line 13 of file BaseData.cc. Copy constructor. Definition at line 38 of file BaseData.cc.
Destructor. Definition at line 52 of file BaseData.cc. Member Function Documentation
Apply a transformation matrix to the shape. Implemented in AgentData, AprilTagData, BlobData, BrickData, CylinderData, EllipseData, GraphicsData, LineData, LocalizationParticleData, MarkerData, PointData, PolygonData, PyramidData, SiftData, SphereData, and TargetData.
Confidence. returns confidence of Data. Reimpletemnted in PolygonData Definition at line 107 of file BaseData.h.
Definition at line 148 of file BaseData.cc. Referenced by LineData::getRendering(), PolygonData::setColor(), EllipseData::setOrientation(), AgentData::setOrientation(), SphereData::setRadius(), EllipseData::setSemimajor(), EllipseData::setSemiminor(), LineData::update_derived_properties(), PyramidData::updateParams(), PointData::updateParams(), and BrickData::updateParams().
Reimplemented in AprilTagData, BlobData, EllipseData, LineData, PointData, PolygonData, SiftData, and TargetData. Definition at line 97 of file BaseData.h.
return the centroid of the shape in point format Implemented in AgentData, AprilTagData, BlobData, BrickData, CylinderData, EllipseData, GraphicsData, LineData, LocalizationParticleData, MarkerData, PointData, PolygonData, PyramidData, SiftData, SphereData, and TargetData. Referenced by BaseData::getCentroidPtShape().
Definition at line 57 of file BaseData.cc.
Color. Get the color. Definition at line 128 of file BaseData.h. Referenced by BaseData::getRendering(), BaseData::inheritFrom(), MarkerData::isMatchingMarker(), BaseData::isSameColorAs(), SphereData::printParams(), PyramidData::printParams(), PointData::printParams(), MarkerData::printParams(), LineData::printParams(), EllipseData::printParams(), CylinderData::printParams(), BrickData::printParams(), BlobData::printParams(), AgentData::printParams(), TargetData::render(), PyramidData::render(), and BrickData::render().
Confidence. returns confidence of Data. Reimpletemnted in PolygonData Reimplemented in PolygonData. Definition at line 101 of file BaseData.h. Referenced by BaseData::increaseConfidence(), BaseData::setConfidence(), and AgentData::updateParams().
Implemented in AgentData, AprilTagData, BlobData, BrickData, CylinderData, EllipseData, GraphicsData, LineData, LocalizationParticleData, MarkerData, PointData, PolygonData, PyramidData, SiftData, SphereData, and TargetData.
Definition at line 70 of file BaseData.h. Referenced by SiftData::displayMatchedFeatures(), TargetData::printParams(), SphereData::printParams(), SiftData::printParams(), PyramidData::printParams(), PointData::printParams(), MarkerData::printParams(), LocalizationParticleData::printParams(), LineData::printParams(), GraphicsData::printParams(), EllipseData::printParams(), CylinderData::printParams(), BrickData::printParams(), BlobData::printParams(), BiColorMarkerData::printParams(), AprilTagData::printParams(), and AgentData::printParams().
Definition at line 88 of file BaseData.h.
Mobility. Definition at line 144 of file BaseData.cc. Referenced by SphereData::printParams(), LineData::printParams(), EllipseData::printParams(), and AgentData::printParams().
Definition at line 91 of file BaseData.h. Referenced by BaseData::getRendering(), TargetData::render(), SphereData::render(), SiftData::render(), PyramidData::render(), PointData::render(), MarkerData::render(), LocalizationParticleData::render(), LineData::render(), GraphicsData::render(), EllipseData::render(), BrickData::render(), BlobData::render(), AprilTagData::render(), and AgentData::render().
Definition at line 71 of file BaseData.h. Referenced by TargetData::printParams(), SphereData::printParams(), SiftData::printParams(), PyramidData::printParams(), PointData::printParams(), MarkerData::printParams(), LocalizationParticleData::printParams(), LineData::printParams(), EllipseData::printParams(), CylinderData::printParams(), BrickData::printParams(), BlobData::printParams(), BiColorMarkerData::printParams(), AprilTagData::printParams(), and AgentData::printParams().
Definition at line 109 of file BaseData.cc. Referenced by CylinderData::CylinderData(), EllipseData::EllipseData(), PolygonData::getCentroid(), BlobData::getCentroid(), LineData::pointIsAbove(), LineData::pointIsBelow(), LineData::pointIsLeftOf(), LineData::pointIsRightOf(), TargetData::update_derived_properties(), and LineData::update_derived_properties().
Update properties of the shape derived from endpoints or other basic parameters. Rendering. Returns a pointer to the rendering associated with the ShapeRoot object. If no such rendering exists, it is created. Reimplemented in LineData. Definition at line 153 of file BaseData.cc. Referenced by BrickData::extractBrick(), PyramidData::extractPyramid(), BlobData::findCornersDerivative(), BlobData::findCornersDiagonal(), and BlobData::findCornersShapeFit().
Definition at line 67 of file BaseData.h. Referenced by TargetData::extractLineTarget(), PolygonData::isInside(), SphereData::projectToGround(), and SphereData::render().
Type. Get the shape type.
Type. Get shape type name. Definition at line 116 of file BaseData.cc. Referenced by TargetData::printParams(), SphereData::printParams(), SiftData::printParams(), PyramidData::printParams(), PointData::printParams(), MarkerData::printParams(), LocalizationParticleData::printParams(), LineData::printParams(), EllipseData::printParams(), CylinderData::printParams(), BrickData::printParams(), BlobData::printParams(), BiColorMarkerData::printParams(), AprilTagData::printParams(), and AgentData::printParams().
Definition at line 77 of file BaseData.h. Referenced by BrickData::extractBrick(), BrickData::findBricksFromBlobs(), BlobData::findCorners(), BaseData::inheritFrom(), TargetData::render(), PyramidData::render(), and BrickData::render().
Confidence. returns confidence of Data. Reimpletemnted in PolygonData Definition at line 174 of file BaseData.cc.
Confidence. returns confidence of Data. Reimpletemnted in PolygonData Definition at line 170 of file BaseData.cc.
Confidence. returns confidence of Data. Reimpletemnted in PolygonData Definition at line 164 of file BaseData.cc. Referenced by BaseData::increaseConfidence().
Definition at line 94 of file BaseData.cc.
Definition at line 89 of file BaseData.cc.
Definition at line 84 of file BaseData.cc. Referenced by BaseData::getCentroidPtShape().
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 in AprilTagData, BrickData, EllipseData, LineData, PolygonData, PyramidData, SiftData, SphereData, and TargetData. Definition at line 149 of file BaseData.h.
returns if a point is inside the shape or not. Reimplemented by EllipseData, SphereData, PolygonData Reimplemented in PolygonData, and SphereData. Definition at line 155 of file BaseData.h.
Shapes match if their coordinates agree. DOES NOT Assume type and color already checked. Implemented in AgentData, AprilTagData, BlobData, BrickData, CylinderData, EllipseData, GraphicsData, LineData, LocalizationParticleData, MarkerData, PointData, PolygonData, PyramidData, SiftData, SphereData, and TargetData.
Definition at line 167 of file BaseData.h.
Test if shape colors are the same. Definition at line 126 of file BaseData.cc. Referenced by TargetData::isMatchFor(), SphereData::isMatchFor(), PyramidData::isMatchFor(), PolygonData::isMatchFor(), PointData::isMatchFor(), LocalizationParticleData::isMatchFor(), LineData::isMatchFor(), EllipseData::isMatchFor(), CylinderData::isMatchFor(), BrickData::isMatchFor(), and BlobData::isMatchFor().
Test if shape types are the same. Test that two shapes are of same type. Definition at line 122 of file BaseData.cc. Referenced by TargetData::isMatchFor(), SphereData::isMatchFor(), SiftData::isMatchFor(), PyramidData::isMatchFor(), PointData::isMatchFor(), MarkerData::isMatchFor(), LocalizationParticleData::isMatchFor(), LineData::isMatchFor(), EllipseData::isMatchFor(), CylinderData::isMatchFor(), BrickData::isMatchFor(), BlobData::isMatchFor(), and AprilTagData::isMatchFor().
Test the shape type. Definition at line 119 of file BaseData.cc. Referenced by BaseData::isSameTypeAs().
Definition at line 74 of file BaseData.h. Referenced by SphereData::printParams(), PyramidData::printParams(), PointData::printParams(), LineData::printParams(), EllipseData::printParams(), BrickData::printParams(), and AgentData::printParams().
Reimplemented in MarkerData. Definition at line 165 of file BaseData.h.
Definition at line 104 of file BaseData.cc. Copy operator. Assumes "&other =? this" check is done by the sub class calling this operator. Definition at line 63 of file BaseData.cc.
Prints information about this shape. Implemented in AgentData, AprilTagData, BiColorMarkerData, BlobData, BrickData, CylinderData, EllipseData, GraphicsData, LineData, LocalizationParticleData, MarkerData, PointData, PolygonData, PyramidData, SiftData, SphereData, and TargetData.
Project to ground plane using given matrix. Implemented in AgentData, AprilTagData, BlobData, BrickData, CylinderData, EllipseData, GraphicsData, LineData, LocalizationParticleData, MarkerData, PointData, PolygonData, PyramidData, SiftData, SphereData, and TargetData.
Render into a sketch space. Implemented in AgentData, AprilTagData, BlobData, BrickData, CylinderData, EllipseData, GraphicsData, LineData, LocalizationParticleData, MarkerData, PointData, PolygonData, PyramidData, SiftData, SphereData, and TargetData. Referenced by BaseData::getRendering().
Set shape and rendering sketch color. Reimplemented in PolygonData. Definition at line 129 of file BaseData.cc. Referenced by BlobData::BlobData(), BaseData::inheritFrom(), MarkerData::MarkerData(), and BaseData::setColor().
Confidence. returns confidence of Data. Reimpletemnted in PolygonData Definition at line 108 of file BaseData.h.
Definition at line 89 of file BaseData.h.
Mobility. Definition at line 146 of file BaseData.cc.
Definition at line 92 of file BaseData.h. Referenced by BaseData::N(), and BaseData::V().
Definition at line 168 of file BaseData.h.
Definition at line 72 of file BaseData.h. Referenced by BlobData::extractBlobs(), and BaseData::inheritFrom().
Definition at line 75 of file BaseData.h. Referenced by BaseData::N(), and BaseData::V().
Update shape parameters after matching to another shape. Implemented in AgentData, AprilTagData, BlobData, BrickData, CylinderData, EllipseData, GraphicsData, LineData, LocalizationParticleData, MarkerData, PointData, PolygonData, PyramidData, SiftData, SphereData, and TargetData.
Definition at line 99 of file BaseData.cc. Friends And Related Function Documentation
Definition at line 30 of file BaseData.h.
Definition at line 31 of file BaseData.h. Member Data DocumentationDefinition at line 43 of file BaseData.h. Referenced by BaseData::getColor(), BaseData::operator=(), PolygonData::setColor(), and BaseData::setColor().
Confidence that this shape exists and isn't noise. Definition at line 45 of file BaseData.h. Referenced by BaseData::decreaseConfidence(), BaseData::getConfidence(), BaseData::increaseConfidence(), TargetData::mergeWith(), SphereData::mergeWith(), PointData::mergeWith(), BaseData::operator=(), BaseData::setConfidence(), TargetData::updateParams(), SphereData::updateParams(), PyramidData::updateParams(), PointData::updateParams(), MarkerData::updateParams(), EllipseData::updateParams(), BrickData::updateParams(), BlobData::updateParams(), and AgentData::updateParams().
Definition at line 38 of file BaseData.h. Referenced by ShapeSpace::addShape(), BaseData::getId(), BaseData::getViewableId(), ShapeRoot::isValid(), BaseData::operator=(), and ShapeRoot::sanity_check().
Id of the shape in the preceding space that gave rise to or was matched to this one. Definition at line 40 of file BaseData.h. Referenced by BaseData::getLastMatchId(), ShapeSpace::importShape(), BaseData::operator=(), and BaseData::setLastMatchId().
True if this shape can move in the world. Definition at line 46 of file BaseData.h. Referenced by AgentData::AgentData(), CylinderData::CylinderData(), EllipseData::EllipseData(), BaseData::getMobile(), GraphicsData::GraphicsData(), BaseData::operator=(), PolygonData::PolygonData(), BaseData::setMobile(), and SphereData::SphereData().
Definition at line 36 of file BaseData.h. Referenced by PyramidData::extractPyramid(), BaseData::getName(), BaseData::operator=(), and BaseData::setName().
True if shape is an obstacle. Definition at line 48 of file BaseData.h. Referenced by GraphicsData::GraphicsData(), BaseData::isObstacle(), LocalizationParticleData::LocalizationParticleData(), BaseData::operator=(), and BaseData::setObstacle().
Definition at line 39 of file BaseData.h. Referenced by BaseData::getParentId(), BaseData::getViewableId(), ShapeSpace::importShape(), BaseData::operator=(), and BaseData::setParentId().
Definition at line 41 of file BaseData.h. Referenced by ShapeSpace::importShape(), ShapeRoot::operator=(), BaseData::operator=(), ShapeRoot::ShapeRoot(), and ShapeRoot::~ShapeRoot().
Definition at line 50 of file BaseData.h. Referenced by BaseData::deleteRendering(), LineData::getRendering(), BaseData::getRendering(), BaseData::operator=(), BaseData::setColor(), and BaseData::~BaseData().
Definition at line 35 of file BaseData.h. Referenced by ShapeRoot::addShape(), LineData::bottomPtShape(), ShapeRoot::deleteShape(), SiftData::displayMatchedFeatures(), BlobData::findCorners(), BlobData::findCornersDerivative(), BlobData::findCornersDiagonal(), BlobData::findCornersShapeFit(), LineData::firstPtShape(), LocalizationParticleData::getCentroid(), BaseData::getCentroidPtShape(), BaseData::getRefFrameType(), ShapeRoot::getSpace(), BaseData::getSpace(), ShapeSpace::importShape(), PolygonData::intersectsLine(), LineData::isBetween(), PolygonData::isInside(), LineData::isMatchFor(), LineData::leftPtShape(), LineData::LineData(), BaseData::operator=(), PointData::PointData(), TargetData::render(), SphereData::render(), SiftData::render(), PyramidData::render(), PolygonData::render(), PointData::render(), MarkerData::render(), LocalizationParticleData::render(), LineData::render(), GraphicsData::render(), EllipseData::render(), BrickData::render(), BlobData::render(), AprilTagData::render(), AgentData::render(), LineData::rightPtShape(), LineData::secondPtShape(), LineData::setDrawCoords(), PolygonData::setVertices(), LineData::topPtShape(), and PolygonData::tryClosePolygon().
Definition at line 37 of file BaseData.h. Referenced by BaseData::getTypeName(), BaseData::isType(), and BaseData::operator=().
Definition at line 42 of file BaseData.h. Referenced by BaseData::getViewableId(), BaseData::isViewable(), BaseData::operator=(), and BaseData::setViewable(). The documentation for this class was generated from the following files: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
DualCoding 5.1CVS |
Generated Fri Mar 16 05:23:51 2012 by Doxygen 1.6.3 |