OpenWalnut
1.4.0
|
Update matrix transform according to bounds of some node. More...
Public Member Functions | |
BoundsCallback (osg::ref_ptr< osg::Node > node) | |
Create and init. | |
virtual void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
Callback method called by the NodeVisitor when visiting a node. | |
Private Attributes | |
osg::ref_ptr< osg::Node > | m_node |
The node to use as template for the resulting bbox. |
Update matrix transform according to bounds of some node.
Definition at line 255 of file WGEUtils.cpp.
BoundsCallback::BoundsCallback | ( | osg::ref_ptr< osg::Node > | node | ) | [inline, explicit] |
virtual void BoundsCallback::operator() | ( | osg::Node * | node, |
osg::NodeVisitor * | nv | ||
) | [inline, virtual] |
Callback method called by the NodeVisitor when visiting a node.
node | the node handled |
nv | the visitor |
Definition at line 274 of file WGEUtils.cpp.
References m_node.
osg::ref_ptr< osg::Node > BoundsCallback::m_node [private] |
The node to use as template for the resulting bbox.
Definition at line 292 of file WGEUtils.cpp.
Referenced by operator()().