31 #ifndef VP_PANDA3D_RENDER_PARAMETERS_H
32 #define VP_PANDA3D_RENDER_PARAMETERS_H
34 #include <visp3/core/vpConfig.h>
36 #if defined(VISP_HAVE_PANDA3D)
37 #include <visp3/core/vpCameraParameters.h>
55 double clipNear,
double clipFar)
56 : m_cam(cam), m_height(h), m_width(w), m_clipNear(clipNear), m_clipFar(clipFar)
89 std::swap(nearV, farV);
119 void setupPandaCamera(Camera *camera);
123 unsigned int m_height, m_width;
124 double m_clipNear, m_clipFar;
Generic class defining intrinsic camera parameters.
@ perspectiveProjWithoutDistortion
Perspective projection without distortion model.
vpCameraParametersProjType get_projModel() const
error that can be emitted by ViSP classes.
@ badValue
Used to indicate that a value is not in the allowed range.
Rendering parameters for a panda3D simulation.
unsigned int getImageWidth() const
void setClippingDistance(double nearV, double farV)
Set the clipping distance. When a panda camera uses these render parameters, objects that are closer ...
void setCameraIntrinsics(const vpCameraParameters &cam)
set camera intrinsics. Only camera intrinsics for a lens without distortion are supported.
unsigned int getImageHeight() const
const vpCameraParameters & getCameraIntrinsics() const
Retrieve camera intrinsics.
vpPanda3DRenderParameters(const vpCameraParameters &cam, unsigned int h, unsigned int w, double clipNear, double clipFar)
double getFarClippingDistance() const
vpPanda3DRenderParameters()
double getNearClippingDistance() const
void setImageResolution(unsigned int height, unsigned int width)
Set the image resolution. When this object is given to a vpPanda3DBaseRenderer, this will be the reso...