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>
62 double clipNear,
double clipFar)
63 : m_cam(cam), m_height(h), m_width(w), m_clipNear(clipNear), m_clipFar(clipFar)
96 std::swap(nearV, farV);
126 void setupPandaCamera(Camera *camera);
130 unsigned int m_height, m_width;
131 double m_clipNear, m_clipFar;
Generic class defining intrinsic camera parameters.
@ perspectiveProjWithoutDistortion
Perspective projection without distortion model.
error that can be emitted by ViSP classes.
@ badValue
Used to indicate that a value is not in the allowed range.
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
vpPanda3DRenderParameters(const vpCameraParameters &cam, unsigned int h, unsigned int w, double clipNear, double clipFar)
double getFarClippingDistance() const
const vpCameraParameters & getCameraIntrinsics() const
Retrieve camera intrinsics.
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...