VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions | 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...
 
typedef std::list
< PriorityDrawCallback
CallbackQueue
 

Public Member Functions

 DtCameraNode ()
 CTOR. More...
 
 META_Node (vrvOsg, DtCameraNode)
 Define standard OSG node functions. More...
 
 DtCameraNode (const DtCameraNode &camera, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 Copy constructor with optional deep or shallow copy. More...
 
 DtCameraNode (const osg::Camera &camera, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 Copy constructor with optional deep or shallow copy. More...
 
virtual void addPostDrawCallback (osg::Camera::DrawCallback *callback, unsigned int priority=PriorityNormal)
 Add a post-draw callback at the specified priority level. More...
 
virtual void removePostDrawCallback (osg::Camera::DrawCallback *callback)
 Remove a callback from the post draw queue. More...
 
virtual bool containsPostDrawCallback (osg::Camera::DrawCallback *callback)
 check to see if a callback is in the list of post draw callbacks. More...
 
virtual void setPostDrawCallback (osg::Camera::DrawCallback *cb)
 Throw an exception warning that this method should not be used. More...
 
virtual void releaseGLObjects (osg::State *state=0) const
 Release OpenGL resources for specified graphics context, or all contexts of argument is 0. More...
 
CallbackQueue getCallbackQueue ()
 Getter for callback queue so the rtt camera can get it from the scene camera. More...
 
void setCallbackQueue (const CallbackQueue &cbq)
 Setter for callback queue so the rtt camera can get it from the scene camera. More...
 

Protected Member Functions

virtual ~DtCameraNode ()
 DTOR. More...
 

Protected Attributes

CallbackQueue myCallbackQueue
 
bool myEnableDebugging
 
DtGlDebuggermyGLDebugger
 

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.

virtual makVrv::DtCameraNode::~DtCameraNode ( )
protectedvirtual

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.

virtual bool makVrv::DtCameraNode::containsPostDrawCallback ( osg::Camera::DrawCallback callback)
virtual

check to see if a callback is in the list of post draw callbacks.

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

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

virtual void makVrv::DtCameraNode::releaseGLObjects ( osg::State *  state = 0) const
virtual

Release OpenGL resources for specified graphics context, or all contexts of argument is 0.

CallbackQueue makVrv::DtCameraNode::getCallbackQueue ( )

Getter for callback queue so the rtt camera can get it from the scene camera.

void makVrv::DtCameraNode::setCallbackQueue ( const CallbackQueue cbq)

Setter for callback queue so the rtt camera can get it from the scene camera.

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
bool makVrv::DtCameraNode::myEnableDebugging
protected
DtGlDebugger* makVrv::DtCameraNode::myGLDebugger
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)