14#ifndef OSGUTIL_REVERSEPRIMITIVEFUNCTOR
15#define OSGUTIL_REVERSEPRIMITIVEFUNCTOR 1
39 virtual void drawArrays(GLenum mode,GLint first,GLsizei count);
40 virtual void drawElements(GLenum mode,GLsizei count,
const GLubyte* indices);
41 virtual void drawElements(GLenum mode,GLsizei count,
const GLushort* indices);
42 virtual void drawElements(GLenum mode,GLsizei count,
const GLuint* indices);
46 virtual void begin(GLenum mode);
Vec2f Vec2
Definition Vec2:21
Vec3f Vec3
Definition Vec3:21
Vec4f Vec4
Definition Vec4:21
The osgUtil library provides general purpose utility classes such as update, cull and draw traverses,...
Definition NodeVisitor:25
Definition PrimitiveSet:103
Definition PrimitiveSet:125
Smart pointer for handling referenced counted objects.
Definition ref_ptr:32
General purpose double pair, uses include representation of texture coordinates.
Definition Vec2d:29
General purpose double triple for use as vertices, vectors and normals.
Definition Vec3d:30
General purpose double quad.
Definition Vec4d:29
Definition ReversePrimitiveFunctor:25
virtual ~ReversePrimitiveFunctor()
Definition ReversePrimitiveFunctor:28
virtual void setVertexArray(unsigned int, const osg::Vec3d *)
Definition ReversePrimitiveFunctor:36
virtual void begin(GLenum mode)
Mimics the OpenGL glBegin() function.
virtual void setVertexArray(unsigned int, const osg::Vec2 *)
Definition ReversePrimitiveFunctor:32
virtual void vertex(unsigned int)
virtual void setVertexArray(unsigned int, const osg::Vec4d *)
Definition ReversePrimitiveFunctor:37
virtual void drawElements(GLenum mode, GLsizei count, const GLubyte *indices)
virtual void drawElements(GLenum mode, GLsizei count, const GLuint *indices)
virtual void setVertexArray(unsigned int, const osg::Vec2d *)
Definition ReversePrimitiveFunctor:35
osg::PrimitiveSet * getReversedPrimitiveSet()
Definition ReversePrimitiveFunctor:30
virtual void drawElements(GLenum mode, GLsizei count, const GLushort *indices)
virtual void setVertexArray(unsigned int, const osg::Vec4 *)
Definition ReversePrimitiveFunctor:34
virtual void drawArrays(GLenum mode, GLint first, GLsizei count)
virtual void setVertexArray(unsigned int, const osg::Vec3 *)
Definition ReversePrimitiveFunctor:33
osg::ref_ptr< osg::PrimitiveSet > _reversedPrimitiveSet
Definition ReversePrimitiveFunctor:51
#define OSGUTIL_EXPORT
Definition Export:40