42 #include <visp3/core/vpConfig.h>
43 #include <visp3/core/vpHomogeneousMatrix.h>
44 #include <visp3/core/vpMath.h>
47 #include <visp3/core/vpForwardProjection.h>
84 vpSphere(
double oX,
double oY,
double oZ,
double R);
90 unsigned int thickness = 1) VP_OVERRIDE;
95 unsigned int thickness = 1);
101 double get_x()
const {
return p[0]; }
102 double get_y()
const {
return p[1]; }
104 double get_n20()
const {
const unsigned int index_2 = 2;
return p[index_2]; }
105 double get_n11()
const {
const unsigned int index_3 = 3;
return p[index_3]; }
106 double get_n02()
const {
const unsigned int index_4 = 4;
return p[index_4]; }
108 double getX()
const {
const unsigned int index_0 = 0;
return cP[index_0]; }
109 double getY()
const {
const unsigned int index_1 = 1;
return cP[index_1]; }
110 double getZ()
const {
const unsigned int index_2 = 2;
return cP[index_2]; }
111 double getR()
const {
const unsigned int index_3 = 3;
return cP[index_3]; }
116 void setWorldCoordinates(const
vpColVector &oP) VP_OVERRIDE;
118 void setWorldCoordinates(
double oX,
double oY,
double oZ,
double R);
121 #if defined(VISP_BUILD_DEPRECATED_FUNCTIONS)
132 VP_DEPRECATED
double get_mu20()
const {
const unsigned int index_2 = 2;
return p[index_2]; }
139 VP_DEPRECATED
double get_mu11()
const {
const unsigned int index_3 = 3;
return p[index_3]; }
146 VP_DEPRECATED
double get_mu02()
const {
const unsigned int index_4 = 4;
return p[index_4]; }
150 void init() VP_OVERRIDE;
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
Class that defines what is a generic geometric feature.
virtual void projection()=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
virtual vpForwardProjection * duplicate() const =0
Implementation of an homogeneous matrix and operations on such kind of matrices.
Class that defines a 3D sphere in the object frame and allows forward projection of a 3D sphere in th...