 |
OpendTect
6.6
|
Go to the documentation of this file.
15 #include "visbasemod.h"
41 void turnOn(
bool n) { ison_ = n; updateLights(); }
42 bool isOn()
const {
return ison_; }
77 osg::StateSet*,osg::StateAttribute*);
float ambient_
Definition: vislight.h:66
Definition: visannot.h:43
#define mExpClass(module)
Definition: commondefs.h:177
float diffuse_
Definition: vislight.h:67
Open Scene Graph.
Definition: visannot.h:29
bool isOn() const
Definition: vislight.h:42
void setDirection(float x, float y, float z)
void fillPar(IOPar &) const
static const char * sKeyIsOn()
void turnOn(bool n)
Definition: vislight.h:41
float direction(int dim) const
void applyAttribute(osg::StateSet *, osg::StateAttribute *)
static const char * sKeyLightNum()
bool usePar(const IOPar &)
static const char * sKeyAmbient()
Definition: visnodestate.h:27
osg::Light * light_
Definition: vislight.h:68
static const char * sKeyDirection()
bool ison_
Definition: vislight.h:65
Class for all lights. More options are available in osg, but only what we currently need is implement...
Definition: vislight.h:35
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
static const char * sKeyDiffuse()
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021