14 #include <osg/StateAttribute>
19 class DtOsgLightManager;
34 const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY);
50 virtual void apply(osg::State& state)
const override;
53 virtual osg::Object*
cloneType()
const override;
55 virtual osg::Object*
clone(
const osg::CopyOp& copyop)
const override;
57 virtual bool isSameKindAs(
const osg::Object* obj)
const override;
61 virtual const char *
className()
const override;
63 virtual Type
getType()
const override;
65 virtual bool getModeUsage(osg::StateAttribute::ModeUsage& usage)
const override;
67 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.
virtual osg::Object * clone(const osg::CopyOp ©op) const override
Apply the GLLights in the DtOsgLightManager.
DtOsgLightManager & myOsgLightManager
Definition: DtLightManagerStateAttribute.h:80
DtLightManagerStateAttribute()=delete
not allowed
virtual int compare(const StateAttribute &sa) const override
Apply the GLLights in the DtOsgLightManager.
DtDe & myDe
Definition: DtLightManagerStateAttribute.h:77
virtual const char * className() const override
Apply the GLLights in the DtOsgLightManager.
DtOsgLightManager receives LightSource nodes from the DtOsgCullVisitor, and collects them all here wh...
Definition: DtOsgLightManager.h:55
bool myEnabled
Definition: DtLightManagerStateAttribute.h:78
virtual bool isSameKindAs(const osg::Object *obj) const override
Apply the GLLights in the DtOsgLightManager.
DtLightManagerStateAttribute & operator=(const DtLightManagerStateAttribute &rhs)=delete
not allowed
Contains DLL export macros.
virtual const char * libraryName() const override
Apply the GLLights in the DtOsgLightManager.
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:76
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:25