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 | Public Attributes | Protected Member Functions | 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 char * className () 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
 
virtual void setMaxLodDistance (double dist)
 
const DtIndirectGeometryGrid & grid () 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)
 
virtual void getFrustumAndEye (Frustum_64 &frustum, Vector3_64 &eyePosition, const DtOsgCullVisitor *cullVisitor, DtDe &de, bool ignoreNearFar)
 

Protected Attributes

DtIndirectGeometryGrid & myGrid
 
DtDe & myDe
 
bool myEnableCullVisualDebugging
 
bool myEnableCullLogging
 
double myLastUpdateTime
 
double myMaxLodDistance
 

Private Member Functions

 DtIndirectGeometryGridNode (const DtIndirectGeometryGridNode &other)=delete
 
DtIndirectGeometryGridNode & operator= (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::setMaxLodDistance ( double  dist)
virtual

Default 10,000.0.

const DtIndirectGeometryGrid& makVrv::DtIndirectGeometryGridNode::grid ( ) const

reference to the grid

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)

virtual void makVrv::DtIndirectGeometryGridNode::getFrustumAndEye ( Frustum_64 &  frustum,
Vector3_64 &  eyePosition,
const DtOsgCullVisitor *  cullVisitor,
DtDe &  de,
bool  ignoreNearFar 
)
protectedvirtual

Get the current view frustum and eye position from the cull visitor Does not modify interals for thread safety.

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
double makVrv::DtIndirectGeometryGridNode::myMaxLodDistance
protected

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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)