Visual Servoing Platform
version 3.6.1 under development (2024-11-21)
|
#include <visp3/ar/vpPanda3DRenderParameters.h>
Public Member Functions | |
vpPanda3DRenderParameters () | |
vpPanda3DRenderParameters (const vpCameraParameters &cam, unsigned int h, unsigned int w, double clipNear, double clipFar) | |
const vpCameraParameters & | getCameraIntrinsics () const |
void | setCameraIntrinsics (const vpCameraParameters &cam) |
double | getNearClippingDistance () const |
double | getFarClippingDistance () const |
void | setClippingDistance (double nearV, double farV) |
unsigned int | getImageWidth () const |
unsigned int | getImageHeight () const |
void | setImageResolution (unsigned int height, unsigned int width) |
void | setupPandaCamera (Camera *camera) |
Rendering parameters for a panda3D simulation.
includes:
Definition at line 50 of file vpPanda3DRenderParameters.h.
|
inline |
Definition at line 53 of file vpPanda3DRenderParameters.h.
|
inline |
Definition at line 54 of file vpPanda3DRenderParameters.h.
|
inline |
Retrieve camera intrinsics.
Definition at line 64 of file vpPanda3DRenderParameters.h.
|
inline |
Definition at line 78 of file vpPanda3DRenderParameters.h.
|
inline |
Definition at line 96 of file vpPanda3DRenderParameters.h.
Referenced by vpPanda3DGeometryRenderer::getRender(), vpPanda3DPostProcessFilter::getRenderBasic(), vpPanda3DBaseRenderer::initFramework(), vpPanda3DRendererSet::initFramework(), vpPanda3DBaseRenderer::setRenderParameters(), vpPanda3DPostProcessFilter::setRenderParameters(), vpPanda3DGeometryRenderer::setupRenderTarget(), vpPanda3DPostProcessFilter::setupRenderTarget(), and vpPanda3DRGBRenderer::setupRenderTarget().
|
inline |
Definition at line 95 of file vpPanda3DRenderParameters.h.
Referenced by vpPanda3DGeometryRenderer::getRender(), vpPanda3DPostProcessFilter::getRenderBasic(), vpPanda3DBaseRenderer::initFramework(), vpPanda3DRendererSet::initFramework(), vpPanda3DBaseRenderer::setRenderParameters(), vpPanda3DPostProcessFilter::setRenderParameters(), vpPanda3DGeometryRenderer::setupRenderTarget(), vpPanda3DPostProcessFilter::setupRenderTarget(), and vpPanda3DRGBRenderer::setupRenderTarget().
|
inline |
Definition at line 77 of file vpPanda3DRenderParameters.h.
|
inline |
set camera intrinsics. Only camera intrinsics for a lens without distortion are supported.
if | camera intrinsics have a distortion model. |
Definition at line 69 of file vpPanda3DRenderParameters.h.
References vpException::badValue, vpCameraParameters::get_projModel(), and vpCameraParameters::perspectiveProjWithoutDistortion.
|
inline |
Set the clipping distance. When a panda camera uses these render parameters, objects that are closer than "near" or further than "far" will be clipped.
nearV | near clipping distance |
farV | far clipping distance |
Definition at line 86 of file vpPanda3DRenderParameters.h.
|
inline |
Set the image resolution. When this object is given to a vpPanda3DBaseRenderer, this will be the resolution of the renderer's output images.
height | vertical image resolution |
width | horizontal image resolution |
Definition at line 106 of file vpPanda3DRenderParameters.h.
BEGIN_VISP_NAMESPACE void vpPanda3DRenderParameters::setupPandaCamera | ( | Camera * | camera | ) |
Update a Panda3D camera object to use this objects's parameters.
camera | the camera for which to update the rendering parameters |
if | getImageWidth() or getImageHeight() are equal to 0. |
Definition at line 39 of file vpPanda3DRenderParameters.cpp.
References vpException::dimensionError, vpCameraParameters::get_px(), vpCameraParameters::get_py(), vpCameraParameters::get_u0(), and vpCameraParameters::get_v0().
Referenced by vpPanda3DBaseRenderer::setRenderParameters(), and vpPanda3DBaseRenderer::setupCamera().