Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
LineData Class ReferenceA line shape, with two endpoints, a length, orientation, etc. More...
Inheritance diagram for LineData:
Detailed DescriptionA line shape, with two endpoints, a length, orientation, etc. Definition at line 20 of file LineData.h.
Constructor & Destructor Documentation
Constructor. Definition at line 43 of file LineData.h.
Constructor. Definition at line 38 of file LineData.cc.
Constructor. Definition at line 52 of file LineData.h. Copy constructor. Definition at line 72 of file LineData.cc. Member Function Documentation
Transformations. (Virtual in BaseData.). Apply a transformation to this shape. Implements BaseData. Definition at line 267 of file LineData.cc. Referenced by TargetData::applyTransform().
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 289 of file LineData.cc.
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 288 of file LineData.cc. Referenced by LineData::bottomPtShape(), and LineData::pointOnLine().
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 315 of file LineData.cc. Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1439 of file LineData.cc.
Render into a sketch space and return reference. Render line to SketchSpace and return a pointer to the sketch. This function does not link the Sketch<bool>* in the shape to the sketch returned. Definition at line 1595 of file LineData.cc. Referenced by BlobData::render(), and LineData::renderOnTo().
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 122 of file LineData.h.
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 120 of file LineData.h. Referenced by LineData::applyTransform(), LineData::bottomPt(), LineData::firstPt(), PolygonData::formsNewEndline(), TargetData::getBackLeftPt(), LineData::getCentroid(), TargetData::getFrontLeftPt(), LineData::getRendering(), LineData::intersectionWithLine(), LineData::intersectsLine(), LineData::isAdmissible(), LineData::isBetween(), LineData::leftPt(), LineData::lineEquation_abc(), LineData::lineEquation_abc_xz(), LineData::lineEquation_mb(), LineData::printEnds(), LineData::printParams(), LineData::projectToGround(), LineData::renderOnTo(), LineData::rightPt(), LineData::secondPt(), LineData::setDrawCoords(), LineData::topPt(), PolygonData::tryImportNewEndline(), and LineData::update_derived_properties().
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 123 of file LineData.h.
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 121 of file LineData.h. Referenced by LineData::applyTransform(), LineData::bottomPt(), LineData::firstPt(), PolygonData::formsNewEndline(), TargetData::getBackRightPt(), LineData::getCentroid(), TargetData::getFrontRightPt(), LineData::getRendering(), LineData::intersectionWithLine(), LineData::intersectsLine(), LineData::isAdmissible(), LineData::leftPt(), LineData::lineEquation_abc(), LineData::lineEquation_abc_xz(), LineData::lineEquation_mb(), LineData::printEnds(), LineData::printParams(), LineData::projectToGround(), LineData::renderOnTo(), LineData::rightPt(), LineData::secondPt(), LineData::setDrawCoords(), LineData::topPt(), PolygonData::tryImportNewEndline(), and LineData::update_derived_properties().
skel has to be this close to start a segment Definition at line 1068 of file LineData.cc. skel has to be this close to start a segment Definition at line 1060 of file LineData.cc. Referenced by BrickData::extractBrick(), TargetData::extractLineTarget(), PyramidData::extractPyramid(), and LineData::splitLine().
skel has to be this close to start a segment Definition at line 1084 of file LineData.cc.
skel has to be this close to start a segment Definition at line 1076 of file LineData.cc. Referenced by PolygonData::extractPolygonEdges(). 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 345 of file LineData.cc.
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 334 of file LineData.cc.
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 323 of file LineData.cc. Referenced by LineData::firstPtCoord(), LineData::firstPtShape(), and LineData::updateParams().
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 409 of file LineData.cc.
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 405 of file LineData.cc. Referenced by LineData::updateParams().
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 389 of file LineData.cc.
Reimplemented from BaseData. Definition at line 74 of file LineData.h. Referenced by TargetData::getBoundingBox().
Centroid. (Virtual in BaseData.). Implements BaseData. Definition at line 78 of file LineData.cc. Referenced by TargetData::getBackCentroid(), TargetData::getCentroid(), TargetData::getFrontCentroid(), LineData::isMatchFor(), and TargetData::update_derived_properties().
Implements BaseData. Definition at line 109 of file LineData.h.
Determine parameters a, b, c satisfying the equation ax + by = c. Definition at line 160 of file LineData.h. Referenced by CrossData::getArmSemiLength(), PolygonData::isFirstLineLonger(), LineDataLengthLessThan::operator()(), LineData::printParams(), and TargetData::update_derived_properties().
Determine parameters a, b, c satisfying the equation ax + by = c. Definition at line 159 of file LineData.h. Referenced by LineData::intersectionWithLine(), PolygonData::intersectsLine(), LineData::isBetween(), PolygonData::isInside(), LineData::isNotVertical(), and LineData::printParams(). 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 from BaseData. Definition at line 1452 of file LineData.cc. Referenced by LineData::clearLine(), PyramidData::render(), and BrickData::render().
Determine parameters a, b, c satisfying the equation ax + by = c. Definition at line 157 of file LineData.h.
skel has to be this close to start a segment Definition at line 910 of file LineData.cc. Referenced by LineData::houghExtractLines().
Definition at line 61 of file LineData.h.
Determine parameters a, b, c satisfying the equation ax + by = c. Definition at line 158 of file LineData.h.
skel has to be this close to start a segment Definition at line 925 of file LineData.cc. Referenced by LineData::extractLine(), and LineData::extractLines().
Check to see if any endpoints are near any edge of the screen. If they are, invalidate them, assuming that line continues beyond screen. Definition at line 1649 of file LineData.cc.
Definition at line 754 of file LineData.cc. Definition at line 203 of file LineData.h. Referenced by LineData::intersectionWithLine().
Definition at line 747 of file LineData.cc. Definition at line 198 of file LineData.h. Referenced by BlobData::findCorners(), LineData::intersectionWithLine(), and LineData::isBetween(). Definition at line 681 of file LineData.cc. Definition at line 676 of file LineData.cc. Referenced by PolygonData::intersectsLine(), and PolygonData::isInside().
Lines are admissible to the local map if they're long enough to not be noise. Reimplemented from BaseData. Definition at line 222 of file LineData.cc. Check if point falls between the two lines. Definition at line 651 of file LineData.cc. Definition at line 642 of file LineData.cc. Definition at line 639 of file LineData.cc. Definition at line 100 of file LineData.cc. Match lines based on their parameters. (Virtual in BaseData.). Implements BaseData. Definition at line 91 of file LineData.cc. Referenced by PolygonData::isClosed(), TargetData::isMatchFor(), and PolygonData::tryClosePolygon().
True if line orientation is far enough from vertical. Definition at line 550 of file LineData.cc. Referenced by LineData::firstPt(), LineData::firstPtCoord(), LineData::secondPt(), and LineData::secondPtCoord(). True if line orientation is far enough from vertical. Definition at line 129 of file LineData.cc. Referenced by LineData::isMatchFor(). Definition at line 648 of file LineData.cc. Definition at line 645 of file LineData.cc.
Definition at line 163 of file LineData.cc. Referenced by LineData::updateParams().
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 283 of file LineData.cc.
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 282 of file LineData.cc. Referenced by LineData::leftPtShape(), and LineData::pointOnLine().
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 291 of file LineData.cc.
Determine parameters a, b, c satisfying the equation ax + by = c. Definition at line 496 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 458 of file LineData.cc. Referenced by SphereData::projectToGround(). Determine parameters a, b, c satisfying the equation ax + by = c. Definition at line 445 of file LineData.cc. Referenced by LineData::intersectsLine(). skel has to be this close to start a segment Definition at line 1832 of file LineData.cc.
Definition at line 146 of file LineData.cc. Referenced by TargetData::mergeWith(). Definition at line 1846 of file LineData.cc. Distance. Definition at line 828 of file LineData.cc. Referenced by LineData::isBetween(), LineData::isMatchFor(), Region::mostDistantPtFrom(), TargetData::perpendicularDistanceFrom(), TargetData::update_derived_properties(), and LineData::update_derived_properties(). Defined on Point, but will also work on PointData or Shape<PointData> due to type coercion. Definition at line 611 of file LineData.cc. Defined on Point, but will also work on PointData or Shape<PointData> due to type coercion. Definition at line 624 of file LineData.cc. Defined on Point, but will also work on PointData or Shape<PointData> due to type coercion. Definition at line 585 of file LineData.cc. Defined on Point, but will also work on PointData or Shape<PointData> due to type coercion. Definition at line 598 of file LineData.cc. Definition at line 1874 of file LineData.cc.
skel has to be this close to start a segment Definition at line 861 of file LineData.cc. Referenced by LineData::houghExtractLines(). Definition at line 1861 of file LineData.cc.
Definition at line 254 of file LineData.cc.
Print information about this shape. (Virtual in BaseData.). Implements BaseData. Definition at line 230 of file LineData.cc.
Project to ground. Implements BaseData. Definition at line 273 of file LineData.cc. Referenced by TargetData::projectToGround(). Render into a sketch space and return reference. Render line to SketchSpace and return a pointer to the sketch. This function does not link the Sketch<bool>* in the shape to the sketch returned. Implements BaseData. Definition at line 1462 of file LineData.cc. Referenced by LineData::getRendering(). Definition at line 1474 of file LineData.cc. Referenced by LineData::render().
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 285 of file LineData.cc.
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 284 of file LineData.cc. Referenced by LineData::pointOnLine(), and LineData::rightPtShape().
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 299 of file LineData.cc.
skel has to be this close to start a segment Definition at line 1296 of file LineData.cc.
skel has to be this close to start a segment Definition at line 1366 of file LineData.cc. 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 378 of file LineData.cc.
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 367 of file LineData.cc.
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 356 of file LineData.cc. Referenced by LineData::secondPtCoord(), LineData::secondPtShape(), and LineData::updateParams().
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 419 of file LineData.cc.
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 415 of file LineData.cc. Referenced by LineData::updateParams().
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 397 of file LineData.cc.
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 1487 of file LineData.cc. Referenced by LineData::renderOnTo(). Definition at line 428 of file LineData.cc. Referenced by LineData::scanHorizForEndPts(), LineData::scanVertForEndPts(), PolygonData::tryImportNewEndline(), and LineData::updateParams().
Makes endpoints inactive if value = true. Definition at line 80 of file LineData.cc.
Extracts most prominent line from a skeletonized image. Extracts most prominent line from a skeletonized image. It's often useful to use the original sketch as an occluder Helper functions used by extractLine(). Definition at line 1234 of file LineData.cc.
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 287 of file LineData.cc.
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 286 of file LineData.cc. Referenced by LineData::pointOnLine(), and LineData::topPtShape().
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 307 of file LineData.cc.
Updates norm parameters (rho and theta). Definition at line 534 of file LineData.cc. Referenced by LineData::applyTransform(), LineData::LineData(), LineData::mergeWith(), LineData::projectToGround(), LineData::setEndPts(), TargetData::update_derived_properties(), and LineData::updateParams().
Definition at line 209 of file LineData.cc. Referenced by LineData::updateParams(). Update a line in the local map with info from a matching line in the ground space. Definition at line 177 of file LineData.cc. Update a line in the local map with info from a matching line in the ground space. Implements BaseData. Definition at line 171 of file LineData.cc. Referenced by TargetData::updateParams(). 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. Member Data Documentation
skel has to be this close to start a segment Definition at line 249 of file LineData.h. Referenced by LineData::houghExtractLines(), LineData::houghTransform(), LineData::scanHorizForEndPts(), and LineData::scanVertForEndPts().
Min line length as a fraction of sketch width. Definition at line 40 of file LineData.h. Referenced by LineData::houghTransform(). Definition at line 26 of file LineData.h. Referenced by LineData::bottomPt(), LineData::end1Pt(), LineData::getBoundingBox(), LineData::isOverlappedWith(), LineData::leftPt(), LineData::LineData(), LineData::mergeWith(), LineData::operator=(), LineData::pointIsAbove(), LineData::pointIsBelow(), LineData::pointIsLeftOf(), LineData::pointIsRightOf(), 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::bottomPt(), LineData::end2Pt(), LineData::getBoundingBox(), LineData::isOverlappedWith(), LineData::leftPt(), LineData::LineData(), LineData::mergeWith(), LineData::operator=(), LineData::pointIsAbove(), LineData::pointIsBelow(), LineData::pointIsLeftOf(), LineData::pointIsRightOf(), LineData::pointOnLine(), LineData::pointsOnSameSide(), LineData::rightPt(), LineData::setEndPts(), LineData::setInfinite(), LineData::topPt(), and LineData::update_derived_properties().
how far line can extend past skel before giving up Definition at line 250 of file LineData.h. Referenced by LineData::scanHorizForEndPts(), and LineData::scanVertForEndPts().
Definition at line 363 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::mergeWith(), LineData::operator=(), LineData::pointOnLine(), and LineData::update_derived_properties().
minimum x or y length in pixels Definition at line 251 of file LineData.h. Referenced by LineData::scanHorizForEndPts(), and LineData::scanVertForEndPts().
Definition at line 30 of file LineData.h. Referenced by LineData::getOrientation(), LineData::houghExtractLines(), LineData::operator=(), and LineData::update_derived_properties(). Definition at line 33 of file LineData.h. Referenced by LineData::update_derived_properties(). Definition at line 28 of file LineData.h. Referenced by LineData::getRhoNorm(), LineData::operator=(), LineData::printParams(), and LineData::update_derived_properties().
number of distance entries in Hough table; was 1600 Definition at line 23 of file LineData.h. Referenced by LineData::houghExtractLines(), and LineData::pointsOnPerimeterOfWindow().
Definition at line 29 of file LineData.h. Referenced by LineData::getThetaNorm(), LineData::isMatchFor(), LineData::operator=(), LineData::printParams(), and LineData::update_derived_properties().
number of theta entries in Hough table Definition at line 22 of file LineData.h. Referenced by LineData::houghExtractLines(). 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 |