#include <coVRLighting.h>
virtual opencover::coVRLighting::~coVRLighting |
( |
| ) |
|
|
virtual |
int opencover::coVRLighting::addLight |
( |
osg::LightSource * |
ls, |
|
|
osg::Group * |
parent = NULL , |
|
|
osg::Node * |
root = NULL , |
|
|
const char * |
menuName = NULL |
|
) |
| |
void opencover::coVRLighting::config |
( |
| ) |
|
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 NULL if section missing and no 'force', pointer to Light otherwise |
osg::LightSource* opencover::coVRLighting::getShadowLight |
( |
| ) |
|
|
inline |
void opencover::coVRLighting::init |
( |
| ) |
|
void opencover::coVRLighting::initLampLight |
( |
| ) |
|
void opencover::coVRLighting::initMenu |
( |
| ) |
|
void opencover::coVRLighting::initOtherLight |
( |
| ) |
|
void opencover::coVRLighting::initSunLight |
( |
| ) |
|
osg::LightSource* opencover::coVRLighting::removeLight |
( |
osg::LightSource * |
ls | ) |
|
void opencover::coVRLighting::setShadowLight |
( |
osg::LightSource * |
ls | ) |
|
osg::LightSource* opencover::coVRLighting::switchLight |
( |
osg::LightSource * |
ls, |
|
|
bool |
on, |
|
|
osg::Node * |
limitToBranch = NULL |
|
) |
| |
void opencover::coVRLighting::switchOtherLights |
( |
bool |
on | ) |
|
void opencover::coVRLighting::update |
( |
| ) |
|
osg::ref_ptr<osg::LightSource> opencover::coVRLighting::headlight |
osg::Vec4 opencover::coVRLighting::headlightSpec |
bool opencover::coVRLighting::headlightState |
osg::ref_ptr<osg::LightSource> opencover::coVRLighting::light1 |
osg::Vec4 opencover::coVRLighting::light1Spec |
osg::ref_ptr<osg::LightSource> opencover::coVRLighting::light2 |
osg::Vec4 opencover::coVRLighting::light2Spec |
ui::Menu* opencover::coVRLighting::lightingMenu_ = nullptr |
vector<Light> opencover::coVRLighting::lightList |
multimap<string, osg::LightSource *> opencover::coVRLighting::m |
bool opencover::coVRLighting::otherlightsState |
osg::ref_ptr<osg::LightSource> opencover::coVRLighting::shadowlight |
bool opencover::coVRLighting::specularlightState |
osg::ref_ptr<osg::LightSource> opencover::coVRLighting::spotlight |
osg::Vec4 opencover::coVRLighting::spotlightSpec |
bool opencover::coVRLighting::spotlightState |
ui::Button* opencover::coVRLighting::switchHeadlight_ |
ui::Button* opencover::coVRLighting::switchOtherlights_ |
ui::Button* opencover::coVRLighting::switchSpecularlight_ |
ui::Button* opencover::coVRLighting::switchSpotlight_ |
The documentation for this class was generated from the following file: