44#include <visp3/core/vpColor.h>
45#include <visp3/core/vpForwardProjection.h>
46#include <visp3/core/vpMatrix.h>
82 vpPoint(
double oX,
double oY,
double oZ);
84 explicit vpPoint(
const std::vector<double> &
oP);
94 unsigned int thickness = 1);
96 unsigned int thickness = 1);
104 double get_X()
const;
105 double get_Y()
const;
106 double get_Z()
const;
107 double get_W()
const;
108 double get_oX()
const;
109 double get_oY()
const;
110 double get_oZ()
const;
111 double get_oW()
const;
112 double get_x()
const;
113 double get_y()
const;
114 double get_w()
const;
116 void getWorldCoordinates(
double &oX,
double &oY,
double &oZ);
119 void getWorldCoordinates(std::vector<double> &oP);
121 friend VISP_EXPORT std::ostream &operator<<(std::ostream &os,
const vpPoint &vpp);
122#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
135 void set_X(
double cX);
136 void set_Y(
double cY);
137 void set_Z(
double cZ);
138 void set_W(
double cW);
143 void set_x(
double x);
144 void set_y(
double y);
145 void set_w(
double w);
Generic class defining intrinsic camera parameters.
Implementation of column vector and the associated operations.
Class to define RGB colors available for display functionalities.
static const vpColor green
virtual void projection()=0
virtual vpForwardProjection * duplicate() const =0
virtual void setWorldCoordinates(const vpColVector &oP)=0
virtual void changeFrame(const vpHomogeneousMatrix &cMo, vpColVector &cP) const =0
virtual void display(const vpImage< unsigned char > &I, const vpCameraParameters &cam, const vpColor &color=vpColor::green, unsigned int thickness=1)=0
Implementation of an homogeneous matrix and operations on such kind of matrices.
Definition of the vpImage class member functions.
Class that defines a 3D point in the object frame and allows forward projection of a 3D point in the ...
void set_x(double x)
Set the point x coordinate in the image plane.
void set_W(double cW)
Set the point cW coordinate in the camera frame.
void set_oW(double oW)
Set the point oW coordinate in the object frame.
void set_oY(double oY)
Set the point oY coordinate in the object frame.
void set_X(double cX)
Set the point cX coordinate in the camera frame.
virtual ~vpPoint()
Destructor.
void set_Y(double cY)
Set the point cY coordinate in the camera frame.
void set_oZ(double oZ)
Set the point oZ coordinate in the object frame.
void set_Z(double cZ)
Set the point cZ coordinate in the camera frame.
void set_oX(double oX)
Set the point oX coordinate in the object frame.
vpPoint & operator=(const vpPoint &vpp)=default
vpPoint()
Basic constructor.
void set_y(double y)
Set the point y coordinate in the image plane.
void set_w(double w)
Set the point w coordinate in the image plane.
vpTracker & operator=(const vpTracker &tracker)
Copy operator.