osgEarth 2.1.1
|
Public Member Functions | |
AutoClipPlaneCallback (const Map *map=0L) | |
virtual void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
Public Attributes | |
osg::ref_ptr < AutoClipPlaneHandler > | _handler |
Definition at line 69 of file AutoClipPlaneHandler.
osgEarth::Util::AutoClipPlaneCallback::AutoClipPlaneCallback | ( | const Map * | map = 0L | ) | [inline] |
Definition at line 72 of file AutoClipPlaneHandler.
{ _handler = new AutoClipPlaneHandler( map ); }
virtual void osgEarth::Util::AutoClipPlaneCallback::operator() | ( | osg::Node * | node, |
osg::NodeVisitor * | nv | ||
) | [inline, virtual] |
Definition at line 77 of file AutoClipPlaneHandler.
{ osgGA::EventVisitor* ev = dynamic_cast<osgGA::EventVisitor*>( nv ); if ( ev ) { _handler->frame( *ev->getActionAdapter() ); } traverse( node, nv ); }
Definition at line 86 of file AutoClipPlaneHandler.