|
OSG
3.4.0
|
#include <GLBeginEndAdapter.h>

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
Definition at line 31 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 152 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 138 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 162 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 153 of file GLBeginEndAdapter.h.
| Enumerator | |
|---|---|
| APPLY_LOCAL_MATRICES_TO_VERTICES | |
| APPLY_LOCAL_MATRICES_TO_MODELVIEW | |
Definition at line 41 of file GLBeginEndAdapter.h.
| osg::GLBeginEndAdapter::GLBeginEndAdapter | ( | State * | state = 0 | ) |
| void osg::GLBeginEndAdapter::Begin | ( | GLenum | mode | ) |

|
inline |
Definition at line 78 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 71 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 79 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 80 of file GLBeginEndAdapter.h.
| void osg::GLBeginEndAdapter::End | ( | ) |

|
inline |
Definition at line 38 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 39 of file GLBeginEndAdapter.h.
| void osg::GLBeginEndAdapter::LoadIdentity | ( | ) |
|
inline |
Definition at line 103 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 104 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 106 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 107 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 109 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 110 of file GLBeginEndAdapter.h.
| void osg::GLBeginEndAdapter::MultiTexCoord4f | ( | GLenum | target, |
| GLfloat | x, | ||
| GLfloat | y, | ||
| GLfloat | z, | ||
| GLfloat | w | ||
| ) |
|
inline |
Definition at line 113 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 82 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 89 of file GLBeginEndAdapter.h.
| void osg::GLBeginEndAdapter::PopMatrix | ( | ) |
| void osg::GLBeginEndAdapter::PushMatrix | ( | ) |
| void osg::GLBeginEndAdapter::reset | ( | ) |
|
inline |
Definition at line 59 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 58 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 47 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 48 of file GLBeginEndAdapter.h.
Definition at line 37 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 91 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 92 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 94 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 95 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 97 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 98 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 100 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 101 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 57 of file GLBeginEndAdapter.h.
Definition at line 68 of file GLBeginEndAdapter.h.
Definition at line 69 of file GLBeginEndAdapter.h.
| void osg::GLBeginEndAdapter::Vertex3f | ( | GLfloat | x, |
| GLfloat | y, | ||
| GLfloat | z | ||
| ) |
|
inline |
Definition at line 66 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 115 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 116 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 118 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 119 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 121 of file GLBeginEndAdapter.h.
|
inline |
Definition at line 122 of file GLBeginEndAdapter.h.
| void osg::GLBeginEndAdapter::VertexAttrib4f | ( | GLuint | unit, |
| GLfloat | x, | ||
| GLfloat | y, | ||
| GLfloat | z, | ||
| GLfloat | w | ||
| ) |
|
inline |
Definition at line 125 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 145 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 144 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 167 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 139 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 136 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 142 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 141 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 166 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 150 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 148 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 149 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 147 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 164 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 134 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 155 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 156 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 168 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 158 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 159 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 169 of file GLBeginEndAdapter.h.
|
protected |
Definition at line 165 of file GLBeginEndAdapter.h.
1.8.8