#include <coVRLighting.h>
◆ anonymous enum
◆ ~coVRLighting()
virtual opencover::coVRLighting::~coVRLighting |
( |
| ) |
|
|
virtual |
◆ addLight()
int opencover::coVRLighting::addLight |
( |
osg::LightSource * |
ls, |
|
|
osg::Group * |
parent = NULL , |
|
|
osg::Node * |
root = NULL , |
|
|
const char * |
menuName = NULL |
|
) |
| |
◆ config()
void opencover::coVRLighting::config |
( |
| ) |
|
◆ createLightSource()
osg::LightSource * opencover::coVRLighting::createLightSource |
( |
const char * |
configName, |
|
|
const LightDef & |
defValue, |
|
|
bool |
force |
|
) |
| |
Create a light source
- Parameters
-
configName | Look for Cover<configName> section in covise.config |
defValue | Default values |
force | Create even when no values in covise.config @retun NULL if section missing and no 'force', pointer to Light otherwise |
◆ getShadowLight()
osg::LightSource * opencover::coVRLighting::getShadowLight |
( |
| ) |
|
|
inline |
◆ init()
void opencover::coVRLighting::init |
( |
| ) |
|
◆ initLampLight()
void opencover::coVRLighting::initLampLight |
( |
| ) |
|
◆ initMenu()
void opencover::coVRLighting::initMenu |
( |
| ) |
|
◆ initOtherLight()
void opencover::coVRLighting::initOtherLight |
( |
| ) |
|
◆ initSunLight()
void opencover::coVRLighting::initSunLight |
( |
| ) |
|
◆ instance()
◆ isLightEnabled()
bool opencover::coVRLighting::isLightEnabled |
( |
size_t |
ln | ) |
const |
◆ removeLight()
osg::LightSource * opencover::coVRLighting::removeLight |
( |
osg::LightSource * |
ls | ) |
|
◆ setShadowLight()
void opencover::coVRLighting::setShadowLight |
( |
osg::LightSource * |
ls | ) |
|
◆ switchLight()
osg::LightSource * opencover::coVRLighting::switchLight |
( |
osg::LightSource * |
ls, |
|
|
bool |
on, |
|
|
osg::Node * |
limitToBranch = NULL |
|
) |
| |
◆ switchOtherLights()
void opencover::coVRLighting::switchOtherLights |
( |
bool |
on | ) |
|
◆ update()
void opencover::coVRLighting::update |
( |
| ) |
|
◆ headlight
osg::ref_ptr<osg::LightSource> opencover::coVRLighting::headlight |
◆ headlightSpec
osg::Vec4 opencover::coVRLighting::headlightSpec |
◆ headlightState
bool opencover::coVRLighting::headlightState |
◆ light1
osg::ref_ptr<osg::LightSource> opencover::coVRLighting::light1 |
◆ light1Spec
osg::Vec4 opencover::coVRLighting::light1Spec |
◆ light2
osg::ref_ptr<osg::LightSource> opencover::coVRLighting::light2 |
◆ light2Spec
osg::Vec4 opencover::coVRLighting::light2Spec |
◆ lightingMenu_
ui::Menu* opencover::coVRLighting::lightingMenu_ = nullptr |
◆ lightList
vector<Light> opencover::coVRLighting::lightList |
multimap<string, osg::LightSource *> opencover::coVRLighting::m |
◆ otherlightsState
bool opencover::coVRLighting::otherlightsState |
◆ shadowlight
osg::ref_ptr<osg::LightSource> opencover::coVRLighting::shadowlight |
◆ specularlightStrength
float opencover::coVRLighting::specularlightStrength = 0.f |
◆ spotlight
osg::ref_ptr<osg::LightSource> opencover::coVRLighting::spotlight |
◆ spotlightSpec
osg::Vec4 opencover::coVRLighting::spotlightSpec |
◆ spotlightState
bool opencover::coVRLighting::spotlightState |
◆ strengthSpecularlight_
ui::Slider* opencover::coVRLighting::strengthSpecularlight_ |
◆ switchHeadlight_
ui::Button* opencover::coVRLighting::switchHeadlight_ |
◆ switchOtherlights_
ui::Button* opencover::coVRLighting::switchOtherlights_ |
◆ switchSpotlight_
ui::Button* opencover::coVRLighting::switchSpotlight_ |
The documentation for this class was generated from the following file: