OpenSceneGraph  3.5.1
Public Member Functions | Public Attributes | List of all members
osgUtil::ReversePrimitiveFunctor Class Reference
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. More...
 
virtual void vertex (unsigned int)
 
virtual void end ()
 
- Public Member Functions inherited from osg::PrimitiveIndexFunctor
virtual ~PrimitiveIndexFunctor ()
 
void useVertexCacheAsVertexArray ()
 

Public Attributes

osg::ref_ptr< osg::PrimitiveSet_reversedPrimitiveSet
 
- Public Attributes inherited from osg::PrimitiveIndexFunctor
std::vector< Vec3_vertexCache
 
bool _treatVertexDataAsTemporary
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Mimics the OpenGL glBegin() function.

Implements osg::PrimitiveIndexFunctor.

virtual void osgUtil::ReversePrimitiveFunctor::drawArrays ( GLenum  mode,
GLint  first,
GLsizei  count 
)
virtual
virtual void osgUtil::ReversePrimitiveFunctor::drawElements ( GLenum  mode,
GLsizei  count,
const GLubyte *  indices 
)
virtual
virtual void osgUtil::ReversePrimitiveFunctor::drawElements ( GLenum  mode,
GLsizei  count,
const GLushort *  indices 
)
virtual
virtual void osgUtil::ReversePrimitiveFunctor::drawElements ( GLenum  mode,
GLsizei  count,
const GLuint *  indices 
)
virtual
virtual void osgUtil::ReversePrimitiveFunctor::end ( )
virtual
osg::PrimitiveSet* osgUtil::ReversePrimitiveFunctor::getReversedPrimitiveSet ( )
inline
virtual void osgUtil::ReversePrimitiveFunctor::setVertexArray ( unsigned int  ,
const osg::Vec2  
)
inlinevirtual
virtual void osgUtil::ReversePrimitiveFunctor::setVertexArray ( unsigned int  ,
const osg::Vec3  
)
inlinevirtual
virtual void osgUtil::ReversePrimitiveFunctor::setVertexArray ( unsigned int  ,
const osg::Vec4  
)
inlinevirtual
virtual void osgUtil::ReversePrimitiveFunctor::setVertexArray ( unsigned int  ,
const osg::Vec2d  
)
inlinevirtual
virtual void osgUtil::ReversePrimitiveFunctor::setVertexArray ( unsigned int  ,
const osg::Vec3d  
)
inlinevirtual
virtual void osgUtil::ReversePrimitiveFunctor::setVertexArray ( unsigned int  ,
const osg::Vec4d  
)
inlinevirtual
virtual void osgUtil::ReversePrimitiveFunctor::vertex ( unsigned  int)
virtual

Member Data Documentation

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

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

osg logo
Generated at Wed Nov 11 2015 22:15:18 for the OpenSceneGraph by doxygen 1.8.10.