osgEarth 2.1.1
Public Member Functions | Public Attributes

osgEarth::CullNodeByFrameNumber Struct Reference

List of all members.

Public Member Functions

 CullNodeByFrameNumber ()
void operator() (osg::Node *node, osg::NodeVisitor *nv)

Public Attributes

unsigned _frame

Detailed Description

Definition at line 204 of file Utils.


Constructor & Destructor Documentation

osgEarth::CullNodeByFrameNumber::CullNodeByFrameNumber ( ) [inline]

Definition at line 206 of file Utils.

: _frame(0) { }

Member Function Documentation

void osgEarth::CullNodeByFrameNumber::operator() ( osg::Node *  node,
osg::NodeVisitor *  nv 
) [inline]

Definition at line 207 of file Utils.

                                                             {
            if ( nv->getFrameStamp()->getFrameNumber() - _frame <= 1 )
                traverse(node, nv);
        }

Member Data Documentation

Definition at line 205 of file Utils.


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