VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
makVrv::DtIndirectGeometryGridNode Class Reference

parent node for all the indirect geometries within a

See Also
DtIndirectGeometryGrid DtIndirectGeometry objects are held by the
DtIndirectGeometryGrid object which the
DtIndirectGeometryGridNode gets them from for looping over and traversing them as needed.
Inheritance diagram for makVrv::DtIndirectGeometryGridNode:
Inheritance graph
[legend]

Public Member Functions

virtual const charclassName () const
 
virtual void accept (osg::NodeVisitor &nv) override
 
virtual void releaseGLObjects (osg::State *state) const
 
virtual void enableCellCullDebugging (bool val)
 
virtual bool enabledCellCullDebugging (void) const
 

Public Attributes

friend DtIndirectGeometryGridNodeCreator
 

Protected Member Functions

 DtIndirectGeometryGridNode (DtDe &de, DtIndirectGeometryGrid &grid)
 
virtual ~DtIndirectGeometryGridNode ()
 
virtual void addGeometry (DtIndirectGeometry *indirectGeometry, DtOsgCullVisitor *cullVisitor)
 
virtual void addDebugDrawable (osg::Drawable *drawable, DtOsgCullVisitor *cullVisitor)
 

Protected Attributes

DtIndirectGeometryGridmyGrid
 
DtDemyDe
 
bool myEnableCullVisualDebugging
 
bool myEnableCullLogging
 
double myLastUpdateTime
 

Static Protected Attributes

static const float theMaxLodDistance
 

Private Member Functions

 DtIndirectGeometryGridNode (const DtIndirectGeometryGridNode &other)=delete
 
DtIndirectGeometryGridNodeoperator= (const DtIndirectGeometryGridNode &other)=delete
 

Constructor & Destructor Documentation

makVrv::DtIndirectGeometryGridNode::DtIndirectGeometryGridNode ( DtDe de,
DtIndirectGeometryGrid grid 
)
protected

CTOR.

virtual makVrv::DtIndirectGeometryGridNode::~DtIndirectGeometryGridNode ( )
protectedvirtual

purposely protected

makVrv::DtIndirectGeometryGridNode::DtIndirectGeometryGridNode ( const DtIndirectGeometryGridNode other)
privatedelete

Copy Constructor not implemented – Copy Not Allowed.

Member Function Documentation

virtual const char* makVrv::DtIndirectGeometryGridNode::className ( ) const
inlinevirtual

needed by scene graph visualizer

DtIndirectGeometryGridNode& makVrv::DtIndirectGeometryGridNode::operator= ( const DtIndirectGeometryGridNode other)
privatedelete

Assignment Operator Not implemented – Assignment Not Allowed.

virtual void makVrv::DtIndirectGeometryGridNode::accept ( osg::NodeVisitor &  nv)
overridevirtual

inherited determines which cells (and hence indirect geometries) are visible in the cull visitor pass

virtual void makVrv::DtIndirectGeometryGridNode::releaseGLObjects ( osg::State *  state) const
virtual

cleanup the gl objects when the graphics context is destroyed

virtual void makVrv::DtIndirectGeometryGridNode::enableCellCullDebugging ( bool  val)
virtual

enable cull debugging? enable/disable should ideally be set just after creating grid node and not during run. Otherwise the debug boxes can get out of sync

virtual bool makVrv::DtIndirectGeometryGridNode::enabledCellCullDebugging ( void  ) const
virtual

cull debugging enabled??

virtual void makVrv::DtIndirectGeometryGridNode::addGeometry ( DtIndirectGeometry indirectGeometry,
DtOsgCullVisitor cullVisitor 
)
protectedvirtual

add an indirect geometry for rendering (call an accept on it)

virtual void makVrv::DtIndirectGeometryGridNode::addDebugDrawable ( osg::Drawable *  drawable,
DtOsgCullVisitor cullVisitor 
)
protectedvirtual

add a debug drawable for rendering (call an accept on it)

Member Data Documentation

friend makVrv::DtIndirectGeometryGridNode::DtIndirectGeometryGridNodeCreator
DtIndirectGeometryGrid& makVrv::DtIndirectGeometryGridNode::myGrid
protected

reference to the grid

DtDe& makVrv::DtIndirectGeometryGridNode::myDe
protected

reference to the DtDe

bool makVrv::DtIndirectGeometryGridNode::myEnableCullVisualDebugging
protected

are we debug rendering?

bool makVrv::DtIndirectGeometryGridNode::myEnableCullLogging
protected
double makVrv::DtIndirectGeometryGridNode::myLastUpdateTime
protected
const float makVrv::DtIndirectGeometryGridNode::theMaxLodDistance
staticprotected

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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)