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

XToonStripCB Class Reference

Inheritance diagram for XToonStripCB:

Inheritance graph
[legend]
Collaboration diagram for XToonStripCB:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 20 of file glsl_xtoon.C.


Member Enumeration Documentation

enum XToonStripCB::normal_t
 

Enumerator:
SMOOTH 
SPHERIC 
ELLIPTIC 
CYLINDRIC 

Definition at line 30 of file glsl_xtoon.C.


Constructor & Destructor Documentation

XToonStripCB::XToonStripCB  )  [inline]
 

Definition at line 22 of file glsl_xtoon.C.


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

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

void XToonStripCB::faceCB CBvert v,
CBface
[virtual]
 

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

void XToonStripCB::set_blendType int  d  )  [inline]
 

Definition at line 25 of file glsl_xtoon.C.

References _blend_type.

Referenced by GLSLXToonShader::get_variable_locs(), and GLSLXToonShader::set_normals().

void XToonStripCB::set_loc GLint  L  )  [inline]
 

Definition at line 24 of file glsl_xtoon.C.

References _loc.

Referenced by GLSLXToonShader::get_variable_locs().

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

int XToonStripCB::_blend_type [private]
 

Definition at line 35 of file glsl_xtoon.C.

Referenced by faceCB(), and set_blendType().

GLint XToonStripCB::_loc [private]
 

Definition at line 34 of file glsl_xtoon.C.

Referenced by faceCB(), and set_loc().

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 StripTexCoordsCB3::faceCB().


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