Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

StripTexCoordsCB3 Class Reference

Inheritance diagram for StripTexCoordsCB3:

Inheritance graph
[legend]
Collaboration diagram for StripTexCoordsCB3:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StripTexCoordsCB3 ()
virtual ~StripTexCoordsCB3 ()
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_attribatt_function
GLint dU_loc
GLint dV_loc
map< int, UV_gradface_gradient_map
bool valid_gradients

Detailed Description

Definition at line 70 of file dots_ex.C.


Constructor & Destructor Documentation

StripTexCoordsCB3::StripTexCoordsCB3  )  [inline]
 

Definition at line 72 of file dots_ex.C.

References att_function, dU_loc, and dV_loc.

virtual StripTexCoordsCB3::~StripTexCoordsCB3  )  [inline, virtual]
 

Definition at line 80 of file dots_ex.C.

References att_function.


Member Function Documentation

virtual void GLStripCB::begin_edges EdgeStrip  )  [inline, virtual, inherited]
 

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().

virtual void GLStripCB::begin_faces TriStrip  )  [inline, virtual, inherited]
 

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().

virtual void GLStripCB::begin_verts VertStrip  )  [inline, virtual, inherited]
 

Reimplemented from StripCB.

Reimplemented in StripColorCB.

Definition at line 40 of file util.H.

References GL_POINTS, and glBegin().

Referenced by StripColorCB::begin_verts().

void StripTexCoordsCB3::compute_face_gradients Patch patch  )  [inline]
 

Definition at line 139 of file dots_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.

virtual void GLStripCB::edgeCB CBvert v,
CBedge
[inline, virtual, inherited]
 

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().

virtual void GLStripCB::end_edges EdgeStrip  )  [inline, virtual, inherited]
 

Reimplemented from StripCB.

Definition at line 38 of file util.H.

References glEnd().

virtual void GLStripCB::end_faces TriStrip  )  [inline, virtual, inherited]
 

Reimplemented from StripCB.

Definition at line 35 of file util.H.

References glEnd().

virtual void GLStripCB::end_verts VertStrip  )  [inline, virtual, inherited]
 

Reimplemented from StripCB.

Definition at line 41 of file util.H.

References glEnd().

virtual void StripTexCoordsCB3::faceCB CBvert v,
CBface f
[inline, virtual]
 

Reimplemented from GLStripCB.

Definition at line 86 of file dots_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().

bool StripTexCoordsCB3::get_valid_grad  )  [inline]
 

Definition at line 135 of file dots_ex.C.

References valid_gradients.

void StripTexCoordsCB3::inv_valid_grad  )  [inline]
 

Definition at line 137 of file dots_ex.C.

References valid_gradients.

void StripTexCoordsCB3::send_d CBvert v,
CBface f
[inline]
 

Definition at line 176 of file dots_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().

void StripTexCoordsCB3::send_dU Wvec  dU  )  [inline]
 

Definition at line 123 of file dots_ex.C.

References dU_loc, and glVertexAttrib3f.

Referenced by send_d().

void StripTexCoordsCB3::send_dV Wvec  dV  )  [inline]
 

Definition at line 129 of file dots_ex.C.

References dV_loc, and glVertexAttrib3f.

Referenced by send_d().

void StripTexCoordsCB3::set_dU_loc GLint  loc  )  [inline]
 

Definition at line 111 of file dots_ex.C.

References dU_loc.

void StripTexCoordsCB3::set_dV_loc GLint  loc  )  [inline]
 

Definition at line 116 of file dots_ex.C.

References dV_loc.

void StripTexCoordsCB3::set_valid_grad  )  [inline]
 

Definition at line 136 of file dots_ex.C.

References valid_gradients.

virtual void GLStripCB::vertCB CBvert v  )  [inline, virtual, inherited]
 

Reimplemented from StripCB.

Reimplemented in ColorIDStripCB.

Definition at line 48 of file util.H.

References glVertex3dv(), and Bvert::loc().


Member Data Documentation

double StripCB::alpha [inherited]
 

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(), StripTexCoordsCB2::faceCB(), FlatShadeStripCB::faceCB(), and faceCB().

UV_attrib* StripTexCoordsCB3::att_function [protected]
 

Definition at line 234 of file dots_ex.C.

Referenced by compute_face_gradients(), faceCB(), StripTexCoordsCB3(), and ~StripTexCoordsCB3().

GLint StripTexCoordsCB3::dU_loc [protected]
 

Definition at line 235 of file dots_ex.C.

Referenced by send_dU(), set_dU_loc(), and StripTexCoordsCB3().

GLint StripTexCoordsCB3::dV_loc [protected]
 

Definition at line 236 of file dots_ex.C.

Referenced by send_dV(), set_dV_loc(), and StripTexCoordsCB3().

map<int,UV_grad> StripTexCoordsCB3::face_gradient_map [protected]
 

Definition at line 238 of file dots_ex.C.

Referenced by compute_face_gradients(), and send_d().

bool StripTexCoordsCB3::valid_gradients [protected]
 

Definition at line 239 of file dots_ex.C.

Referenced by compute_face_gradients(), get_valid_grad(), inv_valid_grad(), and set_valid_grad().


The documentation for this class was generated from the following file:
Generated on Mon Sep 18 11:47:26 2006 for jot by  doxygen 1.4.4