Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
PolygonData Class Reference
Inheritance diagram for PolygonData:
Detailed DescriptionDefinition at line 30 of file PolygonData.h.
Constructor & Destructor Documentation
Constructors. Definition at line 18 of file PolygonData.cc. Referenced by PolygonData::convexHull().
Definition at line 27 of file PolygonData.cc.
Definition at line 46 of file PolygonData.h.
Definition at line 48 of file PolygonData.h. Member Function Documentation
Apply a transformation matrix to the shape. Implements BaseData. Definition at line 451 of file PolygonData.cc.
Convex hull using Graham's scan. Definition at line 557 of file PolygonData.cc.
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 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 last edge of this polygon Definition at line 62 of file PolygonData.h. Referenced by PolygonData::isClosed(), PolygonData::tryClosePolygon(), 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().
Return true if polys have the same vertices but possibly in a rotated order due to rebuilding. Definition at line 312 of file PolygonData.cc.
extracts then-edges lines Definition at line 46 of file PolygonData.cc. forms polygons from lines Definition at line 84 of file PolygonData.cc. Referenced by PolygonData::rebuildPolygons(), and PolygonData::updateState().
Definition at line 165 of file PolygonData.cc.
Reimplemented from BaseData. Definition at line 158 of file PolygonData.cc.
return the centroid of the shape in point format Implements BaseData. Definition at line 469 of file PolygonData.cc.
returns minimum confidence of all edges Reimplemented from BaseData. Definition at line 333 of file PolygonData.cc.
Implements BaseData. Definition at line 119 of file PolygonData.h.
returns all edges of this polygon Definition at line 66 of file PolygonData.h. Referenced by PolygonData::isMatchFor().
returns address of edge vector for modification Definition at line 67 of file PolygonData.h.
Definition at line 37 of file PolygonData.h.
returns all vertices of this polygon Definition at line 65 of file PolygonData.h.
Adjust shape components after the shape has been imported (e.g., used by polygons). Reimplemented from BaseData. Definition at line 150 of file PolygonData.cc. Definition at line 424 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.
Definition at line 237 of file PolygonData.cc. Referenced by PolygonData::getCentroid(), PolygonData::isInside(), and PolygonData::updateVertices(). Definition at line 502 of file PolygonData.cc. Referenced by PolygonData::formPolygons(). 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. Shapes match if their coordinates agree. DOES NOT Assume type and color already checked. Implements BaseData. Definition at line 286 of file PolygonData.cc. Definition at line 245 of file PolygonData.cc.
Definition at line 83 of file PolygonData.h.
Prints information about this shape. Implements BaseData. Definition at line 438 of file PolygonData.cc.
Project to ground plane using given matrix. Implements BaseData. Definition at line 460 of file PolygonData.cc.
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 111 of file PolygonData.cc.
Set shape and rendering sketch color. Reimplemented from BaseData. Definition at line 497 of file PolygonData.cc.
Color. Get the color. Reimplemented from BaseData. Definition at line 485 of file PolygonData.cc. Referenced by PolygonData::setColor().
Edge/Vertex Access Functions. returns first edge of this polygon Definition at line 70 of file PolygonData.cc.
Definition at line 225 of file PolygonData.cc. Referenced by PolygonData::setVertices().
Definition at line 186 of file PolygonData.cc. Definition at line 274 of file PolygonData.cc. updates existing edges, but does not importing new edges Implements BaseData. Definition at line 349 of file PolygonData.cc.
Definition at line 255 of file PolygonData.cc.
called everytime polygon is changed. updates vertices by finding intersections of adjascent edges Definition at line 52 of file PolygonData.cc. Referenced by PolygonData::PolygonData(), PolygonData::tryClosePolygon(), and PolygonData::updateParams(). Friends And Related Function Documentation
Definition at line 40 of file PolygonData.h. Member Data DocumentationDefinition at line 32 of file PolygonData.h. Referenced by PolygonData::applyTransform(), PolygonData::end1Ln(), PolygonData::end1Pt(), PolygonData::end2Ln(), PolygonData::end2Pt(), PolygonData::equivalentVertices(), PolygonData::formsNewEndline(), PolygonData::getCentroid(), PolygonData::getConfidence(), PolygonData::getEdges(), PolygonData::getEdgesRW(), PolygonData::importAdjust(), PolygonData::isAdmissible(), PolygonData::isClosed(), PolygonData::isMatchFor(), PolygonData::isMatchForEdge(), PolygonData::operator=(), PolygonData::PolygonData(), PolygonData::printParams(), PolygonData::projectToGround(), PolygonData::render(), PolygonData::setColor(), PolygonData::setVertices(), PolygonData::tryClosePolygon(), PolygonData::tryImportNewEndline(), PolygonData::tryUpdateEdge(), PolygonData::updateState(), and PolygonData::updateVertices(). Definition at line 34 of file PolygonData.h. Referenced by PolygonData::applyTransform(), PolygonData::convexHull(), PolygonData::equivalentVertices(), PolygonData::getBoundingBox(), PolygonData::getCentroid(), PolygonData::getVertices(), PolygonData::intersectsLine(), PolygonData::isInside(), PolygonData::operator=(), PolygonData::PolygonData(), PolygonData::printParams(), PolygonData::projectToGround(), PolygonData::setVertices(), PolygonData::tryClosePolygon(), and PolygonData::updateVertices(). 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 |