OpenSceneGraph
3.0.1
|
Public Member Functions | |
QueryGeometry (const std::string &oqnName=std::string("")) | |
~QueryGeometry () | |
void | reset () |
virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
Draw Geometry directly ignoring an OpenGL display list which could be attached. | |
unsigned int | getNumPixels (const osg::Camera *cam) |
virtual void | releaseGLObjects (osg::State *state=0) const |
If State is non-zero, this function releases OpenGL objects for the specified graphics context. | |
Static Public Member Functions | |
static void | deleteQueryObject (unsigned int contextID, GLuint handle) |
static void | flushDeletedQueryObjects (unsigned int contextID, double currentTime, double &availableTime) |
static void | discardDeletedQueryObjects (unsigned int contextID) |
Protected Types | |
typedef std::map< const osg::Camera *, TestResult > | ResultMap |
Protected Attributes | |
ResultMap | _results |
OpenThreads::Mutex | _mapMutex |
std::string | _oqnName |
typedef std::map< const osg::Camera*, TestResult > osg::QueryGeometry::ResultMap [protected] |
osg::QueryGeometry::QueryGeometry | ( | const std::string & | oqnName = std::string("") | ) |
static void osg::QueryGeometry::deleteQueryObject | ( | unsigned int | contextID, |
GLuint | handle | ||
) | [static] |
static void osg::QueryGeometry::discardDeletedQueryObjects | ( | unsigned int | contextID | ) | [static] |
virtual void osg::QueryGeometry::drawImplementation | ( | osg::RenderInfo & | renderInfo | ) | const [virtual] |
Draw Geometry directly ignoring an OpenGL display list which could be attached.
This is the internal draw method which does the drawing itself, and is the method to override when deriving from Geometry for user-drawn objects.
Reimplemented from osg::Geometry.
static void osg::QueryGeometry::flushDeletedQueryObjects | ( | unsigned int | contextID, |
double | currentTime, | ||
double & | availableTime | ||
) | [static] |
unsigned int osg::QueryGeometry::getNumPixels | ( | const osg::Camera * | cam | ) |
virtual void osg::QueryGeometry::releaseGLObjects | ( | osg::State * | state = 0 | ) | const [virtual] |
If State is non-zero, this function releases OpenGL objects for the specified graphics context.
Otherwise, releases OpenGL objects for all graphics contexts.
Reimplemented from osg::Geometry.
OpenThreads::Mutex osg::QueryGeometry::_mapMutex [mutable, protected] |
std::string osg::QueryGeometry::_oqnName [protected] |
ResultMap osg::QueryGeometry::_results [mutable, protected] |
![]() | Generated at Mon Jun 4 2012 14:27:13 for the OpenSceneGraph by doxygen 1.8.0. |