![]() |
VR-Forces 4.1.1 Class Documentation
|
A group node that culls it's group members based on channels. More...

Public Member Functions | |
| DtChannelSpecificGroup () | |
| CTOR. | |
| DtChannelSpecificGroup (const DtChannelSpecificGroup &orig, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Node (vrvOsg, DtChannelSpecificGroup) | |
| virtual | ~DtChannelSpecificGroup () |
| DTOR. | |
| virtual void | addChannel (DtChannel *channel) |
| Add channels that should draw the things under this group node. | |
| virtual void | removeChannel (DtChannel *channel) |
| Remove a channel causing things under this group node to be culled from this channel. | |
| virtual int | numChannels () const |
| Returns the number of channels that are accepted by the node. | |
| virtual void | traverse (osg::NodeVisitor &nv) |
| traverses the group, checking in the case of a culler, if the channel is allowed to render these objects | |
| virtual void | addView (osg::View *viewToAdd) |
| 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. | |
| virtual void | removeView (osg::View *viewToRemove) |
| Remove a previously added view. | |
Public Member Functions inherited from makVrv::DtFastGroup | |
| DtFastGroup () | |
| DtFastGroup (const DtFastGroup &, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| Copy constructor using CopyOp to manage deep vs shallow copy. | |
| virtual bool | removeChildren (unsigned int pos, unsigned int numChildrenToRemove) |
| Override removeChildren with optimized version. | |
Protected Types | |
| typedef boost::unordered_set < DtChannel * > | ChannelSet |
| typedef boost::unordered_set < osg::View * > | ViewSet |
Protected Attributes | |
| ChannelSet | myChannels |
| ViewSet | myFastViewLookup |
A group node that culls it's group members based on channels.
|
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 |