43 #include <visp3/core/vpConfig.h>
44 #include <visp3/core/vpHomogeneousMatrix.h>
45 #include <visp3/core/vpMath.h>
47 #include <visp3/core/vpForwardProjection.h>
107 } vpLineCylinderType;
111 vpCylinder(
double oA,
double oB,
double oC,
double oX,
double oY,
double oZ,
double R);
116 double computeZ(
double x,
double y)
const;
119 unsigned int thickness = 1) VP_OVERRIDE;
121 unsigned int thickness = 1);
123 const
vpColor &color =
vpColor::green,
unsigned int thickness = 1) VP_OVERRIDE;
125 const
vpColor &color =
vpColor::green,
unsigned int thickness = 1);
134 double getRho1()
const {
return p[0]; }
158 double getA()
const {
return cP[0]; }
163 double getB()
const {
return cP[1]; }
168 double getC()
const {
return cP[2]; }
173 double getX()
const {
return cP[3]; }
178 double getY()
const {
return cP[4]; }
183 double getZ()
const {
return cP[5]; }
188 double getR()
const {
return cP[6]; }
190 void init() VP_OVERRIDE;
192 void projection() VP_OVERRIDE;
195 void setWorldCoordinates(const
vpColVector &oP) VP_OVERRIDE;
196 void setWorldCoordinates(
double oA,
double oB,
double oC,
double oX,
double oY,
double oZ,
double R);
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 a 3D cylinder in the object frame and allows forward projection of a 3D cylinder i...
Class that defines what is a generic geometric feature.
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.