VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
makVrv::DtOverlayDrawable Class Reference

The overlay drawable is an osg drawable which draws the overlays enabled on a channel, or optionally a specifically specified overlay. More...

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

List of all members.

Public Member Functions

 DtOverlayDrawable (DtOsgOverlayManager &overlayManager, DtChannel &channel)
void setOverlayToRender (DtOverlayRenderer *renderer)
 Set the overlay to render.
 DtOverlayDrawable (const DtOverlayDrawable &, const osg::CopyOp &copyop=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 &copyop) 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
DtOverlayRenderermyOverlayToRender
DtOsgOverlayManagermyOverlayManager
DtChannelmyChannel

Detailed Description

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.


Constructor & Destructor Documentation

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

Copy constructor using CopyOp to manage deep vs shallow copy.


Member Function Documentation

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.


Member Data Documentation

osg::ref_ptr<osg::StateSet> makVrv::DtOverlayDrawable::myCaptureSet [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)