Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
LineData Class Reference#include <LineData.h>
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
Member Function Documentation
Definition at line 56 of file LineData.h.
Updates norm parameters (rho and theta).
Definition at line 469 of file LineData.cc. Referenced by LineData::applyTransform(), LineData::LineData(), LineData::mergeWith(), LineData::projectToGround(), LineData::setEndPts(), TargetData::update_derived_properties(), and LineData::updateParams().
Centroid. (Virtual in BaseData.).
Implements BaseData. Definition at line 63 of file LineData.cc. Referenced by TargetData::getBackCentroid(), TargetData::getCentroid(), TargetData::getFrontCentroid(), LineData::isMatchFor(), and TargetData::update_derived_properties().
Reimplemented from BaseData. Definition at line 69 of file LineData.h. Referenced by TargetData::getBoundingBox(). Match lines based on their parameters. (Virtual in BaseData.).
Implements BaseData. Definition at line 74 of file LineData.cc. Referenced by PolygonData::isClosed(), TargetData::isMatchFor(), and PolygonData::tryClosePolygon().
Definition at line 83 of file LineData.cc.
Lines are admissible to the local map if they're long enough to not be noise.
Reimplemented from BaseData. Definition at line 176 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 130 of file LineData.cc. Referenced by TargetData::updateParams().
Definition at line 1436 of file LineData.cc.
Print information about this shape. (Virtual in BaseData.).
Implements BaseData. Definition at line 184 of file LineData.cc. Referenced by PolygonData::tryClosePolygon().
Transformations. (Virtual in BaseData.). Apply a transformation to this shape. Implements BaseData. Definition at line 221 of file LineData.cc. Referenced by TargetData::applyTransform().
Project to ground.
Implements BaseData. Definition at line 227 of file LineData.cc. Referenced by TargetData::projectToGround().
Definition at line 208 of file LineData.cc.
Definition at line 361 of file LineData.cc. Referenced by LineData::scanHorizForEndPts(), LineData::scanVertForEndPts(), PolygonData::tryImportNewEndline(), 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 115 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(), 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().
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 116 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(), 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().
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 117 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 118 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 237 of file LineData.cc. Referenced by LineData::bottomPtShape(), LineData::leftPtShape(), LineData::pointOnLine(), LineData::rightPtShape(), 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 238 of file LineData.cc. Referenced by 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 239 of file LineData.cc. Referenced by 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 240 of file LineData.cc. Referenced by 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 242 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 250 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 258 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.
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::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 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 296 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 307 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 318 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 326 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::isOverlappedWith(), 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 340 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::isOverlappedWith(), 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 352 of file LineData.cc.
Definition at line 146 of file LineData.h.
Definition at line 147 of file LineData.h.
Definition at line 148 of file LineData.h. Referenced by LineData::intersectionWithLine(), LineData::isBetween(), PolygonData::isInside(), LineData::isNotVertical(), and LineData::printParams().
Definition at line 149 of file LineData.h. Referenced by LineData::printParams(), and TargetData::update_derived_properties().
Determine parameters a, b, c satisfying the equation ax + by = c.
Definition at line 430 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 391 of file LineData.cc. Referenced by SphereData::projectToGround().
True if line orientation is far enough from vertical.
Definition at line 485 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 102 of file LineData.cc. Referenced by LineData::isMatchFor().
Definition at line 511 of file LineData.cc.
Definition at line 514 of file LineData.cc.
Definition at line 517 of file LineData.cc.
Definition at line 520 of file LineData.cc.
Definition at line 553 of file LineData.cc.
Definition at line 180 of file LineData.h. Referenced by BlobData::findCorners(), LineData::intersectionWithLine(), LineData::isBetween(), and MapBuilder::isLineVisible().
Definition at line 619 of file LineData.cc.
Definition at line 185 of file LineData.h.
Definition at line 626 of file LineData.cc.
Definition at line 1451 of file LineData.cc.
Definition at line 1464 of file LineData.cc.
Distance.
Definition at line 703 of file LineData.cc. Referenced by LineData::isBetween(), LineData::isMatchFor(), Region::mostDistantPtFrom(), TargetData::perpendicularDistanceFrom(), TargetData::update_derived_properties(), and LineData::update_derived_properties(). Extracts most prominent line from a skeletonized image.
Definition at line 731 of file LineData.cc. Referenced by BrickData::extractBrick(), LineData::extractLines(), TargetData::extractLineTarget(), PyramidData::extractPyramid(), and LineData::splitLine().
Extracts most prominent line from a skeletonized image. It's often useful to use the original sketch as an occluder Definition at line 737 of file LineData.cc.
Helper functions used by extractLine().
Definition at line 798 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 1032 of file LineData.cc.
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 826 of file LineData.cc.
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 900 of file LineData.cc. Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 974 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 984 of file LineData.cc. Referenced by LineData::scanVertForEndPts().
Clears a line from a sketch. Clear out pixels that are on or close to this line. Definition at line 1006 of file LineData.cc. Referenced by PolygonData::extractPolygonEdges(), and MapBuilder::getCamLines().
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.
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 1231 of file LineData.cc. 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. 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 1045 of file LineData.cc. Referenced by LineData::clearLine(), PyramidData::render(), and BrickData::render(). 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 1055 of file LineData.cc. Referenced by LineData::getRendering().
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 1074 of file LineData.cc. Referenced by LineData::render(). 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 1180 of file LineData.cc. Referenced by LineData::render(), and BlobData::render().
Friends And Related Function Documentation
Definition at line 34 of file LineData.h. Referenced by LineData::extractLine(), LineData::extractLines(), LineData::houghTransform(), LineData::isMatchFor(), LineData::mergeWith(), and LineData::updateParams().
Definition at line 35 of file LineData.h.
Definition at line 36 of file LineData.h.
Member Data Documentation
Definition at line 25 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::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::leftPt(), LineData::LineData(), LineData::mergeWith(), LineData::operator=(), LineData::pointOnLine(), LineData::pointsOnSameSide(), LineData::rightPt(), LineData::scanHorizForEndPts(), LineData::scanVertForEndPts(), LineData::setEndPts(), LineData::setInfinite(), LineData::topPt(), and LineData::update_derived_properties().
Definition at line 27 of file LineData.h. Referenced by LineData::getRhoNorm(), LineData::isMatchFor(), 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().
Definition at line 29 of file LineData.h. Referenced by LineData::extractLine(), LineData::getOrientation(), LineData::operator=(), and LineData::update_derived_properties().
Definition at line 30 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 309 of file LineData.h. Referenced by LineData::scanHorizForEndPts(), and LineData::scanVertForEndPts().
The documentation for this class was generated from the following files: |
DualCoding 4.0 |
Generated Thu Nov 22 00:53:56 2007 by Doxygen 1.5.4 |