osgEarth 2.1.1
Public Member Functions | Public Attributes

osgEarth::Util::AutoClipPlaneCallback Class Reference

List of all members.

Public Member Functions

 AutoClipPlaneCallback (const Map *map=0L)
virtual void operator() (osg::Node *node, osg::NodeVisitor *nv)

Public Attributes

osg::ref_ptr
< AutoClipPlaneHandler
_handler

Detailed Description

Definition at line 69 of file AutoClipPlaneHandler.


Constructor & Destructor Documentation

osgEarth::Util::AutoClipPlaneCallback::AutoClipPlaneCallback ( const Map map = 0L) [inline]

Definition at line 72 of file AutoClipPlaneHandler.

        {
            _handler = new AutoClipPlaneHandler( map );
        }

Member Function Documentation

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 );
        }

Member Data Documentation

Definition at line 86 of file AutoClipPlaneHandler.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines