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
Apply the GLLights in the DtOsgLightManager.
virtual void apply(osg::State &state) const override
Apply the GLLights in the DtOsgLightManager.
virtual osg::Object * cloneType() const override
Apply the GLLights in the DtOsgLightManager.
virtual ~DtLightManagerStateAttribute()
DTOR.
Contains makVrv::DtOsgLightManager class.
Contains makVrv::DtDe class.
virtual osg::Object * clone(const osg::CopyOp ©op) const override
Apply the GLLights in the DtOsgLightManager.
virtual int compare(const StateAttribute &sa) const override
Apply the GLLights in the DtOsgLightManager.
DtDe & myDe
Definition: DtLightManagerStateAttribute.h:69
virtual const char * className() const override
Apply the GLLights in the DtOsgLightManager.
bool myEnabled
Definition: DtLightManagerStateAttribute.h:70
virtual bool isSameKindAs(const osg::Object *obj) const override
Apply the GLLights in the DtOsgLightManager.
Contains DLL export macros.
virtual const char * libraryName() const override
Apply the GLLights in the DtOsgLightManager.
DtLightManagerStateAttribute(DtDe &de, bool enabled)
CTOR.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
virtual Type getType() const override
Apply the GLLights in the DtOsgLightManager.
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