![]() |
VR-Forces 4.0.4 Class Documentation
|
The overlay drawable is an osg drawable which draws the overlays enabled on a channel, or optionally a specifically specified overlay. More...

Public Member Functions | |
| DtOverlayDrawable (DtOsgOverlayManager &overlayManager, DtChannel &channel) | |
| void | setOverlayToRender (DtOverlayRenderer *renderer) |
| Set the overlay to render. | |
| DtOverlayDrawable (const DtOverlayDrawable &, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| Copy constructor using CopyOp to manage deep vs shallow copy. | |
| virtual osg::Object * | cloneType () const |
| clone an object of the same type as the node. | |
| virtual osg::Object * | clone (const osg::CopyOp ©op) const |
| return a clone of a node, with Object* return type. | |
| virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
| void | setProjectionCamera (osg::Camera *camera) |
| Adds a 3D projection callback to the camera. | |
Protected Attributes | |
| osg::ref_ptr< osg::StateSet > | myCaptureSet |
| osg::Camera * | myProjectionCamera |
| DtOverlayRenderer * | myOverlayToRender |
| DtOsgOverlayManager & | myOverlayManager |
| DtChannel & | myChannel |
The overlay drawable is an osg drawable which draws the overlays enabled on a channel, or optionally a specifically specified overlay.
The DtOverlayDrawable tells the DtOverlayRenderer when it's time to draw itself.
| makVrv::DtOverlayDrawable::DtOverlayDrawable | ( | DtOsgOverlayManager & | overlayManager, |
| DtChannel & | channel | ||
| ) |
| makVrv::DtOverlayDrawable::DtOverlayDrawable | ( | const DtOverlayDrawable & | , |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
| ) |
Copy constructor using CopyOp to manage deep vs shallow copy.
| void makVrv::DtOverlayDrawable::setOverlayToRender | ( | DtOverlayRenderer * | renderer | ) |
Set the overlay to render.
This overrides the default rendering of overlays by model set. Also optionally whether to clear the depth buffer first.
| virtual osg::Object* makVrv::DtOverlayDrawable::cloneType | ( | ) | const [inline, virtual] |
clone an object of the same type as the node.
| virtual osg::Object* makVrv::DtOverlayDrawable::clone | ( | const osg::CopyOp & | copyop | ) | const [inline, virtual] |
return a clone of a node, with Object* return type.
| virtual void makVrv::DtOverlayDrawable::drawImplementation | ( | osg::RenderInfo & | renderInfo | ) | const [virtual] |
| void makVrv::DtOverlayDrawable::setProjectionCamera | ( | osg::Camera * | camera | ) |
Adds a 3D projection callback to the camera.
osg::ref_ptr<osg::StateSet> makVrv::DtOverlayDrawable::myCaptureSet [protected] |
osg::Camera* makVrv::DtOverlayDrawable::myProjectionCamera [protected] |
DtChannel& makVrv::DtOverlayDrawable::myChannel [protected] |