OpenSceneGraph 3.6.5
Public Member Functions | Public Attributes | List of all members
osgUtil::ReversePrimitiveFunctor Class Reference

#include <ReversePrimitiveFunctor>

Inheritance diagram for osgUtil::ReversePrimitiveFunctor:
Inheritance graph
[legend]

Public Member Functions

virtual ~ReversePrimitiveFunctor ()
 
osg::PrimitiveSetgetReversedPrimitiveSet ()
 
virtual void setVertexArray (unsigned int, const osg::Vec2 *)
 
virtual void setVertexArray (unsigned int, const osg::Vec3 *)
 
virtual void setVertexArray (unsigned int, const osg::Vec4 *)
 
virtual void setVertexArray (unsigned int, const osg::Vec2d *)
 
virtual void setVertexArray (unsigned int, const osg::Vec3d *)
 
virtual void setVertexArray (unsigned int, const osg::Vec4d *)
 
virtual void drawArrays (GLenum mode, GLint first, GLsizei count)
 
virtual void drawElements (GLenum mode, GLsizei count, const GLubyte *indices)
 
virtual void drawElements (GLenum mode, GLsizei count, const GLushort *indices)
 
virtual void drawElements (GLenum mode, GLsizei count, const GLuint *indices)
 
virtual void begin (GLenum mode)
 Mimics the OpenGL glBegin() function.
 
virtual void vertex (unsigned int)
 
virtual void end ()
 
- Public Member Functions inherited from osg::PrimitiveIndexFunctor
virtual ~PrimitiveIndexFunctor ()
 

Public Attributes

osg::ref_ptr< osg::PrimitiveSet_reversedPrimitiveSet
 

Constructor & Destructor Documentation

◆ ~ReversePrimitiveFunctor()

virtual osgUtil::ReversePrimitiveFunctor::~ReversePrimitiveFunctor ( )
inlinevirtual

Member Function Documentation

◆ begin()

virtual void osgUtil::ReversePrimitiveFunctor::begin ( GLenum mode)
virtual

Mimics the OpenGL glBegin() function.

◆ drawArrays()

virtual void osgUtil::ReversePrimitiveFunctor::drawArrays ( GLenum mode,
GLint first,
GLsizei count )
virtual

◆ drawElements() [1/3]

virtual void osgUtil::ReversePrimitiveFunctor::drawElements ( GLenum mode,
GLsizei count,
const GLubyte * indices )
virtual

◆ drawElements() [2/3]

virtual void osgUtil::ReversePrimitiveFunctor::drawElements ( GLenum mode,
GLsizei count,
const GLuint * indices )
virtual

◆ drawElements() [3/3]

virtual void osgUtil::ReversePrimitiveFunctor::drawElements ( GLenum mode,
GLsizei count,
const GLushort * indices )
virtual

◆ end()

virtual void osgUtil::ReversePrimitiveFunctor::end ( )
virtual

◆ getReversedPrimitiveSet()

osg::PrimitiveSet * osgUtil::ReversePrimitiveFunctor::getReversedPrimitiveSet ( )
inline

◆ setVertexArray() [1/6]

virtual void osgUtil::ReversePrimitiveFunctor::setVertexArray ( unsigned int ,
const osg::Vec2 *  )
inlinevirtual

◆ setVertexArray() [2/6]

virtual void osgUtil::ReversePrimitiveFunctor::setVertexArray ( unsigned int ,
const osg::Vec2d *  )
inlinevirtual

◆ setVertexArray() [3/6]

virtual void osgUtil::ReversePrimitiveFunctor::setVertexArray ( unsigned int ,
const osg::Vec3 *  )
inlinevirtual

◆ setVertexArray() [4/6]

virtual void osgUtil::ReversePrimitiveFunctor::setVertexArray ( unsigned int ,
const osg::Vec3d *  )
inlinevirtual

◆ setVertexArray() [5/6]

virtual void osgUtil::ReversePrimitiveFunctor::setVertexArray ( unsigned int ,
const osg::Vec4 *  )
inlinevirtual

◆ setVertexArray() [6/6]

virtual void osgUtil::ReversePrimitiveFunctor::setVertexArray ( unsigned int ,
const osg::Vec4d *  )
inlinevirtual

◆ vertex()

virtual void osgUtil::ReversePrimitiveFunctor::vertex ( unsigned int )
virtual

Member Data Documentation

◆ _reversedPrimitiveSet

osg::ref_ptr<osg::PrimitiveSet> osgUtil::ReversePrimitiveFunctor::_reversedPrimitiveSet

The documentation for this class was generated from the following file:

osg logo
Generated at Mon Jan 22 2024 00:00:00 for the OpenSceneGraph by doxygen 1.10.0.