OpenWalnut
1.5.0dev
|
Update matrix transform according to bounds of some node. More...
Public Member Functions | |
BoundsCallback (osg::ref_ptr< osg::Node > node) | |
Create and init. More... | |
virtual void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
Callback method called by the NodeVisitor when visiting a node. More... | |
Private Attributes | |
osg::ref_ptr< osg::Node > | m_node |
The node to use as template for the resulting bbox. More... | |
Update matrix transform according to bounds of some node.
Definition at line 255 of file WGEUtils.cpp.
|
inlineexplicit |
|
inlinevirtual |
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.
|
private |
The node to use as template for the resulting bbox.
Definition at line 292 of file WGEUtils.cpp.
Referenced by operator()().