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

parent node for all the indirect geometries within a More...

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

Public Member Functions

 DtIndirectGeometryGridNode (DtIndirectGeometryGrid &grid, DtDe &de)
 CTOR. More...
 
virtual void accept (osg::NodeVisitor &nv) override
 inherited determines which cells (and hence indirect geometries) are visible in the cull visitor pass More...
 
virtual void releaseGLObjects (osg::State *state) const
 cleanup the gl objects when the graphics context is destroyed More...
 
virtual void enableCellCullDebugging (bool val)
 enable cull debugging? enable/disable should ideally be set just after creating grid node and not during run. More...
 
virtual bool enabledCellCullDebugging (void) const
 cull debugging enabled?? More...
 

Protected Member Functions

virtual ~DtIndirectGeometryGridNode ()
 purposely protected More...
 
virtual void addGeometry (DtIndirectGeometry *indirectGeometry, DtOsgCullVisitor *cullVisitor)
 add an indirect geometry for rendering (call an accept on it) More...
 
virtual void addDebugDrawable (osg::Drawable *drawable, DtOsgCullVisitor *cullVisitor)
 add a debug drawable for rendering (call an accept on it) More...
 

Protected Attributes

DtIndirectGeometryGridmyGrid
 reference to the grid More...
 
DtDemyDe
 reference to the DtDe More...
 
bool myEnableCullDebugging
 are we debug rendering? More...
 

Private Member Functions

 DtIndirectGeometryGridNode (const DtIndirectGeometryGridNode &other)=delete
 Copy Constructor not implemented – Copy Not Allowed. More...
 
DtIndirectGeometryGridNodeoperator= (const DtIndirectGeometryGridNode &other)=delete
 Assignment Operator Not implemented – Assignment Not Allowed. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

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

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

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

DtIndirectGeometryGrid& makVrv::DtIndirectGeometryGridNode::myGrid
protected

reference to the grid

DtDe& makVrv::DtIndirectGeometryGridNode::myDe
protected

reference to the DtDe

bool makVrv::DtIndirectGeometryGridNode::myEnableCullDebugging
protected

are we debug rendering?


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)