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::TriangleIndexFunctor< T > Class Template Reference

#include <TriangleIndexFunctor.h>

Inheritance diagram for osg::TriangleIndexFunctor< T >:
Inheritance graph
[legend]
Collaboration diagram for osg::TriangleIndexFunctor< T >:
Collaboration graph
[legend]

Public Member Functions

virtual void setVertexArray (unsigned int, const Vec2 *)
 
virtual void setVertexArray (unsigned int, const Vec3 *)
 
virtual void setVertexArray (unsigned int, const Vec4 *)
 
virtual void setVertexArray (unsigned int, const Vec2d *)
 
virtual void setVertexArray (unsigned int, const Vec3d *)
 
virtual void setVertexArray (unsigned int, const Vec4d *)
 
virtual void begin (GLenum mode)
 
virtual void vertex (unsigned int vert)
 
virtual void end ()
 
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)
 
- Public Member Functions inherited from osg::PrimitiveIndexFunctor
virtual ~PrimitiveIndexFunctor ()
 
void useVertexCacheAsVertexArray ()
 

Public Attributes

GLenum _modeCache
 
std::vector< GLuint > _indexCache
 
- Public Attributes inherited from osg::PrimitiveIndexFunctor
std::vector< Vec3_vertexCache
 
bool _treatVertexDataAsTemporary
 

Detailed Description

template<class T>
class osg::TriangleIndexFunctor< T >

Definition at line 23 of file TriangleIndexFunctor.h.

Member Function Documentation

template<class T >
virtual void osg::TriangleIndexFunctor< T >::begin ( GLenum  mode)
inlinevirtual

Implements osg::PrimitiveIndexFunctor.

Definition at line 52 of file TriangleIndexFunctor.h.

template<class T >
virtual void osg::TriangleIndexFunctor< T >::drawArrays ( GLenum  mode,
GLint  first,
GLsizei  count 
)
inlinevirtual

Implements osg::PrimitiveIndexFunctor.

Definition at line 71 of file TriangleIndexFunctor.h.

template<class T >
virtual void osg::TriangleIndexFunctor< T >::drawElements ( GLenum  mode,
GLsizei  count,
const GLubyte *  indices 
)
inlinevirtual

Implements osg::PrimitiveIndexFunctor.

Definition at line 134 of file TriangleIndexFunctor.h.

Here is the caller graph for this function:

template<class T >
virtual void osg::TriangleIndexFunctor< T >::drawElements ( GLenum  mode,
GLsizei  count,
const GLushort *  indices 
)
inlinevirtual

Implements osg::PrimitiveIndexFunctor.

Definition at line 202 of file TriangleIndexFunctor.h.

template<class T >
virtual void osg::TriangleIndexFunctor< T >::drawElements ( GLenum  mode,
GLsizei  count,
const GLuint *  indices 
)
inlinevirtual

Implements osg::PrimitiveIndexFunctor.

Definition at line 270 of file TriangleIndexFunctor.h.

template<class T >
virtual void osg::TriangleIndexFunctor< T >::end ( )
inlinevirtual

Implements osg::PrimitiveIndexFunctor.

Definition at line 63 of file TriangleIndexFunctor.h.

Here is the call graph for this function:

template<class T >
virtual void osg::TriangleIndexFunctor< T >::setVertexArray ( unsigned int  ,
const Vec2  
)
inlinevirtual

Implements osg::PrimitiveIndexFunctor.

Definition at line 28 of file TriangleIndexFunctor.h.

template<class T >
virtual void osg::TriangleIndexFunctor< T >::setVertexArray ( unsigned int  ,
const Vec3  
)
inlinevirtual

Implements osg::PrimitiveIndexFunctor.

Definition at line 32 of file TriangleIndexFunctor.h.

template<class T >
virtual void osg::TriangleIndexFunctor< T >::setVertexArray ( unsigned int  ,
const Vec4  
)
inlinevirtual

Implements osg::PrimitiveIndexFunctor.

Definition at line 36 of file TriangleIndexFunctor.h.

template<class T >
virtual void osg::TriangleIndexFunctor< T >::setVertexArray ( unsigned int  ,
const Vec2d  
)
inlinevirtual

Implements osg::PrimitiveIndexFunctor.

Definition at line 40 of file TriangleIndexFunctor.h.

template<class T >
virtual void osg::TriangleIndexFunctor< T >::setVertexArray ( unsigned int  ,
const Vec3d  
)
inlinevirtual

Implements osg::PrimitiveIndexFunctor.

Definition at line 44 of file TriangleIndexFunctor.h.

template<class T >
virtual void osg::TriangleIndexFunctor< T >::setVertexArray ( unsigned int  ,
const Vec4d  
)
inlinevirtual

Implements osg::PrimitiveIndexFunctor.

Definition at line 48 of file TriangleIndexFunctor.h.

template<class T >
virtual void osg::TriangleIndexFunctor< T >::vertex ( unsigned int  vert)
inlinevirtual

Implements osg::PrimitiveIndexFunctor.

Definition at line 58 of file TriangleIndexFunctor.h.

Member Data Documentation

template<class T >
std::vector<GLuint> osg::TriangleIndexFunctor< T >::_indexCache

Definition at line 339 of file TriangleIndexFunctor.h.

template<class T >
GLenum osg::TriangleIndexFunctor< T >::_modeCache

Definition at line 338 of file TriangleIndexFunctor.h.


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