Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
PolygonData Class Reference#include <PolygonData.h>
Inheritance diagram for PolygonData:
![]() Detailed DescriptionDefinition at line 31 of file PolygonData.h.
Constructor & Destructor Documentation
Constructors.
Definition at line 18 of file PolygonData.cc. Referenced by PolygonData::convexHull().
Definition at line 26 of file PolygonData.cc.
Definition at line 47 of file PolygonData.h.
Definition at line 49 of file PolygonData.h.
Member Function Documentation
Definition at line 38 of file PolygonData.h.
extracts then-edges lines Definition at line 42 of file PolygonData.cc. Referenced by MapBuilder::getCamPolygons(), and MapBuilder::getCamWalls().
forms polygons from lines and existing polygons existing polygons may be updated or deleted for which case they are added to deleted vector Definition at line 93 of file PolygonData.cc. Referenced by MapBuilder::matchSrcToDst(), and PolygonData::updateState().
Edge/Vertex Access Functions. returns first edge of this polygon Definition at line 61 of file PolygonData.h. Referenced by PolygonData::isClosed(), PolygonData::tryClosePolygon(), and PolygonData::updateVertices().
returns last edge of this polygon
Definition at line 62 of file PolygonData.h. Referenced by PolygonData::isClosed(), PolygonData::tryClosePolygon(), and PolygonData::updateVertices().
returns end1Pt of end1Ln
Definition at line 63 of file PolygonData.h. Referenced by PolygonData::formsNewEndline(), PolygonData::isClosed(), PolygonData::tryClosePolygon(), PolygonData::tryImportNewEndline(), and PolygonData::updateVertices().
returns end2Pt of end2Ln
Definition at line 64 of file PolygonData.h. Referenced by PolygonData::formsNewEndline(), PolygonData::isClosed(), PolygonData::tryClosePolygon(), PolygonData::tryImportNewEndline(), and PolygonData::updateVertices().
returns all edges of this polygon
Definition at line 66 of file PolygonData.h. Referenced by PolygonData::isMatchFor().
Definition at line 257 of file PolygonData.cc.
Definition at line 239 of file PolygonData.cc. Referenced by PolygonData::isInside(), and PolygonData::updateVertices().
Definition at line 79 of file PolygonData.h.
Definition at line 180 of file PolygonData.cc.
Definition at line 159 of file PolygonData.cc.
called everytime polygon is changed. updates vertices by finding intersections of adjascent edges
Definition at line 48 of file PolygonData.cc. Referenced by PolygonData::PolygonData(), PolygonData::tryClosePolygon(), and PolygonData::updateParams().
return the centroid of the shape in point format
Implements BaseData. Definition at line 453 of file PolygonData.cc. Shapes match if their coordinates agree. DOES NOT Assume type and color already checked.
Implements BaseData. Definition at line 295 of file PolygonData.cc.
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 357 of file PolygonData.cc. updates existing edges, but does not importing new edges
Implements BaseData. Definition at line 335 of file PolygonData.cc.
returns minimum confidence of all edges
Reimplemented from BaseData. Definition at line 319 of file PolygonData.cc. returns if a point is inside the shape or not. Reimplemented by EllipseData, SphereData, PolygonData
Reimplemented from BaseData. Definition at line 368 of file PolygonData.cc.
Prints information about this shape.
Implements BaseData. Definition at line 425 of file PolygonData.cc.
Apply a transformation matrix to the shape.
Implements BaseData. Definition at line 437 of file PolygonData.cc.
Project to ground plane using given matrix.
Implements BaseData. Definition at line 446 of file PolygonData.cc.
Color. Get the color. Reimplemented from BaseData. Definition at line 464 of file PolygonData.cc. Referenced by PolygonData::setColor().
Set shape and rendering sketch color.
Reimplemented from BaseData. Definition at line 476 of file PolygonData.cc.
Friends And Related Function Documentation
Definition at line 41 of file PolygonData.h. Referenced by PolygonData::convexHull(), and PolygonData::formPolygons().
Member Data Documentation
Definition at line 33 of file PolygonData.h. Referenced by PolygonData::applyTransform(), PolygonData::end1Ln(), PolygonData::end1Pt(), PolygonData::end2Ln(), PolygonData::end2Pt(), PolygonData::formsNewEndline(), PolygonData::getCentroid(), PolygonData::getConfidence(), PolygonData::getEdges(), PolygonData::getEdgesRW(), PolygonData::isAdmissible(), PolygonData::isClosed(), PolygonData::isMatchFor(), PolygonData::isMatchForEdge(), PolygonData::operator=(), PolygonData::PolygonData(), PolygonData::printParams(), PolygonData::projectToGround(), PolygonData::render(), PolygonData::setColor(), PolygonData::tryClosePolygon(), PolygonData::tryImportNewEndline(), PolygonData::tryUpdateEdge(), PolygonData::updateState(), and PolygonData::updateVertices().
Definition at line 35 of file PolygonData.h. Referenced by PolygonData::applyTransform(), PolygonData::convexHull(), PolygonData::getBoundingBox(), PolygonData::getVertices(), PolygonData::isInside(), PolygonData::operator=(), PolygonData::printParams(), PolygonData::tryClosePolygon(), and PolygonData::updateVertices().
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 |