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,
245 std::vector<vpColVector> get3DcornersTextureRectangle();
247 friend VISP_EXPORT std::ostream& operator<< (std::ostream &os,
const vpImageSimulator& );
258 cleanPrevImage = clean;
269 setBackgroundTexture =
true;
273 #ifdef VISP_BUILD_DEPRECATED_FUNCTIONS
289 bool isVisible() {
return visible;};
293 bool getPixel(
const vpImagePoint &iP,
unsigned char &Ipixelplan);
296 unsigned char &Ipixelplan);
299 bool getPixelDepth(
const vpImagePoint &iP,
double &Zpixelplan);
300 bool getPixelVisibility(
const vpImagePoint &iP,
double &Zpixelplan);
310 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.
void setInterpolationType(const vpInterpolationType interplt)
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 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