VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | 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]

Public Member Functions

 DtOverlayDrawable (DtOsgOverlayManager &overlayManager, DtChannel &channel, bool usingReverseZBuffer)
 
void setOverlayToRender (DtOverlayRenderer *renderer)
 Set the overlay to render. More...
 
 DtOverlayDrawable (const DtOverlayDrawable &, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 Copy constructor using CopyOp to manage deep vs shallow copy. More...
 
virtual osg::Object * cloneType () const
 clone an object of the same type as the node. More...
 
virtual osg::Object * clone (const osg::CopyOp &copyop) const
 return a clone of a node, with Object* return type. More...
 
virtual void drawImplementation (osg::RenderInfo &renderInfo) const
 
void setProjectionCamera (osg::Camera *camera)
 Adds a 3D projection callback to the camera. More...
 

Protected Attributes

osg::Camera * myProjectionCamera
 
DtOverlayRenderermyOverlayToRender
 
DtOsgOverlayManagermyOverlayManager
 
DtChannelmyChannel
 
bool myUsingReverseZBuffer
 

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 ( DtOsgOverlayManager overlayManager,
DtChannel channel,
bool  usingReverseZBuffer 
)
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

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
inlinevirtual

clone an object of the same type as the node.

virtual osg::Object* makVrv::DtOverlayDrawable::clone ( const osg::CopyOp &  copyop) const
inlinevirtual

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::Camera* makVrv::DtOverlayDrawable::myProjectionCamera
protected
DtOverlayRenderer* makVrv::DtOverlayDrawable::myOverlayToRender
protected
DtOsgOverlayManager& makVrv::DtOverlayDrawable::myOverlayManager
protected
DtChannel& makVrv::DtOverlayDrawable::myChannel
protected
bool makVrv::DtOverlayDrawable::myUsingReverseZBuffer
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)