OpenSceneGraph
3.4.0
|
typedef std::map< const osg::Camera*, unsigned int > osg::OcclusionQueryNode::FrameCountMap [protected] |
osg::OcclusionQueryNode::OcclusionQueryNode | ( | const OcclusionQueryNode & | oqn, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
virtual osg::OcclusionQueryNode::~OcclusionQueryNode | ( | ) | [protected, virtual] |
virtual osg::BoundingSphere osg::OcclusionQueryNode::computeBound | ( | ) | const [virtual] |
Compute the bounding sphere around Node's geometry or children.
This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound().
Reimplemented from osg::Group.
virtual void osg::OcclusionQueryNode::createSupportNodes | ( | ) | [protected, virtual] |
static void osg::OcclusionQueryNode::discardDeletedQueryObjects | ( | unsigned int | contextID | ) | [static] |
static void osg::OcclusionQueryNode::flushDeletedQueryObjects | ( | unsigned int | contextID, |
double | currentTime, | ||
double & | availableTime | ||
) | [static] |
bool osg::OcclusionQueryNode::getDebugDisplay | ( | ) | const |
const osg::StateSet* osg::OcclusionQueryNode::getDebugStateSet | ( | ) | const |
bool osg::OcclusionQueryNode::getPassed | ( | ) | const |
virtual bool osg::OcclusionQueryNode::getPassed | ( | const osg::Camera * | camera, |
osg::NodeVisitor & | nv | ||
) | [virtual] |
bool osg::OcclusionQueryNode::getQueriesEnabled | ( | ) | const [inline] |
unsigned int osg::OcclusionQueryNode::getQueryFrameCount | ( | ) | const [inline] |
const osg::QueryGeometry* osg::OcclusionQueryNode::getQueryGeometry | ( | ) | const |
const osg::StateSet* osg::OcclusionQueryNode::getQueryStateSet | ( | ) | const |
unsigned int osg::OcclusionQueryNode::getVisibilityThreshold | ( | ) | const [inline] |
virtual void osg::OcclusionQueryNode::releaseGLObjects | ( | osg::State * | = 0 | ) | const [virtual] |
If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context.
Otherwise, releases OpenGL objects for all graphics contexts.
Reimplemented from osg::Group.
void osg::OcclusionQueryNode::setDebugDisplay | ( | bool | enable | ) |
void osg::OcclusionQueryNode::setQueriesEnabled | ( | bool | enable = true | ) |
void osg::OcclusionQueryNode::setQueryFrameCount | ( | unsigned int | frames | ) | [inline] |
void osg::OcclusionQueryNode::setVisibilityThreshold | ( | unsigned int | pixels | ) | [inline] |
void osg::OcclusionQueryNode::traverseQuery | ( | const osg::Camera * | camera, |
osg::NodeVisitor & | nv | ||
) |
OpenThreads::Mutex osg::OcclusionQueryNode::_computeBoundMutex [mutable, protected] |
bool osg::OcclusionQueryNode::_debugBB [protected] |
osg::ref_ptr< osg::Geode > osg::OcclusionQueryNode::_debugGeode [protected] |
bool osg::OcclusionQueryNode::_enabled [protected] |
FrameCountMap osg::OcclusionQueryNode::_frameCountMap [protected] |
OpenThreads::Mutex osg::OcclusionQueryNode::_frameCountMutex [mutable, protected] |
bool osg::OcclusionQueryNode::_passed [protected] |
unsigned int osg::OcclusionQueryNode::_queryFrameCount [protected] |
osg::ref_ptr< osg::Geode > osg::OcclusionQueryNode::_queryGeode [protected] |
unsigned int osg::OcclusionQueryNode::_visThreshold [protected] |
![]() | Generated at Tue Dec 8 2015 00:14:25 for the OpenSceneGraph by doxygen 1.7.6.1. |