| 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 23 of file LineData.h.
Constructor & Destructor Documentation
Constructor. Definition at line 42 of file LineData.h.
Constructor. Definition at line 35 of file LineData.cc. Copy constructor. Definition at line 69 of file LineData.cc. Member Function Documentation
Transformations. (Virtual in BaseData.). Apply a transformation to this shape. Implements BaseData. Definition at line 257 of file LineData.cc. Referenced by TargetData::applyTransform(). Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1412 of file LineData.cc. Referenced by LineData::scanHorizForEndPts(). Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1422 of file LineData.cc. Referenced by LineData::scanVertForEndPts().
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 279 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 278 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 305 of file LineData.cc. Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1513 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 1664 of file LineData.cc. Referenced by LineData::render(), and BlobData::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 113 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 111 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::render(), 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 114 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 112 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::render(), LineData::rightPt(), LineData::secondPt(), LineData::setDrawCoords(), LineData::topPt(), PolygonData::tryImportNewEndline(), and LineData::update_derived_properties().
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1036 of file LineData.cc. Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1028 of file LineData.cc. Referenced by BrickData::extractBrick(), TargetData::extractLineTarget(), PyramidData::extractPyramid(), and LineData::splitLine().
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1052 of file LineData.cc.
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1044 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 335 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 324 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 313 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 399 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 395 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 379 of file LineData.cc.
Reimplemented from BaseData. Definition at line 66 of file LineData.h. Referenced by TargetData::getBoundingBox().
Centroid. (Virtual in BaseData.). Implements BaseData. Definition at line 75 of file LineData.cc. Referenced by TargetData::getBackCentroid(), TargetData::getCentroid(), TargetData::getFrontCentroid(), LineData::isMatchFor(), and TargetData::update_derived_properties().
Implements BaseData. Definition at line 100 of file LineData.h.
Determine parameters a, b, c satisfying the equation ax + by = c. Definition at line 151 of file LineData.h. Referenced by 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 150 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 1526 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 148 of file LineData.h.
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 902 of file LineData.cc. Referenced by LineData::houghExtractLines().
Definition at line 53 of file LineData.h.
Determine parameters a, b, c satisfying the equation ax + by = c. Definition at line 149 of file LineData.h.
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 917 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 1717 of file LineData.cc.
Definition at line 744 of file LineData.cc. Definition at line 194 of file LineData.h. Referenced by LineData::intersectionWithLine().
Definition at line 737 of file LineData.cc. Definition at line 189 of file LineData.h. Referenced by BlobData::findCorners(), LineData::intersectionWithLine(), and LineData::isBetween(). Definition at line 671 of file LineData.cc. Definition at line 666 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 212 of file LineData.cc. Check if point falls between the two lines. Definition at line 641 of file LineData.cc. Definition at line 632 of file LineData.cc. Definition at line 629 of file LineData.cc. Definition at line 97 of file LineData.cc. Match lines based on their parameters. (Virtual in BaseData.). Implements BaseData. Definition at line 88 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 540 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 124 of file LineData.cc. Referenced by LineData::isMatchFor(). Definition at line 638 of file LineData.cc. Definition at line 635 of file LineData.cc.
Definition at line 158 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 273 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 272 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 281 of file LineData.cc.
Determine parameters a, b, c satisfying the equation ax + by = c. Definition at line 486 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 448 of file LineData.cc. Referenced by SphereData::projectToGround(). Determine parameters a, b, c satisfying the equation ax + by = c. Definition at line 435 of file LineData.cc. Referenced by LineData::intersectsLine(). Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1910 of file LineData.cc.
Definition at line 141 of file LineData.cc. Referenced by TargetData::mergeWith(). Definition at line 1924 of file LineData.cc. Distance. Definition at line 818 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 601 of file LineData.cc. Defined on Point, but will also work on PointData or Shape<PointData> due to type coercion. Definition at line 614 of file LineData.cc. Defined on Point, but will also work on PointData or Shape<PointData> due to type coercion. Definition at line 575 of file LineData.cc. Defined on Point, but will also work on PointData or Shape<PointData> due to type coercion. Definition at line 588 of file LineData.cc. Definition at line 1952 of file LineData.cc.
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 853 of file LineData.cc. Referenced by LineData::houghExtractLines(). Definition at line 1939 of file LineData.cc.
Definition at line 244 of file LineData.cc.
Print information about this shape. (Virtual in BaseData.). Implements BaseData. Definition at line 220 of file LineData.cc.
Project to ground. Implements BaseData. Definition at line 263 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 1536 of file LineData.cc. Referenced by LineData::getRendering().
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 275 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 274 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 289 of file LineData.cc.
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1264 of file LineData.cc.
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1338 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 368 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 357 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 346 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 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 387 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 1556 of file LineData.cc. Referenced by LineData::render(). Definition at line 418 of file LineData.cc. Referenced by LineData::scanHorizForEndPts(), LineData::scanVertForEndPts(), PolygonData::tryImportNewEndline(), and LineData::updateParams().
Makes endpoints inactive if value = true. Definition at line 77 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 1202 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 277 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 276 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 297 of file LineData.cc.
Updates norm parameters (rho and theta). Definition at line 524 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 199 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. Implements BaseData. Definition at line 166 of file LineData.cc. Referenced by TargetData::updateParams(). Friends And Related Function Documentation
Definition at line 36 of file LineData.h.
Definition at line 35 of file LineData.h.
Definition at line 34 of file LineData.h. Member Data Documentation
Min line length as a fraction of sketch width. Definition at line 39 of file LineData.h. Referenced by LineData::houghTransform(). Definition at line 25 of file LineData.h. Referenced by LineData::balanceEndPointVert(), 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::scanHorizForEndPts(), LineData::scanVertForEndPts(), LineData::setEndPts(), LineData::setInfinite(), LineData::topPt(), and LineData::update_derived_properties(). Definition at line 26 of file LineData.h. Referenced by LineData::balanceEndPointVert(), 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::scanHorizForEndPts(), LineData::scanVertForEndPts(), LineData::setEndPts(), LineData::setInfinite(), LineData::topPt(), and LineData::update_derived_properties().
Definition at line 352 of file LineData.h. Referenced by LineData::scanHorizForEndPts(), and LineData::scanVertForEndPts(). Definition at line 30 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().
Definition at line 29 of file LineData.h. Referenced by LineData::getOrientation(), LineData::houghExtractLines(), LineData::operator=(), and LineData::update_derived_properties(). Definition at line 32 of file LineData.h. Referenced by LineData::update_derived_properties(). Definition at line 27 of file LineData.h. Referenced by LineData::getRhoNorm(), LineData::operator=(), LineData::printParams(), and LineData::update_derived_properties().
Definition at line 28 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 5.1CVS |
Generated Sat May 4 06:29:30 2013 by Doxygen 1.6.3 |