16 #include <osg/StateAttribute>
33 const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY);
42 virtual void apply(osg::State& state)
const override;
45 virtual osg::Object*
cloneType()
const override;
47 virtual osg::Object*
clone(
const osg::CopyOp& copyop)
const override;
49 virtual bool isSameKindAs(
const osg::Object* obj)
const override;
53 virtual const char *
className()
const override;
55 virtual Type
getType()
const override;
57 virtual bool getModeUsage(osg::StateAttribute::ModeUsage& usage)
const override;
59 virtual int compare(
const StateAttribute& sa)
const override;
virtual bool getModeUsage(osg::StateAttribute::ModeUsage &usage) const override
virtual void apply(osg::State &state) const override
Apply the GLLights in the DtOsgLightManager.
virtual osg::Object * cloneType() const override
virtual ~DtLightManagerStateAttribute()
DTOR.
Contains makVrv::DtOsgLightManager class.
Contains makVrv::DtDe class.
virtual osg::Object * clone(const osg::CopyOp ©op) const override
virtual int compare(const StateAttribute &sa) const override
DtDe & myDe
Definition: DtLightManagerStateAttribute.h:69
virtual const char * className() const override
bool myEnabled
Definition: DtLightManagerStateAttribute.h:70
virtual bool isSameKindAs(const osg::Object *obj) const override
Contains DLL export macros.
virtual const char * libraryName() const override
DtLightManagerStateAttribute(DtDe &de, bool enabled)
CTOR.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
virtual Type getType() const override
static Type theStateAttributeType()
static accessor for the type of this state attribute this state attribute type is used by the type() ...
A group node which applies lights maintained in the DtOsgLightManager at the top of the render graph...
Definition: DtLightManagerStateAttribute.h:24