VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions
makVrv::DtLightManagerStateAttribute Class Reference

A group node which applies lights maintained in the DtOsgLightManager at the top of the render graph. It is similar to a osg::Light, but embodies many lights.

Inheritance diagram for makVrv::DtLightManagerStateAttribute:
Inheritance graph
[legend]

Public Member Functions

 DtLightManagerStateAttribute (DtDe &de, bool enabled)
 
 DtLightManagerStateAttribute (const DtLightManagerStateAttribute &att, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 
virtual ~DtLightManagerStateAttribute ()
 
virtual void apply (osg::State &state) const override
 
virtual osg::Object * cloneType () const override
 
virtual osg::Object * clone (const osg::CopyOp &copyop) const override
 
virtual bool isSameKindAs (const osg::Object *obj) const override
 
virtual const charlibraryName () const override
 
virtual const charclassName () const override
 
virtual Type getType () const override
 
virtual bool getModeUsage (osg::StateAttribute::ModeUsage &usage) const override
 
virtual int compare (const StateAttribute &sa) const override
 

Static Public Member Functions

static Type theStateAttributeType ()
 

Protected Attributes

DtDemyDe
 
bool myEnabled
 
DtOsgLightManagermyOsgLightManager
 

Private Member Functions

 DtLightManagerStateAttribute ()=delete
 
DtLightManagerStateAttributeoperator= (const DtLightManagerStateAttribute &rhs)=delete
 

Constructor & Destructor Documentation

makVrv::DtLightManagerStateAttribute::DtLightManagerStateAttribute ( DtDe de,
bool  enabled 
)

CTOR.

makVrv::DtLightManagerStateAttribute::DtLightManagerStateAttribute ( const DtLightManagerStateAttribute att,
const osg::CopyOp &  copyop = osg::CopyOp::SHALLOW_COPY 
)

Copy constructor.

virtual makVrv::DtLightManagerStateAttribute::~DtLightManagerStateAttribute ( )
virtual

DTOR.

makVrv::DtLightManagerStateAttribute::DtLightManagerStateAttribute ( )
privatedelete

not allowed

Member Function Documentation

DtLightManagerStateAttribute& makVrv::DtLightManagerStateAttribute::operator= ( const DtLightManagerStateAttribute rhs)
privatedelete

not allowed

virtual void makVrv::DtLightManagerStateAttribute::apply ( osg::State &  state) const
overridevirtual

Apply the GLLights in the DtOsgLightManager.

virtual osg::Object* makVrv::DtLightManagerStateAttribute::cloneType ( ) const
overridevirtual

Apply the GLLights in the DtOsgLightManager.

virtual osg::Object* makVrv::DtLightManagerStateAttribute::clone ( const osg::CopyOp &  copyop) const
overridevirtual

Apply the GLLights in the DtOsgLightManager.

virtual bool makVrv::DtLightManagerStateAttribute::isSameKindAs ( const osg::Object *  obj) const
overridevirtual

Apply the GLLights in the DtOsgLightManager.

virtual const char* makVrv::DtLightManagerStateAttribute::libraryName ( ) const
overridevirtual

Apply the GLLights in the DtOsgLightManager.

virtual const char* makVrv::DtLightManagerStateAttribute::className ( ) const
overridevirtual

Apply the GLLights in the DtOsgLightManager.

virtual Type makVrv::DtLightManagerStateAttribute::getType ( ) const
overridevirtual

Apply the GLLights in the DtOsgLightManager.

virtual bool makVrv::DtLightManagerStateAttribute::getModeUsage ( osg::StateAttribute::ModeUsage &  usage) const
overridevirtual

Apply the GLLights in the DtOsgLightManager.

virtual int makVrv::DtLightManagerStateAttribute::compare ( const StateAttribute &  sa) const
overridevirtual

Apply the GLLights in the DtOsgLightManager.

static Type makVrv::DtLightManagerStateAttribute::theStateAttributeType ( )
static

static accessor for the type of this state attribute this state attribute type is used by the type() function and needs to be higher than the type for the DtCameraPointerStateAttribute since they are applied in Type order

Member Data Documentation

DtDe& makVrv::DtLightManagerStateAttribute::myDe
protected
bool makVrv::DtLightManagerStateAttribute::myEnabled
protected
DtOsgLightManager& makVrv::DtLightManagerStateAttribute::myOsgLightManager
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)