Public Types | |
enum | normal_t { SMOOTH = 0, SPHERIC, ELLIPTIC, CYLINDRIC } |
Public Member Functions | |
XToonStripCB () | |
void | set_loc (GLint L) |
void | set_blendType (int d) |
virtual void | faceCB (CBvert *v, CBface *) |
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) |
Public Attributes | |
double | alpha |
Private Attributes | |
GLint | _loc |
int | _blend_type |
Definition at line 20 of file glsl_xtoon.C.
|
Definition at line 30 of file glsl_xtoon.C. |
|
Definition at line 22 of file glsl_xtoon.C. |
|
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(). |
|
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(). |
|
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 39 of file glsl_xtoon.C. References _blend_type, _loc, CYLINDRIC, ELLIPTIC, Bvert::get_all_faces(), BMESH::get_bb(), glNormal3dv(), glVertex3dv(), glVertexAttrib3f, Bvert::loc(), Bsimplex::mesh(), mlib::Vec3< V >::normalized(), SMOOTH, SPHERIC, Bface::vert_normal(), mlib::Wvec::X(), mlib::Wvec::Y(), and mlib::Wvec::Z(). |
|
Definition at line 25 of file glsl_xtoon.C. References _blend_type. Referenced by GLSLXToonShader::get_variable_locs(), and GLSLXToonShader::set_normals(). |
|
Definition at line 24 of file glsl_xtoon.C. References _loc. Referenced by GLSLXToonShader::get_variable_locs(). |
|
Reimplemented from StripCB. Reimplemented in ColorIDStripCB. Definition at line 48 of file util.H. References glVertex3dv(), and Bvert::loc(). |
|
Definition at line 35 of file glsl_xtoon.C. Referenced by faceCB(), and set_blendType(). |
|
Definition at line 34 of file glsl_xtoon.C. |
|