12 #ifndef ROOT_TGLLightSet_H 13 #define ROOT_TGLLightSet_H
Abstract base camera class - concrete classes for orthographic and perspective cameras derive from it...
void SetLight(ELight light, Bool_t on)
Set a light on/off.
void ToggleLight(ELight light)
Toggle light on/off.
Float_t GetSpecularPower() const
Encapsulates a set of lights for OpenGL.
TGLLightSet & operator=(const TGLLightSet &)
Float_t fSidePower
power of the front lamp
#define ClassDef(name, id)
Float_t GetFrontPower() const
void SetSpecularPower(Float_t p)
Bool_t fUseSpecular
light states (on/off) mask
Float_t GetSidePower() const
void SetUseSpecular(Bool_t s)
static constexpr double s
void SetFrontPower(Float_t p)
Mother of all ROOT objects.
Concrete class describing an orientated (free) or axis aligned box of 8 vertices. ...
Bool_t GetUseSpecular() const
TGLLightSet()
power of specular lamp
void SetSidePower(Float_t p)
Float_t fSpecularPower
power of the side lamps
void StdSetupLights(const TGLBoundingBox &bbox, const TGLCamera &camera, Bool_t debug=kFALSE)
Setup lights for current given bounding box and camera.