osgEarth 2.1.1
Public Member Functions | Public Attributes

MaskNodeFinder Struct Reference

List of all members.

Public Member Functions

 MaskNodeFinder ()
void apply (osg::Group &group)

Public Attributes

std::list< osg::Group * > _groups

Detailed Description

Definition at line 489 of file MapNode.cpp.


Constructor & Destructor Documentation

MaskNodeFinder::MaskNodeFinder ( ) [inline]

Definition at line 490 of file MapNode.cpp.

: osg::NodeVisitor( osg::NodeVisitor::TRAVERSE_ALL_CHILDREN ) { }

Member Function Documentation

void MaskNodeFinder::apply ( osg::Group &  group) [inline]

Definition at line 491 of file MapNode.cpp.

                                  {
        if ( dynamic_cast<MaskNode*>( &group ) ) {
            _groups.push_back( &group );
        }
        traverse(group);
    }

Member Data Documentation

std::list< osg::Group* > MaskNodeFinder::_groups

Definition at line 497 of file MapNode.cpp.


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