OpenSceneGraph
3.5.1
|
A class adapting OpenGL 1.0 glBegin()/glEnd() style code to vertex array based code. More...
Public Types | |
enum | MatrixMode { APPLY_LOCAL_MATRICES_TO_VERTICES, APPLY_LOCAL_MATRICES_TO_MODELVIEW } |
Public Member Functions | |
GLBeginEndAdapter (State *state=0) | |
void | setState (State *state) |
State * | getState () |
const State * | getState () const |
void | setMatrixMode (MatrixMode mode) |
MatrixMode | setMatrixMode () const |
void | PushMatrix () |
void | PopMatrix () |
void | LoadIdentity () |
void | LoadMatrixd (const GLdouble *m) |
void | MultMatrixd (const GLdouble *m) |
void | Translatef (GLfloat x, GLfloat y, GLfloat z) |
void | Scalef (GLfloat x, GLfloat y, GLfloat z) |
void | Rotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z) |
void | Translated (GLdouble x, GLdouble y, GLdouble z) |
void | Scaled (GLdouble x, GLdouble y, GLdouble z) |
void | Rotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z) |
void | Vertex3f (GLfloat x, GLfloat y, GLfloat z) |
void | Vertex3fv (const GLfloat *v) |
void | Vertex3dv (GLdouble x, GLdouble y, GLdouble z) |
void | Vertex3dv (const GLdouble *v) |
void | Color4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
void | Color3fv (const GLfloat *c) |
void | Color4fv (const GLfloat *c) |
void | Color4ubv (const GLubyte *c) |
void | Normal3f (GLfloat x, GLfloat y, GLfloat z) |
void | Normal3fv (const GLfloat *n) |
void | TexCoord1f (GLfloat x) |
void | TexCoord1fv (const GLfloat *tc) |
void | TexCoord2f (GLfloat x, GLfloat y) |
void | TexCoord2fv (const GLfloat *tc) |
void | TexCoord3f (GLfloat x, GLfloat y, GLfloat z) |
void | TexCoord3fv (const GLfloat *tc) |
void | TexCoord4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
void | TexCoord4fv (const GLfloat *tc) |
void | MultiTexCoord1f (GLenum target, GLfloat x) |
void | MultiTexCoord1fv (GLenum target, const GLfloat *tc) |
void | MultiTexCoord2f (GLenum target, GLfloat x, GLfloat y) |
void | MultiTexCoord2fv (GLenum target, const GLfloat *tc) |
void | MultiTexCoord3f (GLenum target, GLfloat x, GLfloat y, GLfloat z) |
void | MultiTexCoord3fv (GLenum target, const GLfloat *tc) |
void | MultiTexCoord4f (GLenum target, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
void | MultiTexCoord4fv (GLenum target, const GLfloat *tc) |
void | VertexAttrib1f (GLuint unit, GLfloat x) |
void | VertexAttrib1fv (GLuint unit, const GLfloat *tc) |
void | VertexAttrib2f (GLuint unit, GLfloat x, GLfloat y) |
void | VertexAttrib2fv (GLuint unit, const GLfloat *tc) |
void | VertexAttrib3f (GLuint unit, GLfloat x, GLfloat y, GLfloat z) |
void | VertexAttrib3fv (GLuint unit, const GLfloat *tc) |
void | VertexAttrib4f (GLuint unit, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
void | VertexAttrib4fv (GLuint unit, const GLfloat *tc) |
void | Begin (GLenum mode) |
void | End () |
void | reset () |
Protected Types | |
typedef std::list< Matrixd > | MatrixStack |
typedef std::vector< bool > | AssignedList |
typedef std::vector< osg::Vec4f > | VertexList |
typedef std::vector< osg::ref_ptr< Vec4Array > > | VertexArrayList |
A class adapting OpenGL 1.0 glBegin()/glEnd() style code to vertex array based code.
|
protected |
|
protected |
|
protected |
|
protected |
osg::GLBeginEndAdapter::GLBeginEndAdapter | ( | State * | state = 0 | ) |
void osg::GLBeginEndAdapter::Begin | ( | GLenum | mode | ) |
|
inline |
|
inline |
|
inline |
|
inline |
void osg::GLBeginEndAdapter::End | ( | ) |
|
inline |
|
inline |
void osg::GLBeginEndAdapter::LoadIdentity | ( | ) |
void osg::GLBeginEndAdapter::LoadMatrixd | ( | const GLdouble * | m | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void osg::GLBeginEndAdapter::MultiTexCoord4f | ( | GLenum | target, |
GLfloat | x, | ||
GLfloat | y, | ||
GLfloat | z, | ||
GLfloat | w | ||
) |
|
inline |
void osg::GLBeginEndAdapter::MultMatrixd | ( | const GLdouble * | m | ) |
|
inline |
|
inline |
void osg::GLBeginEndAdapter::PopMatrix | ( | ) |
void osg::GLBeginEndAdapter::PushMatrix | ( | ) |
void osg::GLBeginEndAdapter::reset | ( | ) |
void osg::GLBeginEndAdapter::Rotated | ( | GLdouble | angle, |
GLdouble | x, | ||
GLdouble | y, | ||
GLdouble | z | ||
) |
|
inline |
void osg::GLBeginEndAdapter::Scaled | ( | GLdouble | x, |
GLdouble | y, | ||
GLdouble | z | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void osg::GLBeginEndAdapter::Translated | ( | GLdouble | x, |
GLdouble | y, | ||
GLdouble | z | ||
) |
|
inline |
|
inline |
|
inline |
void osg::GLBeginEndAdapter::Vertex3f | ( | GLfloat | x, |
GLfloat | y, | ||
GLfloat | z | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void osg::GLBeginEndAdapter::VertexAttrib4f | ( | GLuint | unit, |
GLfloat | x, | ||
GLfloat | y, | ||
GLfloat | z, | ||
GLfloat | w | ||
) |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at Wed Nov 11 2015 22:14:34 for the OpenSceneGraph by doxygen 1.8.10. |