Visual Servoing Platform  version 3.6.1 under development (2024-11-21)
vpPanda3DLightableScene Class Reference

#include <visp3/ar/vpPanda3DLight.h>

+ Inheritance diagram for vpPanda3DLightableScene:

Public Member Functions

 vpPanda3DLightableScene ()
 
 vpPanda3DLightableScene (NodePath &scene)
 
void addLight (const vpPanda3DLight &light) VP_OVERRIDE
 

Protected Member Functions

void setLightableScene (NodePath &scene)
 

Detailed Description

Implementation of vpPanda3DLightable for a panda scene with a root node.

The root node should be specified with setLightableScene by an inheriting implementation.

Definition at line 243 of file vpPanda3DLight.h.

Constructor & Destructor Documentation

◆ vpPanda3DLightableScene() [1/2]

vpPanda3DLightableScene::vpPanda3DLightableScene ( )
inline

Definition at line 246 of file vpPanda3DLight.h.

◆ vpPanda3DLightableScene() [2/2]

vpPanda3DLightableScene::vpPanda3DLightableScene ( NodePath &  scene)
inline

Definition at line 249 of file vpPanda3DLight.h.

Member Function Documentation

◆ addLight()

void vpPanda3DLightableScene::addLight ( const vpPanda3DLight light)
inlinevirtual

Add a light to the scene. All of the objects in the scene will be lit.

Exceptions
ifthe scene is not setup (setLightableScene or constructor with NodePath has not been called)
Parameters
lightlight to add

Implements vpPanda3DLightable.

Definition at line 258 of file vpPanda3DLight.h.

References vpException::notInitialized.

◆ setLightableScene()

void vpPanda3DLightableScene::setLightableScene ( NodePath &  scene)
inlineprotected

Definition at line 266 of file vpPanda3DLight.h.

Referenced by vpPanda3DRGBRenderer::setupScene().