Inheritance diagram for osgUtil::Statistics:

Public Types | |
| typedef std::pair< unsigned int, unsigned int > | PrimitivePair |
| typedef std::map< GLenum, PrimitivePair > | PrimitiveValueMap |
| typedef std::map< GLenum, unsigned int > | PrimitiveCountMap |
| STAT_NONE | |
| STAT_FRAMERATE | |
| STAT_GRAPHS | |
| STAT_PRIMS | |
| STAT_PRIMSPERVIEW | |
| STAT_PRIMSPERBIN | |
| STAT_DC | |
| STAT_RESTART | |
| enum | StatsType { STAT_NONE, STAT_FRAMERATE, STAT_GRAPHS, STAT_PRIMS, STAT_PRIMSPERVIEW, STAT_PRIMSPERBIN, STAT_DC, STAT_RESTART } |
Public Member Functions | |
| Statistics () | |
| void | reset () |
| void | setType (StatsType t) |
| virtual void | setVertexArray (unsigned int count, const osg::Vec3 *) |
| virtual void | setVertexArray (unsigned int count, const osg::Vec2 *) |
| virtual void | setVertexArray (unsigned int count, const osg::Vec4 *) |
| virtual void | drawArrays (GLenum mode, GLint, GLsizei count) |
Mimics the OpenGL glDrawArrays() function. | |
| virtual void | drawElements (GLenum mode, GLsizei count, const GLubyte *) |
Mimics the OpenGL glDrawElements() function. | |
| virtual void | drawElements (GLenum mode, GLsizei count, const GLushort *) |
Mimics the OpenGL glDrawElements() function. | |
| virtual void | drawElements (GLenum mode, GLsizei count, const GLuint *) |
Mimics the OpenGL glDrawElements() function. | |
| virtual void | begin (GLenum mode) |
Mimics the OpenGL glBegin() function. | |
| void | vertex () |
| virtual void | vertex (float, float, float) |
Mimics the OpenGL glVertex() "family of functions". | |
| virtual void | vertex (const osg::Vec3 &) |
Mimics the OpenGL glVertex() "family of functions". | |
| virtual void | vertex (const osg::Vec2 &) |
Mimics the OpenGL glVertex() "family of functions". | |
| virtual void | vertex (const osg::Vec4 &) |
Mimics the OpenGL glVertex() "family of functions". | |
| virtual void | vertex (float, float) |
Mimics the OpenGL glVertex() "family of functions". | |
| virtual void | vertex (float, float, float, float) |
Mimics the OpenGL glVertex() "family of functions". | |
| virtual void | end () |
Mimics the OpenGL glEnd() function. | |
| void | addDrawable () |
| void | addMatrix () |
| void | addLight (int np) |
| void | addImpostor (int np) |
| int | getBins () |
| void | setDepth (int d) |
| void | addBins (int np) |
| void | setBinNo (int n) |
| void | add (const Statistics &stats) |
| PrimitiveCountMap::iterator | GetPrimitivesBegin () |
| PrimitiveCountMap::iterator | GetPrimitivesEnd () |
Public Attributes | |
| int | numDrawables |
| int | nummat |
| int | nbins |
| int | nlights |
| int | depth |
| int | _binNo |
| StatsType | stattype |
| int | nimpostor |
| unsigned int | _vertexCount |
| PrimitiveValueMap | _primitiveCount |
| GLenum | _currentPrimitiveFunctorMode |
| typedef std::map<GLenum, unsigned int> osgUtil::Statistics::PrimitiveCountMap |
| typedef std::pair<unsigned int,unsigned int> osgUtil::Statistics::PrimitivePair |
| typedef std::map<GLenum,PrimitivePair> osgUtil::Statistics::PrimitiveValueMap |
| osgUtil::Statistics::Statistics | ( | ) | [inline] |
| void osgUtil::Statistics::add | ( | const Statistics & | stats | ) | [inline] |
| void osgUtil::Statistics::addBins | ( | int | np | ) | [inline] |
| void osgUtil::Statistics::addDrawable | ( | ) | [inline] |
| void osgUtil::Statistics::addImpostor | ( | int | np | ) | [inline] |
| void osgUtil::Statistics::addLight | ( | int | np | ) | [inline] |
| void osgUtil::Statistics::addMatrix | ( | ) | [inline] |
| virtual void osgUtil::Statistics::begin | ( | GLenum | mode | ) | [inline, virtual] |
| virtual void osgUtil::Statistics::drawArrays | ( | GLenum | mode, | |
| GLint | , | |||
| GLsizei | count | |||
| ) | [inline, virtual] |
| virtual void osgUtil::Statistics::drawElements | ( | GLenum | mode, | |
| GLsizei | count, | |||
| const GLuint * | ||||
| ) | [inline, virtual] |
| virtual void osgUtil::Statistics::drawElements | ( | GLenum | mode, | |
| GLsizei | count, | |||
| const GLushort * | ||||
| ) | [inline, virtual] |
| virtual void osgUtil::Statistics::drawElements | ( | GLenum | mode, | |
| GLsizei | count, | |||
| const GLubyte * | ||||
| ) | [inline, virtual] |
| virtual void osgUtil::Statistics::end | ( | ) | [inline, virtual] |
| int osgUtil::Statistics::getBins | ( | ) | [inline] |
| PrimitiveCountMap::iterator osgUtil::Statistics::GetPrimitivesBegin | ( | ) | [inline] |
| PrimitiveCountMap::iterator osgUtil::Statistics::GetPrimitivesEnd | ( | ) | [inline] |
| void osgUtil::Statistics::reset | ( | ) | [inline] |
| void osgUtil::Statistics::setBinNo | ( | int | n | ) | [inline] |
| void osgUtil::Statistics::setDepth | ( | int | d | ) | [inline] |
| void osgUtil::Statistics::setType | ( | StatsType | t | ) | [inline] |
| virtual void osgUtil::Statistics::setVertexArray | ( | unsigned int | count, | |
| const osg::Vec4 * | ||||
| ) | [inline, virtual] |
Sets the array of vertices used to describe the primitives. Somehow mimics the OpenGL glVertexPointer() function.
Implements osg::PrimitiveFunctor.
| virtual void osgUtil::Statistics::setVertexArray | ( | unsigned int | count, | |
| const osg::Vec2 * | ||||
| ) | [inline, virtual] |
Sets the array of vertices used to describe the primitives. Somehow mimics the OpenGL glVertexPointer() function.
Implements osg::PrimitiveFunctor.
| virtual void osgUtil::Statistics::setVertexArray | ( | unsigned int | count, | |
| const osg::Vec3 * | ||||
| ) | [inline, virtual] |
Sets the array of vertices used to describe the primitives. Somehow mimics the OpenGL glVertexPointer() function.
Implements osg::PrimitiveFunctor.
| virtual void osgUtil::Statistics::vertex | ( | float | , | |
| float | , | |||
| float | , | |||
| float | ||||
| ) | [inline, virtual] |
| virtual void osgUtil::Statistics::vertex | ( | float | , | |
| float | ||||
| ) | [inline, virtual] |
| virtual void osgUtil::Statistics::vertex | ( | const osg::Vec4 & | ) | [inline, virtual] |
| virtual void osgUtil::Statistics::vertex | ( | const osg::Vec2 & | ) | [inline, virtual] |
| virtual void osgUtil::Statistics::vertex | ( | const osg::Vec3 & | ) | [inline, virtual] |
| virtual void osgUtil::Statistics::vertex | ( | float | , | |
| float | , | |||
| float | ||||
| ) | [inline, virtual] |
| void osgUtil::Statistics::vertex | ( | ) | [inline] |
| unsigned int osgUtil::Statistics::_vertexCount |
1.4.7