Public Member Functions | |
StripTexCoordsCB2 () | |
virtual | ~StripTexCoordsCB2 () |
virtual void | faceCB (CBvert *v, CBface *f) |
void | set_dU_loc (GLint loc) |
void | set_dV_loc (GLint loc) |
void | send_dU (Wvec dU) |
void | send_dV (Wvec dV) |
bool | get_valid_grad () |
void | set_valid_grad () |
void | inv_valid_grad () |
void | compute_face_gradients (Patch *patch) |
void | send_d (CBvert *v, CBface *f) |
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 |
Protected Attributes | |
UV_attrib * | att_function |
GLint | dU_loc |
GLint | dV_loc |
map< int, UV_grad > | face_gradient_map |
bool | valid_gradients |
Definition at line 67 of file halftone_shader_ex.C.
|
Definition at line 69 of file halftone_shader_ex.C. References att_function, dU_loc, and dV_loc. |
|
Definition at line 77 of file halftone_shader_ex.C. References att_function. |
|
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 138 of file halftone_shader_ex.C. References att_function, VertAttrib< AttType, RetType >::dFdx(), VertAttrib< AttType, RetType >::dFdy(), VertAttrib< AttType, RetType >::dFdz(), face_gradient_map, Patch::faces(), int(), ARRAY< T >::num(), UV_grad::U_grad, UV_grad::V_grad, and valid_gradients. |
|
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 83 of file halftone_shader_ex.C. References Bvert::alpha(), StripCB::alpha, att_function, Bvert::color(), mlib::Point2< P, V >::data(), UV_attrib::get_attrib(), GL_COL(), glNormal3dv(), glTexCoord2dv(), glVertex3dv(), Bvert::has_color(), Bvert::loc(), Bface::norm(), and send_d(). |
|
Definition at line 132 of file halftone_shader_ex.C. References valid_gradients. |
|
Definition at line 134 of file halftone_shader_ex.C. References valid_gradients. |
|
Definition at line 175 of file halftone_shader_ex.C. References mlib::cross(), face_gradient_map, Bvert::get_faces(), int(), mlib::Vec3< V >::length(), Bvert::norm(), mlib::Vec3< V >::normalized(), ARRAY< T >::num(), send_dU(), send_dV(), UV_grad::U_grad, and UV_grad::V_grad. Referenced by faceCB(). |
|
Definition at line 120 of file halftone_shader_ex.C. References dU_loc, and glVertexAttrib3f. Referenced by send_d(). |
|
Definition at line 126 of file halftone_shader_ex.C. References dV_loc, and glVertexAttrib3f. Referenced by send_d(). |
|
Definition at line 108 of file halftone_shader_ex.C. References dU_loc. |
|
Definition at line 113 of file halftone_shader_ex.C. References dV_loc. |
|
Definition at line 133 of file halftone_shader_ex.C. References valid_gradients. |
|
Reimplemented from StripCB. Reimplemented in ColorIDStripCB. Definition at line 48 of file util.H. References glVertex3dv(), and Bvert::loc(). |
|
Definition at line 39 of file stripcb.H. Referenced by StripColorCB::begin_faces(), StripColorCB::begin_verts(), SmoothShadeTexture::draw(), LineDrawingTexture::draw(), FlatShadeTexture::draw(), CurvatureTexture::draw(), StripColorCB::edgeCB(), SmoothShadeStripCB::faceCB(), faceCB(), FlatShadeStripCB::faceCB(), and StripTexCoordsCB3::faceCB(). |
|
Definition at line 236 of file halftone_shader_ex.C. Referenced by compute_face_gradients(), faceCB(), StripTexCoordsCB2(), and ~StripTexCoordsCB2(). |
|
Definition at line 237 of file halftone_shader_ex.C. Referenced by send_dU(), set_dU_loc(), and StripTexCoordsCB2(). |
|
Definition at line 238 of file halftone_shader_ex.C. Referenced by send_dV(), set_dV_loc(), and StripTexCoordsCB2(). |
|
Definition at line 240 of file halftone_shader_ex.C. Referenced by compute_face_gradients(), and send_d(). |
|
Definition at line 241 of file halftone_shader_ex.C. Referenced by compute_face_gradients(), get_valid_grad(), inv_valid_grad(), and set_valid_grad(). |