44 #ifndef vpImageSimulator_h
45 #define vpImageSimulator_h
126 #include <visp/vpHomogeneousMatrix.h>
127 #include <visp/vpColVector.h>
128 #include <visp/vpTriangle.h>
129 #include <visp/vpRect.h>
130 #include <visp/vpImage.h>
131 #include <visp/vpCameraParameters.h>
132 #include <visp/vpPoint.h>
133 #ifdef VISP_BUILD_DEPRECATED_FUNCTIONS
134 # include <visp/vpList.h>
150 BILINEAR_INTERPOLATION
151 } vpInterpolationType;
159 vpInterpolationType interp;
166 double *normal_Cam_optim;
170 double visible_result;
178 double euclideanNorm_u,euclideanNorm_v;
183 double *vbase_u_optim;
184 double *vbase_v_optim;
187 double *Xinter_optim;
199 bool setBackgroundTexture;
218 void init(
const char* file_image,
const std::vector<vpPoint>& _X);
239 std::list<vpImageSimulator> &list,
242 std::list <vpImageSimulator> &list,
254 cleanPrevImage = clean;
265 setBackgroundTexture =
true;
269 #ifdef VISP_BUILD_DEPRECATED_FUNCTIONS
285 bool isVisible() {
return visible;};
289 bool getPixel(
const vpImagePoint &iP,
unsigned char &Ipixelplan);
292 unsigned char &Ipixelplan);
295 bool getPixelDepth(
const vpImagePoint &iP,
double &Zpixelplan);
296 bool getPixelVisibility(
const vpImagePoint &iP,
double &Zpixelplan);
306 void getRoi(
const unsigned int &Iwidth,
const unsigned int &Iheight,
Definition of the vpMatrix class.
The class provides a data structure for the homogeneous matrices as well as a set of operations on th...
Provide simple list management.
Class to define colors available for display functionnalities.
Class that defines a RGB 32 bits structure.
Class that defines what is a point.
Generic class defining intrinsic camera parameters.
Class which enables to project an image in the 3D space and get the view of a virtual camera...
void setInterpolationType(const vpInterpolationType interp)
VISP_EXPORT std::ostream & operator<<(std::ostream &os, const vpImagePoint &ip)
void setBackGroundTexture(const vpImage< unsigned char > &Iback)
Class that provides a data structure for the column vectors as well as a set of operations on these v...
void setCleanPreviousImage(const bool &clean, const vpColor &color=vpColor::white)
Defines a rectangle in the plane.
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
static const vpColor white