| 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 35 of file LineData.cc. Copy constructor. Definition at line 48 of file LineData.h. Member Function Documentation
Transformations. (Virtual in BaseData.). Apply a transformation to this shape. Implements BaseData. Definition at line 245 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 1189 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 1199 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 267 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 266 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 293 of file LineData.cc.
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1289 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 1438 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 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::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 115 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 113 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().
Extracts most prominent line from a skeletonized image. It's often useful to use the original sketch as an occluder Definition at line 852 of file LineData.cc. Extracts most prominent line from a skeletonized image. Definition at line 838 of file LineData.cc. Referenced by BrickData::extractBrick(), LineData::extractLines(), 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 1257 of file LineData.cc.
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1230 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 323 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 312 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 301 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 387 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 383 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 367 of file LineData.cc.
Reimplemented from BaseData. Definition at line 67 of file LineData.h. Referenced by TargetData::getBoundingBox().
Centroid. (Virtual in BaseData.). Implements BaseData. Definition at line 69 of file LineData.cc. Referenced by TargetData::getBackCentroid(), TargetData::getCentroid(), TargetData::getFrontCentroid(), LineData::isMatchFor(), and TargetData::update_derived_properties().
Implements BaseData. Definition at line 101 of file LineData.h.
Determine parameters a, b, c satisfying the equation ax + by = c. Definition at line 152 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 151 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 1302 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 149 of file LineData.h. Referenced by LineData::extractLine().
Definition at line 54 of file LineData.h.
Determine parameters a, b, c satisfying the equation ax + by = c. Definition at line 150 of file LineData.h. Referenced by LineData::extractLine().
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 1487 of file LineData.cc.
Definition at line 732 of file LineData.cc. Definition at line 195 of file LineData.h. Referenced by LineData::intersectionWithLine().
Definition at line 725 of file LineData.cc. Definition at line 190 of file LineData.h. Referenced by BlobData::findCorners(), LineData::intersectionWithLine(), and LineData::isBetween().
Definition at line 659 of file LineData.cc.
Definition at line 654 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 200 of file LineData.cc. Check if point falls between the two lines. Definition at line 629 of file LineData.cc.
Definition at line 620 of file LineData.cc.
Definition at line 617 of file LineData.cc.
Definition at line 91 of file LineData.cc.
Match lines based on their parameters. (Virtual in BaseData.). Implements BaseData. Definition at line 82 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 528 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 116 of file LineData.cc. Referenced by LineData::isMatchFor().
Definition at line 626 of file LineData.cc.
Definition at line 623 of file LineData.cc.
Definition at line 146 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 261 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 260 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 269 of file LineData.cc.
Determine parameters a, b, c satisfying the equation ax + by = c. Definition at line 474 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 436 of file LineData.cc. Referenced by SphereData::projectToGround(). Determine parameters a, b, c satisfying the equation ax + by = c. Definition at line 423 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 1680 of file LineData.cc.
Definition at line 133 of file LineData.cc. Referenced by TargetData::mergeWith().
Extracts most prominent line from a skeletonized image. Definition at line 918 of file LineData.cc. Extracts most prominent line from a skeletonized image. Definition at line 845 of file LineData.cc. Referenced by LineData::oldExtractLines(), and LineData::oldSplitLine().
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1238 of file LineData.cc.
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1222 of file LineData.cc.
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1013 of file LineData.cc. Referenced by LineData::oldExtractLine(). Definition at line 1694 of file LineData.cc. Distance. Definition at line 806 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 589 of file LineData.cc.
Defined on Point, but will also work on PointData or Shape<PointData> due to type coercion. Definition at line 602 of file LineData.cc.
Defined on Point, but will also work on PointData or Shape<PointData> due to type coercion. Definition at line 563 of file LineData.cc.
Defined on Point, but will also work on PointData or Shape<PointData> due to type coercion. Definition at line 576 of file LineData.cc.
Definition at line 1722 of file LineData.cc. Definition at line 1709 of file LineData.cc.
Definition at line 232 of file LineData.cc.
Print information about this shape. (Virtual in BaseData.). Implements BaseData. Definition at line 208 of file LineData.cc. Referenced by LineData::intersectionWithLine(), and PolygonData::tryClosePolygon().
Project to ground. Implements BaseData. Definition at line 251 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 1312 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 263 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 262 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 277 of file LineData.cc.
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1041 of file LineData.cc. Referenced by LineData::extractLine().
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1115 of file LineData.cc. Referenced by LineData::extractLine(). 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.
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. 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 397 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 393 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 375 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 1332 of file LineData.cc. Referenced by LineData::render(). Definition at line 406 of file LineData.cc. Referenced by LineData::scanHorizForEndPts(), LineData::scanVertForEndPts(), PolygonData::tryImportNewEndline(), and LineData::updateParams().
Makes endpoints inactive if value = true. Definition at line 71 of file LineData.cc.
Helper functions used by extractLine(). Definition at line 979 of file LineData.cc. Referenced by LineData::extractLine().
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 265 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 264 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 285 of file LineData.cc.
Updates norm parameters (rho and theta). Definition at line 512 of file LineData.cc. Referenced by LineData::applyTransform(), LineData::extractLine(), LineData::LineData(), LineData::mergeWith(), LineData::projectToGround(), LineData::setEndPts(), TargetData::update_derived_properties(), and LineData::updateParams().
Definition at line 187 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 154 of file LineData.cc. Referenced by TargetData::updateParams(). Friends And Related Function Documentation
Definition at line 33 of file LineData.h.
Definition at line 32 of file LineData.h.
Definition at line 31 of file LineData.h. Member Data Documentation
Min line length as a fraction of sketch width. Definition at line 36 of file LineData.h. Referenced by LineData::extractLines(), LineData::houghTransform(), and LineData::oldExtractLines(). Definition at line 22 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 23 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 338 of file LineData.h. Referenced by LineData::scanHorizForEndPts(), and LineData::scanVertForEndPts(). Definition at line 27 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 26 of file LineData.h. Referenced by LineData::extractLine(), LineData::getOrientation(), LineData::oldExtractLine(), LineData::operator=(), and LineData::update_derived_properties(). Definition at line 29 of file LineData.h. Referenced by LineData::update_derived_properties(). Definition at line 24 of file LineData.h. Referenced by LineData::getRhoNorm(), LineData::operator=(), LineData::printParams(), and LineData::update_derived_properties().
Definition at line 25 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 Fri Mar 16 05:23:52 2012 by Doxygen 1.6.3 |