OpenSceneGraph 3.6.5
osg::TriangleLinePointIndexFunctor< T > Class Template Reference

#include <TriangleLinePointIndexFunctor>

Inheritance diagram for osg::TriangleLinePointIndexFunctor< T >:

Public Member Functions

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 begin (GLenum mode)
virtual void vertex (unsigned int vert)
virtual void end ()
virtual void drawArrays (GLenum mode, GLint first, GLsizei count)
template<typename I>
void drawElements (GLenum mode, GLsizei count, const I *indices)
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 ()

Public Attributes

GLenum _modeCache
std::vector< GLuint > _indexCache
std::vector< unsigned int > _remap

Member Function Documentation

◆ begin()

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

References _indexCache, and _modeCache.

◆ drawArrays()

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

◆ drawElements() [1/4]

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

Implements osg::PrimitiveIndexFunctor.

References drawElements().

◆ drawElements() [2/4]

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

Implements osg::PrimitiveIndexFunctor.

References drawElements().

◆ drawElements() [3/4]

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

Implements osg::PrimitiveIndexFunctor.

References drawElements().

◆ drawElements() [4/4]

template<class T>
template<typename I>
void osg::TriangleLinePointIndexFunctor< T >::drawElements ( GLenum mode,
GLsizei count,
const I * indices )
inline

◆ end()

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

◆ setVertexArray() [1/6]

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

◆ setVertexArray() [2/6]

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

◆ setVertexArray() [3/6]

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

◆ setVertexArray() [4/6]

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

◆ setVertexArray() [5/6]

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

◆ setVertexArray() [6/6]

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

◆ vertex()

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

References _indexCache.

Member Data Documentation

◆ _indexCache

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

Referenced by begin(), end(), and vertex().

◆ _modeCache

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

Referenced by begin(), and end().

◆ _remap

template<class T>
std::vector<unsigned int> osg::TriangleLinePointIndexFunctor< T >::_remap

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

osg logo
Generated at Sun Jul 20 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0.