![]() |
VR-Forces 5.0.1 Developer's Guide
|
a state attribute which should be applied to every camera that needs lighting enabled so that the DtLightManagerStateAttribute can know which camera is the current camera. The member camera pointer should not be used except for being passed to the lighting update code.

Public Member Functions | |
| DtCameraPointerStateAttribute (const osg::Camera *camera) | |
| DtCameraPointerStateAttribute (const DtCameraPointerStateAttribute &att, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| virtual | ~DtCameraPointerStateAttribute () |
| virtual const osg::Camera * | camera () const |
| virtual void | apply (osg::State &state) const override |
| virtual osg::Object * | cloneType () const override |
| virtual osg::Object * | clone (const osg::CopyOp ©op) const override |
| virtual bool | isSameKindAs (const osg::Object *obj) const override |
| virtual const char * | libraryName () const override |
| virtual const char * | className () 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 | |
| const osg::Camera * | myCamera |
| makVrv::DtCameraPointerStateAttribute::DtCameraPointerStateAttribute | ( | const osg::Camera * | camera | ) |
CTOR.
| makVrv::DtCameraPointerStateAttribute::DtCameraPointerStateAttribute | ( | const DtCameraPointerStateAttribute & | att, |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
| ) |
Copy constructor.
|
virtual |
DTOR.
|
overridevirtual |
Does nothing since this state attribute is just for providing a camera pointer to the DtLightManagerStateAttribute.
|
overridevirtual |
Does nothing since this state attribute is just for providing a camera pointer to the DtLightManagerStateAttribute.
|
overridevirtual |
Does nothing since this state attribute is just for providing a camera pointer to the DtLightManagerStateAttribute.
|
overridevirtual |
Does nothing since this state attribute is just for providing a camera pointer to the DtLightManagerStateAttribute.
|
overridevirtual |
Does nothing since this state attribute is just for providing a camera pointer to the DtLightManagerStateAttribute.
|
overridevirtual |
Does nothing since this state attribute is just for providing a camera pointer to the DtLightManagerStateAttribute.
|
overridevirtual |
Does nothing since this state attribute is just for providing a camera pointer to the DtLightManagerStateAttribute.
|
overridevirtual |
Does nothing since this state attribute is just for providing a camera pointer to the DtLightManagerStateAttribute.
|
overridevirtual |
Does nothing since this state attribute is just for providing a camera pointer to the DtLightManagerStateAttribute.
|
virtual |
accessor for the camera that has this state attribute on it's state set
|
static |
static accessor for the type of this state attribute this state attribute type is used by the type() function and needs to be less than the type for the DtLightManagerStateAttribute since they are applied in Type order
|
protected |