![]() |
VR-Forces Developer's Guide
|
A group node that culls it's group members based on channels.

Public Member Functions | |
| DtChannelSpecificGroup () | |
| DtChannelSpecificGroup (const DtChannelSpecificGroup &orig, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Node (vrvOsg, DtChannelSpecificGroup) | |
| virtual | ~DtChannelSpecificGroup () |
| virtual void | addChannel (DtChannel *channel) |
| virtual void | removeChannel (DtChannel *channel) |
| virtual int | numChannels () const |
| virtual void | traverse (osg::NodeVisitor &nv) |
| virtual void | addView (osg::View *viewToAdd) |
| virtual void | removeView (osg::View *viewToRemove) |
Public Member Functions inherited from makVrv::DtFastGroup | |
| META_Node (vrvOsg, DtFastGroup) | |
| DtFastGroup () | |
| DtFastGroup (const DtFastGroup &, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| virtual bool | removeChildren (unsigned int pos, unsigned int numChildrenToRemove) |
| virtual void | resizeGLObjectBuffers (unsigned int maxSize) |
Protected Types | |
| typedef std::unordered_set < DtChannel * > | ChannelSet |
| typedef std::unordered_set < const osg::View * > | ViewSet |
Protected Attributes | |
| ChannelSet | myChannels |
| ViewSet | myFastViewLookup |
Protected Attributes inherited from makVrv::DtFastGroup | |
| int | myLastMaxNumberOfGraphicsContexts = -1 |
|
protected |
|
protected |
| makVrv::DtChannelSpecificGroup::DtChannelSpecificGroup | ( | ) |
CTOR.
| makVrv::DtChannelSpecificGroup::DtChannelSpecificGroup | ( | const DtChannelSpecificGroup & | orig, |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
| ) |
|
virtual |
DTOR.
| makVrv::DtChannelSpecificGroup::META_Node | ( | vrvOsg | , |
| DtChannelSpecificGroup | |||
| ) |
|
virtual |
Add channels that should draw the things under this group node.
|
virtual |
Remove a channel causing things under this group node to be culled from this channel.
|
virtual |
Returns the number of channels that are accepted by the node.
|
virtual |
traverses the group, checking in the case of a culler, if the channel is allowed to render these objects
|
virtual |
Although the interface implies that these groups cull by channel, what they REALLY do is cull based on the osg::View associated with the camera associated with a channel. This method lets you add an osg::View directly to allow traversal that's not necessarily related to a channel render pass.
|
virtual |
Remove a previously added view.
|
protected |
|
protected |