#ifndef ROOT_TGLLightSet_H
#define ROOT_TGLLightSet_H
#include <TObject.h>
class TGLBoundingBox;
class TGLCamera;
class TGLLightSet : public TObject
{
public:
enum ELight { kLightFront = 0x0001,
kLightTop = 0x0002,
kLightBottom = 0x0004,
kLightLeft = 0x0008,
kLightRight = 0x0010,
kLightMask = 0x001f,
kLightSpecular = 0x0100 };
private:
TGLLightSet(const TGLLightSet&);
TGLLightSet& operator=(const TGLLightSet&);
protected:
UInt_t fLightState;
Bool_t fUseSpecular;
public:
TGLLightSet();
virtual ~TGLLightSet() {}
void ToggleLight(ELight light);
void SetLight(ELight light, Bool_t on);
UInt_t GetLightState() { return fLightState; }
Bool_t GetUseSpecular() const { return fUseSpecular; }
void SetUseSpecular(Bool_t s) { fUseSpecular = s; }
void StdSetupLights(const TGLBoundingBox& bbox, const TGLCamera& camera,
Bool_t debug=kFALSE);
ClassDef(TGLLightSet, 0)
};
#endif
Last change: Wed Jun 25 08:41:00 2008
Last generated: 2008-06-25 08:41
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.