OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
osgUtil::ReversePrimitiveFunctor Class Reference

#include <ReversePrimitiveFunctor.h>

Inheritance diagram for osgUtil::ReversePrimitiveFunctor:
Inheritance graph
[legend]
Collaboration diagram for osgUtil::ReversePrimitiveFunctor:
Collaboration 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
 

Detailed Description

Definition at line 24 of file ReversePrimitiveFunctor.h.

Constructor & Destructor Documentation

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

Definition at line 28 of file ReversePrimitiveFunctor.h.

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

Definition at line 30 of file ReversePrimitiveFunctor.h.

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

Implements osg::PrimitiveIndexFunctor.

Definition at line 32 of file ReversePrimitiveFunctor.h.

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

Implements osg::PrimitiveIndexFunctor.

Definition at line 33 of file ReversePrimitiveFunctor.h.

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

Implements osg::PrimitiveIndexFunctor.

Definition at line 34 of file ReversePrimitiveFunctor.h.

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

Implements osg::PrimitiveIndexFunctor.

Definition at line 35 of file ReversePrimitiveFunctor.h.

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

Implements osg::PrimitiveIndexFunctor.

Definition at line 36 of file ReversePrimitiveFunctor.h.

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

Implements osg::PrimitiveIndexFunctor.

Definition at line 37 of file ReversePrimitiveFunctor.h.

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

Member Data Documentation

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

Definition at line 51 of file ReversePrimitiveFunctor.h.


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