typedef std::map< const osg::Camera*, int > osg::OcclusionQueryNode::FrameCountMap [protected] |
osg::OcclusionQueryNode::OcclusionQueryNode | ( | ) |
osg::OcclusionQueryNode::OcclusionQueryNode | ( | const OcclusionQueryNode & | oqn, | |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
) |
virtual osg::OcclusionQueryNode::~OcclusionQueryNode | ( | ) | [protected, virtual] |
osg::OcclusionQueryNode::META_Node | ( | osg | , | |
OcclusionQueryNode | ||||
) |
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::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::setQueriesEnabled | ( | bool | enable = true |
) |
bool osg::OcclusionQueryNode::getQueriesEnabled | ( | ) | const [inline] |
void osg::OcclusionQueryNode::setVisibilityThreshold | ( | unsigned int | pixels | ) | [inline] |
unsigned int osg::OcclusionQueryNode::getVisibilityThreshold | ( | ) | const [inline] |
void osg::OcclusionQueryNode::setQueryFrameCount | ( | int | frames | ) | [inline] |
int osg::OcclusionQueryNode::getQueryFrameCount | ( | ) | const [inline] |
void osg::OcclusionQueryNode::setDebugDisplay | ( | bool | enable | ) |
bool osg::OcclusionQueryNode::getDebugDisplay | ( | ) | const |
void osg::OcclusionQueryNode::setQueryStateSet | ( | osg::StateSet * | ss | ) |
osg::StateSet* osg::OcclusionQueryNode::getQueryStateSet | ( | ) |
const osg::StateSet* osg::OcclusionQueryNode::getQueryStateSet | ( | ) | const |
void osg::OcclusionQueryNode::setDebugStateSet | ( | osg::StateSet * | ss | ) |
osg::StateSet* osg::OcclusionQueryNode::getDebugStateSet | ( | ) |
const osg::StateSet* osg::OcclusionQueryNode::getDebugStateSet | ( | ) | const |
bool osg::OcclusionQueryNode::getPassed | ( | ) | const |
bool osg::OcclusionQueryNode::getPassed | ( | const osg::Camera * | camera, | |
float | distanceToEyePoint | |||
) |
void osg::OcclusionQueryNode::traverseQuery | ( | const osg::Camera * | camera, | |
osg::NodeVisitor & | nv | |||
) |
void osg::OcclusionQueryNode::traverseDebug | ( | osg::NodeVisitor & | nv | ) |
static void osg::OcclusionQueryNode::flushDeletedQueryObjects | ( | unsigned int | contextID, | |
double | currentTime, | |||
double & | availableTime | |||
) | [static] |
static void osg::OcclusionQueryNode::discardDeletedQueryObjects | ( | unsigned int | contextID | ) | [static] |
void osg::OcclusionQueryNode::createSupportNodes | ( | ) | [protected] |
osg::ref_ptr< osg::Geode > osg::OcclusionQueryNode::_queryGeode [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::_visThreshold [protected] |
int osg::OcclusionQueryNode::_queryFrameCount [protected] |
bool osg::OcclusionQueryNode::_debugBB [protected] |
OpenThreads::Mutex osg::OcclusionQueryNode::_computeBoundMutex [mutable, protected] |