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
osg::PrimitiveIndexFunctor Class Referenceabstract

#include <PrimitiveSet.h>

Inheritance diagram for osg::PrimitiveIndexFunctor:
Inheritance graph
[legend]

Public Member Functions

virtual ~PrimitiveIndexFunctor ()
 
virtual void setVertexArray (unsigned int count, const Vec2 *vertices)=0
 
virtual void setVertexArray (unsigned int count, const Vec3 *vertices)=0
 
virtual void setVertexArray (unsigned int count, const Vec4 *vertices)=0
 
virtual void setVertexArray (unsigned int count, const Vec2d *vertices)=0
 
virtual void setVertexArray (unsigned int count, const Vec3d *vertices)=0
 
virtual void setVertexArray (unsigned int count, const Vec4d *vertices)=0
 
virtual void drawArrays (GLenum mode, GLint first, GLsizei count)=0
 
virtual void drawElements (GLenum mode, GLsizei count, const GLubyte *indices)=0
 
virtual void drawElements (GLenum mode, GLsizei count, const GLushort *indices)=0
 
virtual void drawElements (GLenum mode, GLsizei count, const GLuint *indices)=0
 
virtual void begin (GLenum mode)=0
 
virtual void vertex (unsigned int pos)=0
 
virtual void end ()=0
 
void useVertexCacheAsVertexArray ()
 

Public Attributes

std::vector< Vec3_vertexCache
 
bool _treatVertexDataAsTemporary
 

Detailed Description

Definition at line 132 of file PrimitiveSet.h.

Constructor & Destructor Documentation

virtual osg::PrimitiveIndexFunctor::~PrimitiveIndexFunctor ( )
inlinevirtual

Definition at line 136 of file PrimitiveSet.h.

Member Function Documentation

virtual void osg::PrimitiveIndexFunctor::begin ( GLenum  mode)
pure virtual
virtual void osg::PrimitiveIndexFunctor::drawArrays ( GLenum  mode,
GLint  first,
GLsizei  count 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::drawElements ( GLenum  mode,
GLsizei  count,
const GLubyte *  indices 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::drawElements ( GLenum  mode,
GLsizei  count,
const GLushort *  indices 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::drawElements ( GLenum  mode,
GLsizei  count,
const GLuint *  indices 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::end ( )
pure virtual
virtual void osg::PrimitiveIndexFunctor::setVertexArray ( unsigned int  count,
const Vec2 vertices 
)
pure virtual

Implemented in osgUtil::ReversePrimitiveFunctor, osg::TriangleIndexFunctor< T >, and TriangleLinePointIndexFunctor< T >.

Here is the caller graph for this function:

virtual void osg::PrimitiveIndexFunctor::setVertexArray ( unsigned int  count,
const Vec3 vertices 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::setVertexArray ( unsigned int  count,
const Vec4 vertices 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::setVertexArray ( unsigned int  count,
const Vec2d vertices 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::setVertexArray ( unsigned int  count,
const Vec3d vertices 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::setVertexArray ( unsigned int  count,
const Vec4d vertices 
)
pure virtual
void osg::PrimitiveIndexFunctor::useVertexCacheAsVertexArray ( )
inline

Definition at line 155 of file PrimitiveSet.h.

Here is the call graph for this function:

virtual void osg::PrimitiveIndexFunctor::vertex ( unsigned int  pos)
pure virtual

Member Data Documentation

bool osg::PrimitiveIndexFunctor::_treatVertexDataAsTemporary

Definition at line 161 of file PrimitiveSet.h.

std::vector<Vec3> osg::PrimitiveIndexFunctor::_vertexCache

Definition at line 160 of file PrimitiveSet.h.


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