| Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
LineData Class Reference#include <LineData.h>
Inheritance diagram for LineData: ![]() Detailed Description
Definition at line 24 of file LineData.h.
Constructor & Destructor Documentation
Member Function Documentation
Apply a transformation to this shape.
Implements BaseData. Definition at line 218 of file LineData.cc.
Point Access functions.
Definition at line 237 of file LineData.cc. Referenced by LineData::pointOnLine().
Render into a sketch space and return reference. Render line to SketchSpace and return reference. This function does not link the Sketch<bool>* in the shape to the sketch returned. Definition at line 1171 of file LineData.cc. Referenced by LineData::render(), and BlobData::render().
Point Access functions.
Definition at line 109 of file LineData.h. Referenced by LineData::applyTransform(), LineData::bottomPt(), LineData::firstPt(), PolygonData::formsNewEndline(), LineData::getCentroid(), LineData::getRendering(), LineData::intersectionWithLine(), LineData::intersectsLine(), LineData::isAdmissible(), LineData::isBetween(), MapBuilder::isLineVisible(), LineData::leftPt(), LineData::lineEquation_abc(), LineData::lineEquation_abc_xz(), LineData::lineEquation_mb(), LineData::printEnds(), LineData::printParams(), LineData::projectToGround(), LineData::render(), LineData::rightPt(), LineData::secondPt(), LineData::setDrawCoords(), LineData::topPt(), PolygonData::tryImportNewEndline(), and LineData::update_derived_properties().
Point Access functions.
Definition at line 110 of file LineData.h. Referenced by LineData::applyTransform(), LineData::bottomPt(), LineData::firstPt(), PolygonData::formsNewEndline(), LineData::getCentroid(), LineData::getRendering(), LineData::intersectionWithLine(), LineData::intersectsLine(), LineData::isAdmissible(), MapBuilder::isLineVisible(), LineData::leftPt(), LineData::lineEquation_abc(), LineData::lineEquation_abc_xz(), LineData::lineEquation_mb(), LineData::printEnds(), LineData::printParams(), LineData::projectToGround(), LineData::render(), LineData::rightPt(), LineData::secondPt(), LineData::setDrawCoords(), LineData::topPt(), PolygonData::tryImportNewEndline(), and LineData::update_derived_properties().
Extracts most prominent line from a skeletonized image. It's often useful to use the original sketch as an occluder Definition at line 727 of file LineData.cc. Extracts most prominent line from a skeletonized image.
Definition at line 721 of file LineData.cc. Referenced by BrickData::extractBrick(), LineData::extractLines(), PyramidData::extractPyramid(), and LineData::splitLine().
Clear out pixels that are on or close to this line.
Definition at line 996 of file LineData.cc. Referenced by PolygonData::extractPolygonEdges(), and MapBuilder::getCamLines().
The first point of a line is the leftmost point if the line is horizontal, else the topmost point. With an optional Shape<LineData> argument, uses the current line's orientation to pick the appropriate point of the other line. Definition at line 271 of file LineData.cc. Referenced by LineData::firstPtCoord(), and LineData::updateParams().
Point Access functions.
Definition at line 315 of file LineData.cc. Referenced by LineData::isOverlappedWith(), and LineData::updateParams().
Centroid. (Virtual in BaseData.).
Implements BaseData. Definition at line 61 of file LineData.cc. Referenced by LineData::isMatchFor().
Properties functions.
Definition at line 148 of file LineData.h. Referenced by LineData::printParams().
Properties functions.
Definition at line 147 of file LineData.h. Referenced by LineData::intersectionWithLine(), LineData::isBetween(), PolygonData::isInside(), LineData::isNotVertical(), and LineData::printParams(). Rendering. Returns a pointer to the rendering associated with the ShapeRoot object. If no such rendering exists, it is created. Reimplemented from BaseData. Definition at line 1036 of file LineData.cc. Referenced by LineData::clearLine(), PyramidData::render(), and BrickData::render().
Definition at line 57 of file LineData.h.
Definition at line 1222 of file LineData.cc. Check intersection.
Definition at line 179 of file LineData.h. Referenced by BlobData::findCorners(), LineData::intersectionWithLine(), and LineData::isBetween(). Check intersection.
Definition at line 533 of file LineData.cc. Referenced by PolygonData::isInside().
Lines are admissible to the local map if they're long enough to not be noise.
Reimplemented from BaseData. Definition at line 174 of file LineData.cc.
Definition at line 81 of file LineData.cc. Match lines based on their parameters. (Virtual in BaseData.).
Implements BaseData. Definition at line 72 of file LineData.cc. Referenced by PolygonData::isClosed().
True if line orientation is far enough from vertical.
Definition at line 470 of file LineData.cc. Referenced by LineData::firstPt(), LineData::firstPtCoord(), LineData::secondPt(), and LineData::secondPtCoord().
Logical endpoints.
Definition at line 234 of file LineData.cc. Referenced by LineData::bottomPtShape(), LineData::leftPtShape(), LineData::pointOnLine(), LineData::rightPtShape(), and LineData::topPtShape().
Determine parameters a, b, c satisfying the equation ax + by = c.
Definition at line 414 of file LineData.cc. Referenced by LineData::perpendicularDistanceFrom(), LineData::printParams(), SphereData::projectToGround(), and LineData::update_derived_properties().
Determine parameters a, b, c, d satisfying the equation ax + bz = c.
Definition at line 374 of file LineData.cc. Referenced by SphereData::projectToGround().
Properties functions.
Definition at line 361 of file LineData.cc. Referenced by LineData::intersectsLine().
Definition at line 108 of file LineData.cc.
Definition at line 1427 of file LineData.cc.
Distance.
Definition at line 688 of file LineData.cc. Referenced by LineData::isBetween(), LineData::isMatchFor(), Region::mostDistantPtFrom(), and LineData::update_derived_properties().
Definition at line 1455 of file LineData.cc.
Definition at line 1442 of file LineData.cc.
Definition at line 205 of file LineData.cc.
Print information about this shape. (Virtual in BaseData.).
Implements BaseData. Definition at line 182 of file LineData.cc. Referenced by PolygonData::tryClosePolygon().
Render into a sketch space and return reference. Render line to SketchSpace and return reference. This function does not link the Sketch<bool>* in the shape to the sketch returned. Implements BaseData. Definition at line 1046 of file LineData.cc. Referenced by LineData::getRendering().
Point Access functions.
Definition at line 235 of file LineData.cc. Referenced by LineData::pointOnLine().
Point Access functions.
Definition at line 293 of file LineData.cc. Referenced by LineData::secondPtCoord(), and LineData::updateParams().
Point Access functions.
Definition at line 327 of file LineData.cc. Referenced by LineData::isOverlappedWith(), and LineData::updateParams().
returns a Sketch which is true where the specified line is end0_stop and end1_stop specify whether rendering should stop at endpoints Definition at line 1065 of file LineData.cc. Referenced by LineData::render(). Functions to set endpoints.
Definition at line 343 of file LineData.cc. Referenced by PolygonData::tryImportNewEndline(), and LineData::updateParams().
Helper functions used by extractLine().
Definition at line 788 of file LineData.cc. Referenced by LineData::extractLine().
Point Access functions.
Definition at line 236 of file LineData.cc. Referenced by LineData::pointOnLine().
Functions to set values dealing with orientation.
Definition at line 454 of file LineData.cc. Referenced by LineData::applyTransform(), LineData::LineData(), LineData::mergeWith(), LineData::projectToGround(), LineData::setEndPts(), and LineData::updateParams().
Update a line in the local map with info from a matching line in the ground space.
Implements BaseData. Definition at line 128 of file LineData.cc.
Friends And Related Function Documentation
Definition at line 37 of file LineData.h.
Definition at line 36 of file LineData.h.
Definition at line 35 of file LineData.h. Referenced by LineData::extractLine(), LineData::extractLines(), LineData::houghTransform(), LineData::isMatchFor(), LineData::mergeWith(), and LineData::updateParams().
Member Data Documentation
Definition at line 26 of file LineData.h. Referenced by LineData::balanceEndPointVert(), LineData::bottomPt(), LineData::end1Pt(), LineData::getBoundingBox(), LineData::leftPt(), LineData::LineData(), LineData::mergeWith(), LineData::operator=(), LineData::pointOnLine(), LineData::pointsOnSameSide(), LineData::rightPt(), LineData::setEndPts(), LineData::setInfinite(), LineData::topPt(), and LineData::update_derived_properties().
Definition at line 27 of file LineData.h. Referenced by LineData::balanceEndPointVert(), LineData::bottomPt(), LineData::end2Pt(), LineData::getBoundingBox(), LineData::leftPt(), LineData::LineData(), LineData::mergeWith(), LineData::operator=(), LineData::pointOnLine(), LineData::pointsOnSameSide(), LineData::rightPt(), LineData::setEndPts(), LineData::setInfinite(), LineData::topPt(), and LineData::update_derived_properties().
Definition at line 296 of file LineData.h. Referenced by LineData::scanHorizForEndPts(), and LineData::scanVertForEndPts().
Definition at line 31 of file LineData.h. Referenced by LineData::getLength(), LineData::isAdmissible(), LineData::isLongerThan(), LineData::isShorterThan(), LineData::operator=(), LineData::pointOnLine(), and LineData::update_derived_properties().
Definition at line 30 of file LineData.h. Referenced by LineData::extractLine(), LineData::getOrientation(), LineData::operator=(), and LineData::update_derived_properties().
Definition at line 28 of file LineData.h. Referenced by LineData::getRhoNorm(), LineData::isMatchFor(), LineData::operator=(), LineData::printParams(), and LineData::update_derived_properties().
Definition at line 29 of file LineData.h. Referenced by LineData::getThetaNorm(), LineData::isMatchFor(), LineData::operator=(), LineData::printParams(), and LineData::update_derived_properties().
The documentation for this class was generated from the following files: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
DualCoding 3.0beta |
Generated Wed Oct 4 00:02:25 2006 by Doxygen 1.4.7 |