VR-Forces 4.1 Class Documentation
List of all members | Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends
makVrv::DtCameraNode Class Reference

VR-Vantage specific subclass of OSG camera. More...

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

Classes

struct  CallbackMatch
struct  PriorityDrawCallback
 Wrapper to add a priority value to a draw callback. More...
struct  PriorityDrawCallbackComparator
class  VrvPostDrawCallback
 VR-Vantage's post draw callback. More...

Public Types

enum  CallbackPriority { PriorityHighest = 0, PriorityNormal = 5, PriorityLowest = 10 }
 Post draw callback default priority levels. More...

Public Member Functions

 DtCameraNode ()
 CTOR.
 META_Node (vrvOsg, DtCameraNode)
 Define standard OSG node functions.
 DtCameraNode (const DtCameraNode &camera, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 Copy constructor with optional deep or shallow copy.
 DtCameraNode (const osg::Camera &camera, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 Copy constructor with optional deep or shallow copy.
virtual void addPostDrawCallback (osg::Camera::DrawCallback *callback, unsigned int priority=PriorityNormal)
 Add a post-draw callback at the specified priority level.
virtual void removePostDrawCallback (osg::Camera::DrawCallback *callback)
 Remove a callback from the post draw queue.
void setPostDrawCallback (osg::Camera::DrawCallback *cb)
 Throw an exception warning that this method should not be used.

Protected Types

typedef std::vector
< PriorityDrawCallback
CallbackQueue

Protected Member Functions

 ~DtCameraNode ()
 DTOR.

Protected Attributes

CallbackQueue myCallbackQueue

Friends

class VrvPostDrawCallback
struct PriorityDrawCallbackComparator
struct CallbackMatch

Detailed Description

VR-Vantage specific subclass of OSG camera.

Member Typedef Documentation

Member Enumeration Documentation

Post draw callback default priority levels.

Enumerator:
PriorityHighest 
PriorityNormal 
PriorityLowest 

Constructor & Destructor Documentation

makVrv::DtCameraNode::DtCameraNode ( )

CTOR.

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

Copy constructor with optional deep or shallow copy.

makVrv::DtCameraNode::DtCameraNode ( const osg::Camera &  camera,
const osg::CopyOp &  copyop = osg::CopyOp::SHALLOW_COPY 
)

Copy constructor with optional deep or shallow copy.

makVrv::DtCameraNode::~DtCameraNode ( )
protected

DTOR.

Member Function Documentation

makVrv::DtCameraNode::META_Node ( vrvOsg  ,
DtCameraNode   
)

Define standard OSG node functions.

virtual void makVrv::DtCameraNode::addPostDrawCallback ( osg::Camera::DrawCallback *  callback,
unsigned int  priority = PriorityNormal 
)
virtual

Add a post-draw callback at the specified priority level.

Callbacks are executed in increasing order of priority (for example, a callback at level 1 runs before a callback at level 5).

virtual void makVrv::DtCameraNode::removePostDrawCallback ( osg::Camera::DrawCallback *  callback)
virtual

Remove a callback from the post draw queue.

void makVrv::DtCameraNode::setPostDrawCallback ( osg::Camera::DrawCallback *  cb)

Throw an exception warning that this method should not be used.

Friends And Related Function Documentation

friend class VrvPostDrawCallback
friend
friend struct PriorityDrawCallbackComparator
friend
friend struct CallbackMatch
friend

Member Data Documentation

CallbackQueue makVrv::DtCameraNode::myCallbackQueue
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)