VR-Forces 5.0.2 Developer's Guide
 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.

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

Classes

struct  CallbackMatch
 
struct  PriorityDrawCallback
 
struct  PriorityDrawCallbackComparator
 
class  VrvPostDrawCallback
 

Public Types

enum  CallbackPriority { PriorityHighest = 0, PriorityNormal = 5, PriorityLowest = 10 }
 
typedef std::list
< PriorityDrawCallback
CallbackQueue
 

Public Member Functions

 DtCameraNode ()
 
 META_Node (vrvOsg, DtCameraNode)
 
 DtCameraNode (const DtCameraNode &camera, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 
 DtCameraNode (const osg::Camera &camera, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 
virtual void addPostDrawCallback (osg::Camera::DrawCallback *callback, unsigned int priority=PriorityNormal)
 
virtual void removePostDrawCallback (osg::Camera::DrawCallback *callback)
 
virtual bool containsPostDrawCallback (osg::Camera::DrawCallback *callback)
 
virtual void setPostDrawCallback (osg::Camera::DrawCallback *cb)
 
virtual void releaseGLObjects (osg::State *state=0) const
 
CallbackQueue getCallbackQueue ()
 
void setCallbackQueue (const CallbackQueue &cbq)
 

Protected Member Functions

virtual ~DtCameraNode ()
 

Protected Attributes

CallbackQueue myCallbackQueue
 
bool myEnableDebugging
 
DtGlDebuggermyGLDebugger
 

Friends

class VrvPostDrawCallback
 
struct PriorityDrawCallbackComparator
 
struct CallbackMatch
 

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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)