#include <flat_shade.H>
Inheritance diagram for FlatShadeStripCB:
Public Member Functions | |
FlatShadeStripCB () | |
~FlatShadeStripCB () | |
virtual void | begin_faces (TriStrip *) |
virtual void | end_faces (TriStrip *) |
virtual void | begin_edges (EdgeStrip *) |
virtual void | end_edges (EdgeStrip *) |
virtual void | begin_verts (VertStrip *) |
virtual void | end_verts (VertStrip *) |
virtual void | edgeCB (CBvert *v, CBedge *) |
virtual void | vertCB (CBvert *v) |
Accessor Functions | |
void | enable_texcoords () |
void | disable_texcoords () |
bool | texcoords_enabled () |
void | enable_autoUV () |
void | disable_autoUV () |
bool | autoUV_enabled () |
Callback Hooks | |
virtual void | faceCB (CBvert *v, CBface *f) |
Public Attributes | |
double | alpha |
Private Attributes | |
bool | do_texcoords |
Should texture coordinates be sent to OpenGL with each vertex? | |
bool | use_auto |
TexCoordGen * | auto_UV |
This is the GLStripCB for the FlatShadeTexture GTexture.
Definition at line 25 of file flat_shade.H.
|
Definition at line 29 of file flat_shade.H. References auto_UV, TexCoordGen::setup(), and use_auto. |
|
Definition at line 36 of file flat_shade.H. References auto_UV. |
|
Definition at line 50 of file flat_shade.H. References use_auto. |
|
Reimplemented from StripCB. Reimplemented in StripColorCB. Definition at line 37 of file util.H. References GL_LINE_STRIP, and glBegin(). Referenced by StripColorCB::begin_edges(). |
|
Reimplemented from StripCB. Reimplemented in StripColorCB. Definition at line 34 of file util.H. References GL_TRIANGLE_STRIP, and glBegin(). Referenced by StripColorCB::begin_faces(). |
|
Reimplemented from StripCB. Reimplemented in StripColorCB. Definition at line 40 of file util.H. References GL_POINTS, and glBegin(). Referenced by StripColorCB::begin_verts(). |
|
Definition at line 49 of file flat_shade.H. References use_auto. |
|
Definition at line 45 of file flat_shade.H. References do_texcoords. Referenced by FlatShadeTexture::draw(). |
|
Reimplemented from StripCB. Reimplemented in ColorIDStripCB, and StripColorCB. Definition at line 47 of file util.H. References glVertex3dv(), and Bvert::loc(). Referenced by StripColorCB::edgeCB(). |
|
Definition at line 48 of file flat_shade.H. References use_auto. |
|
Definition at line 44 of file flat_shade.H. References do_texcoords. Referenced by FlatShadeTexture::draw(). |
|
Reimplemented from StripCB. Definition at line 38 of file util.H. References glEnd(). |
|
Reimplemented from StripCB. Definition at line 35 of file util.H. References glEnd(). |
|
Reimplemented from StripCB. Definition at line 41 of file util.H. References glEnd(). |
|
Reimplemented from GLStripCB. Definition at line 27 of file flat_shade.C. References Bvert::alpha(), StripCB::alpha, auto_UV, Bvert::color(), mlib::Point2< P, V >::data(), do_texcoords, UVdata::get_uv(), GL_COL(), glNormal3dv(), glTexCoord2dv(), glVertex3dv(), Bvert::has_color(), Bvert::loc(), UVdata::lookup(), Bface::norm(), Bface::patch(), Patch::tex_coord_gen(), use_auto, and TexCoordGen::uv_from_vert(). |
|
Definition at line 46 of file flat_shade.H. References do_texcoords. |
|
Reimplemented from StripCB. Reimplemented in ColorIDStripCB. Definition at line 48 of file util.H. References glVertex3dv(), and Bvert::loc(). |
|
|
Definition at line 66 of file flat_shade.H. Referenced by faceCB(), FlatShadeStripCB(), and ~FlatShadeStripCB(). |
|
Should texture coordinates be sent to OpenGL with each vertex?
Definition at line 64 of file flat_shade.H. Referenced by disable_texcoords(), enable_texcoords(), faceCB(), and texcoords_enabled(). |
|
Definition at line 65 of file flat_shade.H. Referenced by autoUV_enabled(), disable_autoUV(), enable_autoUV(), faceCB(), and FlatShadeStripCB(). |