osgEarth 2.1.1
|
Public Member Functions | |
virtual void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
Definition at line 57 of file SkyNode.cpp.
virtual void anonymous_namespace{SkyNode.cpp}::DoNotIncludeInNearFarComputationCallback::operator() | ( | osg::Node * | node, |
osg::NodeVisitor * | nv | ||
) | [inline, virtual] |
Definition at line 59 of file SkyNode.cpp.
{ osgUtil::CullVisitor* cv = dynamic_cast< osgUtil::CullVisitor*>( nv ); // Default value osg::CullSettings::ComputeNearFarMode oldMode; if( cv ) { oldMode = cv->getComputeNearFarMode(); cv->setComputeNearFarMode( osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR ); } traverse(node, nv); if( cv ) { cv->setComputeNearFarMode(oldMode); } }