![]() |
VR-Forces 4.0.4 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. | |
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.
typedef boost::unordered_set<DtChannel*> makVrv::DtChannelSpecificGroup::ChannelSet [protected] |
typedef boost::unordered_set<osg::View*> makVrv::DtChannelSpecificGroup::ViewSet [protected] |
| makVrv::DtChannelSpecificGroup::DtChannelSpecificGroup | ( | const DtChannelSpecificGroup & | orig, |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
| ) |
| virtual makVrv::DtChannelSpecificGroup::~DtChannelSpecificGroup | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtChannelSpecificGroup::addChannel | ( | DtChannel * | channel | ) | [virtual] |
Add channels that should draw the things under this group node.
| virtual void makVrv::DtChannelSpecificGroup::removeChannel | ( | DtChannel * | channel | ) | [virtual] |
Remove a channel causing things under this group node to be culled from this channel.
| virtual int makVrv::DtChannelSpecificGroup::numChannels | ( | ) | const [virtual] |
Returns the number of channels that are accepted by the node.
| virtual void makVrv::DtChannelSpecificGroup::traverse | ( | osg::NodeVisitor & | nv | ) | [virtual] |
traverses the group, checking in the case of a culler, if the channel is allowed to render these objects
| virtual void makVrv::DtChannelSpecificGroup::addView | ( | osg::View * | viewToAdd | ) | [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 void makVrv::DtChannelSpecificGroup::removeView | ( | osg::View * | viewToRemove | ) | [virtual] |
Remove a previously added view.
ChannelSet makVrv::DtChannelSpecificGroup::myChannels [protected] |