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 | 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. The DtOverlayDrawable tells the DtOverlayRenderer when it's time to draw itself.

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

Public Member Functions

 DtOverlayDrawable (DtDe &de, DtOsgOverlayManager &overlayManager, DtChannel &channel)
 
 DtOverlayDrawable (const DtOverlayDrawable &, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 
virtual ~DtOverlayDrawable ()
 
 DtOverlayDrawable ()=delete
 
DtOverlayDrawableoperator= (const DtOverlayDrawable &other)=delete
 
virtual void setOverlayToRender (DtOverlayRendererInterface *renderer)
 
virtual osg::Object * cloneType () const override
 
virtual osg::Object * clone (const osg::CopyOp &copyop) const override
 
virtual void drawImplementation (osg::RenderInfo &renderInfo) const override
 
virtual void setProjectionCamera (osg::Camera *camera)
 

Protected Attributes

osg::Camera * myProjectionCamera
 
DtOverlayRendererInterfacemyOverlayToRender
 
DtOsgOverlayManagermyOverlayManager
 
DtChannelmyChannel
 
DtDemyDe
 

Constructor & Destructor Documentation

makVrv::DtOverlayDrawable::DtOverlayDrawable ( DtDe de,
DtOsgOverlayManager overlayManager,
DtChannel channel 
)

constructor

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

Copy constructor using CopyOp to manage deep vs shallow copy.

virtual makVrv::DtOverlayDrawable::~DtOverlayDrawable ( )
virtual

DTOR.

makVrv::DtOverlayDrawable::DtOverlayDrawable ( )
delete

Default Constructor not implemented.

Member Function Documentation

DtOverlayDrawable& makVrv::DtOverlayDrawable::operator= ( const DtOverlayDrawable other)
delete

Assignment Operator not implemented - Assignment not allowed.

virtual void makVrv::DtOverlayDrawable::setOverlayToRender ( DtOverlayRendererInterface renderer)
virtual

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
overridevirtual

osg::Drawable override

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

osg::Drawable override

virtual void makVrv::DtOverlayDrawable::drawImplementation ( osg::RenderInfo &  renderInfo) const
overridevirtual

osg::Drawable override

virtual void makVrv::DtOverlayDrawable::setProjectionCamera ( osg::Camera *  camera)
virtual

Adds a 3D projection callback to the camera.

Member Data Documentation

osg::Camera* makVrv::DtOverlayDrawable::myProjectionCamera
protected
DtOverlayRendererInterface* makVrv::DtOverlayDrawable::myOverlayToRender
protected
DtOsgOverlayManager& makVrv::DtOverlayDrawable::myOverlayManager
protected
DtChannel& makVrv::DtOverlayDrawable::myChannel
protected
DtDe& makVrv::DtOverlayDrawable::myDe
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)