![]() |
Visual Servoing Platform version 3.7.0
|
#include <vpImagePoint.h>
Public Member Functions | |
| vpImagePoint () | |
| vpImagePoint (double ii, double jj) | |
| vpImagePoint (const vpImagePoint &ip) | |
| virtual | ~vpImagePoint () |
| double | get_i () const |
| double | get_j () const |
| double | get_u () const |
| double | get_v () const |
| bool | inRectangle (const vpRect &rect) const |
| bool | inSegment (const vpImagePoint &start, const vpImagePoint &end) const |
| vpImagePoint | nextInSegment (const vpImagePoint &start, const vpImagePoint &end) const |
| vpImagePoint & | operator= (const vpImagePoint &ip) |
| vpImagePoint & | operator= (const vpImagePoint &&ip) noexcept |
| vpImagePoint & | operator+= (const vpImagePoint &ip) |
| vpImagePoint & | operator-= (const vpImagePoint &ip) |
| vpImagePoint & | operator/= (double scale) |
| vpImagePoint & | operator*= (double scale) |
| void | set_i (double ii) |
| void | set_j (double jj) |
| void | set_ij (double ii, double jj) |
| void | set_u (double u) |
| void | set_v (double v) |
| void | set_uv (double u, double v) |
Static Public Member Functions | |
| static double | distance (const vpImagePoint &iP1, const vpImagePoint &iP2) |
| static vpRect | getBBox (const std::vector< vpImagePoint > &ipVec) |
| static double | sqrDistance (const vpImagePoint &iP1, const vpImagePoint &iP2) |
Friends | |
| VISP_EXPORT bool | operator== (const vpImagePoint &ip1, const vpImagePoint &ip2) |
| VISP_EXPORT bool | operator!= (const vpImagePoint &ip1, const vpImagePoint &ip2) |
| VISP_EXPORT vpImagePoint | operator+= (const vpImagePoint &ip1, const vpImagePoint &ip2) |
| VISP_EXPORT vpImagePoint | operator+ (const vpImagePoint &ip1, const vpImagePoint &ip2) |
| VISP_EXPORT vpImagePoint | operator+ (const vpImagePoint &ip1, int offset) |
| VISP_EXPORT vpImagePoint | operator+ (const vpImagePoint &ip1, unsigned int offset) |
| VISP_EXPORT vpImagePoint | operator+ (const vpImagePoint &ip1, double offset) |
| VISP_EXPORT vpImagePoint | operator- (const vpImagePoint &ip1, const vpImagePoint &ip2) |
| VISP_EXPORT vpImagePoint | operator- (const vpImagePoint &ip1, int offset) |
| VISP_EXPORT vpImagePoint | operator- (const vpImagePoint &ip1, unsigned int offset) |
| VISP_EXPORT vpImagePoint | operator- (const vpImagePoint &ip1, double offset) |
| VISP_EXPORT vpImagePoint | operator* (const vpImagePoint &ip1, double scale) |
| VISP_EXPORT vpImagePoint | operator/ (const vpImagePoint &ip1, double scale) |
| VISP_EXPORT std::ostream & | operator<< (std::ostream &os, const vpImagePoint &ip) |
Class that defines a 2D point in an image. This class is useful for image processing and stores only the 2D coordinates given in sub-pixel.
In this class, the 2D coordinates are not necessary integer values. It is easy to manipulate the given coordinates in the two frames used in ViSP : the (i,j) coordinates and the (u,v) coordinates. The two following images illustrate the two coordinate systems.
Definition at line 81 of file vpImagePoint.h.
|
inline |
Default constructor that initialize the coordinates of the image point to zero.
Definition at line 88 of file vpImagePoint.h.
Referenced by distance(), inSegment(), nextInSegment(), operator!=, operator*, operator*=(), operator+, operator+, operator+, operator+, operator+=(), operator+=, operator-, operator-, operator-, operator-, operator-=(), operator/, operator/=(), operator<<, operator=(), operator=(), operator==, sqrDistance(), and vpImagePoint().
|
inline |
Default constructor that initialize the coordinates of the image thanks to the parameters
and
.
Definition at line 93 of file vpImagePoint.h.
|
inline |
Copy constructor.
Initialize the coordinates of the image point with ip.
| ip | : An image point. |
Definition at line 101 of file vpImagePoint.h.
References vpImagePoint().
|
inlinevirtual |
Destructor.
Definition at line 103 of file vpImagePoint.h.
|
static |
Compute the distance ![]()
| iP1 | : First point |
| iP2 | : Second point |
Definition at line 481 of file vpImagePoint.cpp.
References get_i(), get_j(), vpMath::sqr(), and vpImagePoint().
Referenced by vpDisplayGTK::displayArrow(), vpDisplayX::displayArrow(), vpDisplay::displayDotLine(), vpDisplay::displayDotLine(), vpDisplay::displayLine(), vpDisplay::displayLine(), vpImageDraw::drawArrow(), vpImageDraw::drawArrow(), vpNurbs::globalCurveInterp(), vpNurbs::globalCurveInterp(), vpMeEllipse::leastSquareRobustCircle(), vpMeEllipse::leastSquareRobustEllipse(), vpCircleHoughTransform::mergeCandidates(), vpMeNurbs::seekExtremities(), vpMeNurbs::track(), and vpMeNurbs::updateDelta().
|
inline |
Gets the point coordinate corresponding to the
axes in the frame (i,j).
Definition at line 114 of file vpImagePoint.h.
Referenced by VISP_NAMESPACE_NAME::addContourPoint(), vpObjectCentricRenderer::computeBoundingBox(), vpNurbs::computeCurveDersPoint(), vpImageTools::crop(), VISP_NAMESPACE_NAME::crossesEastBorder(), vpDisplayGTK::displayArrow(), vpDisplayX::displayArrow(), vpDisplayGTK::displayCross(), vpDisplayX::displayCross(), vpDisplayGTK::displayImageROI(), vpDisplayGTK::displayImageROI(), vpDisplay::displayLine(), vpDisplay::displayLine(), vpDisplay::displayLine(), vpDisplay::displayLine(), vpKeyPoint::displayMatching(), vpKeyPoint::displayMatching(), vpMbtDistanceKltCylinder::displayPrimitive(), vpMbtDistanceKltCylinder::displayPrimitive(), vpMbtDistanceKltPoints::displayPrimitive(), vpMbtDistanceKltPoints::displayPrimitive(), vpDisplayWin32::displayRectangle(), distance(), vpImageDraw::drawArrow(), vpImageDraw::drawArrow(), vpImageDraw::drawCross(), vpImageDraw::drawCross(), vpImageDraw::drawDottedLine(), vpImageDraw::drawDottedLine(), vpPlaneEstimation::estimatePlane(), vpPlaneEstimation::estimatePlane(), VISP_NAMESPACE_NAME::findContours(), VISP_NAMESPACE_NAME::floodFill(), VISP_NAMESPACE_NAME::followBorder(), VISP_NAMESPACE_NAME::fromTo(), vpMbtDistanceKltCylinder::getFeaturesForDisplay(), vpMbtDistanceKltPoints::getFeaturesForDisplay(), vpMbtFaceDepthNormal::getFeaturesForDisplay(), vpMbtDistanceCircle::getModelForDisplay(), vpMbtDistanceCylinder::getModelForDisplay(), vpMbtDistanceKltCylinder::getModelForDisplay(), vpMbtDistanceKltPoints::getModelForDisplay(), vpMbtDistanceLine::getModelForDisplay(), vpPolygon3D::getNbCornerInsideImage(), vpImage< Type >::getValue(), vpMbtDistanceCylinder::initMovingEdge(), vpMbtDistanceLine::initMovingEdge(), vpMeLine::initTracking(), vpRect::inRectangle, inSegment(), vpImage< Type >::insert(), vpImageTools::interpolate(), vpTemplateTrackerTriangle::inTriangle(), vpTriangle::inTriangle(), vpPolygon::isInside(), vpRect::isInside(), vpWireFrameSimulator::navigation(), vpWireFrameSimulator::navigation(), nextInSegment(), operator!=, vpImage< Type >::operator()(), vpImage< Type >::operator()(), operator*, operator+, operator+, operator+, operator+, operator+=, operator-, operator-, operator-, operator-, operator/, operator<<, operator==, vpMeTracker::outOfImage(), vpMeEllipse::plugHoles(), vpMeLine::plugHoles(), vpNurbs::removeCurveKnot(), vpMeEllipse::sample(), vpMeLine::seekExtremities(), vpMeNurbs::seekExtremitiesCanny(), sqrDistance(), vpMbtDistanceCylinder::updateMovingEdge(), vpMbtDistanceLine::updateMovingEdge(), and VISP_NAMESPACE_NAME::visitNeighbors().
|
inline |
Gets the point coordinate corresponding to the
axes in the frame (i,j).
Definition at line 125 of file vpImagePoint.h.
Referenced by VISP_NAMESPACE_NAME::addContourPoint(), vpObjectCentricRenderer::computeBoundingBox(), vpNurbs::computeCurveDersPoint(), vpImageTools::crop(), VISP_NAMESPACE_NAME::crossesEastBorder(), vpDisplayGTK::displayArrow(), vpDisplayX::displayArrow(), vpDisplayGTK::displayCross(), vpDisplayX::displayCross(), vpDisplayGTK::displayImageROI(), vpDisplayGTK::displayImageROI(), vpDisplay::displayLine(), vpDisplay::displayLine(), vpDisplay::displayLine(), vpDisplay::displayLine(), vpKeyPoint::displayMatching(), vpKeyPoint::displayMatching(), vpMbtDistanceKltCylinder::displayPrimitive(), vpMbtDistanceKltCylinder::displayPrimitive(), vpMbtDistanceKltPoints::displayPrimitive(), vpMbtDistanceKltPoints::displayPrimitive(), vpDisplayWin32::displayRectangle(), distance(), vpImageDraw::drawArrow(), vpImageDraw::drawArrow(), vpImageDraw::drawCross(), vpImageDraw::drawCross(), vpImageDraw::drawDottedLine(), vpImageDraw::drawDottedLine(), vpPlaneEstimation::estimatePlane(), vpPlaneEstimation::estimatePlane(), VISP_NAMESPACE_NAME::findContours(), VISP_NAMESPACE_NAME::floodFill(), VISP_NAMESPACE_NAME::followBorder(), VISP_NAMESPACE_NAME::fromTo(), vpMbtDistanceKltCylinder::getFeaturesForDisplay(), vpMbtDistanceKltPoints::getFeaturesForDisplay(), vpMbtFaceDepthNormal::getFeaturesForDisplay(), vpMbtDistanceCircle::getModelForDisplay(), vpMbtDistanceCylinder::getModelForDisplay(), vpMbtDistanceKltCylinder::getModelForDisplay(), vpMbtDistanceKltPoints::getModelForDisplay(), vpMbtDistanceLine::getModelForDisplay(), vpPolygon3D::getNbCornerInsideImage(), vpImage< Type >::getValue(), vpMbtDistanceCylinder::initMovingEdge(), vpMbtDistanceLine::initMovingEdge(), vpMeLine::initTracking(), vpRect::inRectangle, inSegment(), vpImage< Type >::insert(), vpImageTools::interpolate(), vpTemplateTrackerTriangle::inTriangle(), vpTriangle::inTriangle(), vpPolygon::isInside(), vpRect::isInside(), vpWireFrameSimulator::navigation(), vpWireFrameSimulator::navigation(), nextInSegment(), operator!=, vpImage< Type >::operator()(), vpImage< Type >::operator()(), operator*, operator+, operator+, operator+, operator+, operator+=, operator-, operator-, operator-, operator-, operator/, operator<<, operator==, vpMeTracker::outOfImage(), vpMeEllipse::plugHoles(), vpMeLine::plugHoles(), vpNurbs::removeCurveKnot(), vpMeEllipse::sample(), vpMeLine::seekExtremities(), vpMeNurbs::seekExtremitiesCanny(), sqrDistance(), vpMbtDistanceCylinder::updateMovingEdge(), vpMbtDistanceLine::updateMovingEdge(), and VISP_NAMESPACE_NAME::visitNeighbors().
|
inline |
Gets the point coordinate corresponding to the
axes in the frame (u,v).
Definition at line 136 of file vpImagePoint.h.
Referenced by vpMeEllipse::computeAngleOnEllipse(), vpImageCircle::computeAngularCoverageInRoI(), vpObjectCentricRenderer::computeBoundingBox(), vpPose::computePlanarObjectPoseFromRGBD(), vpPose::computePlanarObjectPoseFromRGBD(), vpCalibration::computeStdDeviation(), vpCalibration::computeStdDeviation_dist(), vpMeEllipse::computeTheta(), vpPixelMeterConversion::convertPoint(), vpDot2::defineDots(), vpCalibration::displayData(), vpDisplayGTK::displayRectangle(), vpDisplayOpenCV::displayRectangle(), vpDisplayX::displayRectangle(), vpImageDraw::drawEllipse(), vpImageDraw::drawEllipse(), vpImageDraw::drawLine(), vpImageDraw::drawLine(), vpDisplayWin32::flushDisplayROI(), vpDot2::getDistance(), vpTemplateTrackerTriangle::init(), vpPolygon::isInside(), vpMath::lineFitting(), vpRect::moveCenter(), vpHomography::project(), vpHomography::projection(), vpDot2::searchDotsInArea(), vpRect::set(), vpRect::set(), vpRect::setBottomRight(), vpRect::setTopLeft(), vpRect::vpRect(), vpTemplateTrackerTriangle::vpTemplateTrackerTriangle(), and vpCalibration::writeData().
|
inline |
Gets the point coordinate corresponding to the
axes in the frame (u,v).
Definition at line 147 of file vpImagePoint.h.
Referenced by vpMeEllipse::computeAngleOnEllipse(), vpImageCircle::computeAngularCoverageInRoI(), vpObjectCentricRenderer::computeBoundingBox(), vpPose::computePlanarObjectPoseFromRGBD(), vpPose::computePlanarObjectPoseFromRGBD(), vpCalibration::computeStdDeviation(), vpCalibration::computeStdDeviation_dist(), vpMeEllipse::computeTheta(), vpPixelMeterConversion::convertPoint(), vpDot2::defineDots(), vpCalibration::displayData(), vpDisplayGTK::displayRectangle(), vpDisplayOpenCV::displayRectangle(), vpDisplayX::displayRectangle(), vpImageDraw::drawEllipse(), vpImageDraw::drawEllipse(), vpImageDraw::drawLine(), vpImageDraw::drawLine(), vpDisplayWin32::flushDisplayROI(), vpDot2::getDistance(), vpTemplateTrackerTriangle::init(), vpPolygon::isInside(), vpMath::lineFitting(), vpRect::moveCenter(), vpHomography::project(), vpHomography::projection(), vpDot2::searchDotsInArea(), vpRect::set(), vpRect::set(), vpRect::setBottomRight(), vpRect::setTopLeft(), vpRect::vpRect(), vpTemplateTrackerTriangle::vpTemplateTrackerTriangle(), and vpCalibration::writeData().
|
static |
Computes and returns the bounding box.
| ipVec | : Vector of input image points. |
Definition at line 466 of file vpImagePoint.cpp.
| BEGIN_VISP_NAMESPACE bool vpImagePoint::inRectangle | ( | const vpRect & | rect | ) | const |
Check if an image point belongs to a rectangle.
| rect | : the rectangle. |
Definition at line 50 of file vpImagePoint.cpp.
References vpRect::getBottom(), vpRect::getLeft(), vpRect::getRight(), and vpRect::getTop().
Referenced by vpPlot::navigate().
|
inline |
Test if the image point belongs to a segment represented by two image points.
| [in] | start | : Segment start image point. |
| [in] | end | : Segment end image point. |
To see how to use this function, a code snippet is given in nextInSegment().
Definition at line 162 of file vpImagePoint.h.
References get_i(), get_j(), and vpImagePoint().
|
inline |
Considering current image point, returns the next image point that belongs to the segment [start,end].
| [in] | start | : Segment start image point. |
| [in] | end | : Segment end image point. |
The following sample code shows how to use this function to find all the pixels that belong to the segment defined by 2 image points with coordinates [10,12] and [20,16]:
It produces the following output by printing all the pixels belonging to the segment:
Definition at line 220 of file vpImagePoint.h.
References get_i(), get_j(), and vpImagePoint().
|
inline |
| vpImagePoint & vpImagePoint::operator+= | ( | const vpImagePoint & | ip | ) |
Operator +=.
This operator can be used to compute the center of gravity of a set of image points.
Definition at line 86 of file vpImagePoint.cpp.
References vpImagePoint().
Referenced by operator+=.
|
inline |
| vpImagePoint & vpImagePoint::operator/= | ( | double | scale | ) |
Operator /=.
This operator can be used to compute the center of gravity of a set of image points.
Definition at line 122 of file vpImagePoint.cpp.
References vpImagePoint().
|
inlinenoexcept |
|
inline |
|
inline |
Sets the point coordinate corresponding to the
axes in the frame (i,j).
| ii | : The desired value for the coordinate along the |
Definition at line 298 of file vpImagePoint.h.
Referenced by vpObjectCentricRenderer::computeBoundingBox(), vpBSpline::computeCurveDers(), vpBSpline::computeCurveDers(), vpNurbs::computeCurveDersPoint(), vpBSpline::computeCurvePoint(), vpBSpline::computeCurvePoint(), vpNurbs::computeCurvePoint(), vpNurbs::computeCurvePoint(), vpDisplayGTK::displayArrow(), vpDisplayX::displayArrow(), vpDisplayGTK::displayCross(), vpDisplayX::displayCross(), vpMeLine::displayLine(), vpMeLine::displayLine(), vpMeLine::displayLine(), vpMeLine::displayLine(), vpMbtDistanceKltCylinder::displayPrimitive(), vpMbtDistanceKltCylinder::displayPrimitive(), vpMbtDistanceKltPoints::displayPrimitive(), vpMbtDistanceKltPoints::displayPrimitive(), vpDisplayWin32::displayRectangle(), vpImageDraw::drawArrow(), vpImageDraw::drawArrow(), vpImageDraw::drawCross(), vpImageDraw::drawCross(), vpMbtDistanceKltCylinder::getFeaturesForDisplay(), vpMbtDistanceKltPoints::getFeaturesForDisplay(), vpMeSite::getQueryList(), vpMeLine::intersection(), vpPolygon::isInside(), vpMeLine::project(), vpNurbs::removeCurveKnot(), vpMeLine::seekExtremities(), vpImageSimulator::setCameraPosition(), vpRectOriented::setPoints(), and vpMeSite::track().
|
inline |
Sets the point coordinates in the frame (i,j).
| ii | : The desired value for the coordinate along the |
| jj | : The desired value for the coordinate along the |
Definition at line 320 of file vpImagePoint.h.
Referenced by vpKeyPoint::compute3DForPointsInPolygons(), vpBSpline::computeCurveDers(), vpBSpline::computeCurveDers(), vpNurbs::computeCurveDersPoint(), vpNurbs::curveKnotIns(), vpFeatureDisplay::displayLine(), vpFeatureDisplay::displayLine(), vpKeyPoint::displayMatching(), vpKeyPoint::displayMatching(), vpImageSimulator::getImage(), vpImageSimulator::getImage(), vpImageSimulator::getImage(), vpImageSimulator::getImage(), vpImageSimulator::getImage(), vpImageSimulator::getImage(), vpImageSimulator::getImage(), vpImageSimulator::getImage(), vpBasicKeyPoint::getMatchedPoints(), vpImage< Type >::getMinMaxLoc(), vpMbtDistanceCylinder::getModelForDisplay(), vpMbtDistanceKltCylinder::getModelForDisplay(), vpBasicKeyPoint::getReferencePoint(), vpNurbs::globalCurveApprox(), vpNurbs::globalCurveInterp(), vpNurbs::globalCurveInterp(), vpMbtDistanceCylinder::initMovingEdge(), vpMeEllipse::leastSquareRobust(), vpMeEllipse::plugHoles(), vpMeLine::plugHoles(), vpMeLine::sample(), vpMeLine::seekExtremities(), vpMeNurbs::seekExtremities(), vpMbtDistanceKltCylinder::updateMask(), vpMbtDistanceKltPoints::updateMask(), vpMbtDistanceCylinder::updateMovingEdge(), and vpMeEllipse::updateTheta().
|
inline |
Sets the point coordinate corresponding to the
axes in the frame (i,j).
| jj | : The desired value for the coordinate along the |
Definition at line 309 of file vpImagePoint.h.
Referenced by vpObjectCentricRenderer::computeBoundingBox(), vpBSpline::computeCurveDers(), vpBSpline::computeCurveDers(), vpNurbs::computeCurveDersPoint(), vpBSpline::computeCurvePoint(), vpBSpline::computeCurvePoint(), vpNurbs::computeCurvePoint(), vpNurbs::computeCurvePoint(), vpDisplayGTK::displayArrow(), vpDisplayX::displayArrow(), vpDisplayGTK::displayCross(), vpDisplayX::displayCross(), vpMeLine::displayLine(), vpMeLine::displayLine(), vpMeLine::displayLine(), vpMeLine::displayLine(), vpMbtDistanceKltCylinder::displayPrimitive(), vpMbtDistanceKltCylinder::displayPrimitive(), vpMbtDistanceKltPoints::displayPrimitive(), vpMbtDistanceKltPoints::displayPrimitive(), vpDisplayWin32::displayRectangle(), vpImageDraw::drawArrow(), vpImageDraw::drawArrow(), vpImageDraw::drawCross(), vpImageDraw::drawCross(), VISP_NAMESPACE_NAME::findContours(), vpMbtDistanceKltCylinder::getFeaturesForDisplay(), vpMbtDistanceKltPoints::getFeaturesForDisplay(), vpMeSite::getQueryList(), vpMeLine::intersection(), vpPolygon::isInside(), vpMeLine::project(), vpNurbs::removeCurveKnot(), vpMeLine::seekExtremities(), vpImageSimulator::setCameraPosition(), and vpMeSite::track().
|
inline |
Sets the point coordinate corresponding to the
axes in the frame (u,v).
| u | : The desired value for the coordinate along the |
Definition at line 335 of file vpImagePoint.h.
Referenced by vpMeEllipse::computePointOnEllipse(), vpMeterPixelConversion::convertPoint(), vpKltOpencv::display(), vpKltOpencv::display(), vpKltOpencv::display(), vpKltOpencv::display(), vpCalibration::displayData(), vpCalibration::displayGrid(), vpRect::getBottomLeft(), vpRect::getBottomRight(), vpRect::getCenter(), vpDisplayWin32::getClick(), vpDisplayWin32::getClick(), vpDisplayWin32::getClickUp(), vpDisplayWin32::getPointerMotionEvent(), vpDisplayWin32::getPointerPosition(), vpRect::getTopLeft(), vpRect::getTopRight(), vpKeyPoint::matchPointAndDetect(), vpKeyPoint::matchPointAndDetect(), vpHomography::projection(), and vpCalibration::readData().
|
inline |
Sets the point coordinates in the frame (u,v).
| u | : The desired value for the coordinate along the |
| v | : The desired value for the coordinate along the |
Definition at line 357 of file vpImagePoint.h.
Referenced by vpMeEllipse::computePointOnEllipse(), vpDot2::defineDots(), vpImageDraw::drawEllipse(), vpImageDraw::drawEllipse(), vpTemplateTrackerZone::getCenter(), vpTemplateTrackerZone::getCenter(), vpTemplateTrackerTriangle::getCorners(), vpMeEllipse::leastSquareRobustCircle(), and vpMeEllipse::leastSquareRobustEllipse().
|
inline |
Sets the point coordinate corresponding to the
axes in the frame (u,v).
| v | : The desired value for the coordinate along the |
Definition at line 346 of file vpImagePoint.h.
Referenced by vpMeEllipse::computePointOnEllipse(), vpMeterPixelConversion::convertPoint(), vpKltOpencv::display(), vpKltOpencv::display(), vpKltOpencv::display(), vpKltOpencv::display(), vpCalibration::displayData(), vpRect::getBottomLeft(), vpRect::getBottomRight(), vpRect::getCenter(), vpDisplayWin32::getClick(), vpDisplayWin32::getClick(), vpDisplayWin32::getClickUp(), vpDisplayWin32::getPointerMotionEvent(), vpDisplayWin32::getPointerPosition(), vpRect::getTopLeft(), vpRect::getTopRight(), vpKeyPoint::matchPointAndDetect(), vpKeyPoint::matchPointAndDetect(), vpHomography::projection(), and vpCalibration::readData().
|
static |
Compute the distance ![]()
| iP1 | : First point |
| iP2 | : Second point |
Definition at line 494 of file vpImagePoint.cpp.
References get_i(), get_j(), vpMath::sqr(), and vpImagePoint().
Referenced by vpImageCircle::isInside(), vpMarkersMeasurements::likelihood(), vpMeNurbs::localReSample(), and vpMeNurbs::sample().
|
friend |
Returns true if ip1 and ip2 are different; otherwire returns true.
Definition at line 152 of file vpImagePoint.cpp.
References get_i(), get_j(), vpMath::maximum(), operator!=, and vpImagePoint().
Referenced by operator!=.
|
friend |
Returns a vpImagePoint with coordinates multiplied by a scale factor.
Definition at line 386 of file vpImagePoint.cpp.
References get_i(), get_j(), operator*, and vpImagePoint().
Referenced by operator*.
|
friend |
Returns a vpImagePoint which is the sum of
and
.
Definition at line 169 of file vpImagePoint.cpp.
References get_i(), get_j(), operator+, and vpImagePoint().
Referenced by operator+, operator+, operator+, and operator+.
|
friend |
Returns a vpImagePoint with an offset added to the two coordinates.
Definition at line 263 of file vpImagePoint.cpp.
References get_i(), get_j(), operator+, and vpImagePoint().
|
friend |
Returns a vpImagePoint with an offset added to the two coordinates.
Definition at line 207 of file vpImagePoint.cpp.
References get_i(), get_j(), operator+, and vpImagePoint().
|
friend |
Returns a vpImagePoint with an offset added to the two coordinates.
Definition at line 235 of file vpImagePoint.cpp.
References get_i(), get_j(), operator+, and vpImagePoint().
|
friend |
Returns a vpImagePoint which is the sum of
and
.
Definition at line 179 of file vpImagePoint.cpp.
References get_i(), get_j(), operator+=(), and vpImagePoint().
|
friend |
Returns a vpImagePoint which is the difference between
and
.
Definition at line 274 of file vpImagePoint.cpp.
References get_i(), get_j(), operator-, and vpImagePoint().
Referenced by operator-, operator-, operator-, and operator-.
|
friend |
Returns a vpImagePoint with an offset subtracted to the two coordinates.
Definition at line 358 of file vpImagePoint.cpp.
References get_i(), get_j(), operator-, and vpImagePoint().
|
friend |
Returns a vpImagePoint with an offset subtracted to the two coordinates.
Definition at line 302 of file vpImagePoint.cpp.
References get_i(), get_j(), operator-, and vpImagePoint().
|
friend |
Returns a vpImagePoint with an offset subtracted to the two coordinates.
Definition at line 330 of file vpImagePoint.cpp.
References get_i(), get_j(), operator-, and vpImagePoint().
|
friend |
Returns a vpImagePoint with coordinates divided by a scale factor.
Definition at line 414 of file vpImagePoint.cpp.
References get_i(), get_j(), operator/, and vpImagePoint().
Referenced by operator/.
|
friend |
Writes the image point coordinates ip to the stream os, and returns a reference to the stream. Writes the first coordinate along the i axis and then the second one along the j axis. The coordinates are separated by a comma.
The following code
produces the output:
Image point with coordinates: 10, 11.1
Definition at line 455 of file vpImagePoint.cpp.
References get_i(), get_j(), operator<<, and vpImagePoint().
Referenced by operator<<.
|
friend |
Returns true if ip1 and ip2 are equal; otherwire returns false.
Definition at line 134 of file vpImagePoint.cpp.
References get_i(), get_j(), vpMath::maximum(), operator==, and vpImagePoint().
Referenced by operator==.