![]() |
Visual Servoing Platform version 3.7.0
|
#include <vpPanda3DLight.h>
Public Member Functions | |
| vpPanda3DLightableScene () | |
| vpPanda3DLightableScene (NodePath &scene) | |
| virtual | ~vpPanda3DLightableScene ()=default |
| void | addLight (const vpPanda3DLight &light) VP_OVERRIDE |
Protected Member Functions | |
| void | setLightableScene (NodePath &scene) |
Implementation of vpPanda3DLightable for a panda scene with a root node.
The root node should be specified with setLightableScene by an inheriting implementation.
Tutorials
If you are interested in using Panda3D in Augmented Reality applications, you may have a look at:
Definition at line 291 of file vpPanda3DLight.h.
|
inline |
Definition at line 294 of file vpPanda3DLight.h.
|
inline |
Definition at line 297 of file vpPanda3DLight.h.
|
virtualdefault |
|
inlinevirtual |
Add a light to the scene. All of the objects in the scene will be lit.
| if | the scene is not setup (setLightableScene or constructor with NodePath has not been called) |
| light | light to add |
Implements vpPanda3DLightable.
Definition at line 308 of file vpPanda3DLight.h.
References vpException::notInitialized.
|
inlineprotected |
Definition at line 316 of file vpPanda3DLight.h.
Referenced by vpPanda3DRGBRenderer::setupScene().