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

GtexUtil Namespace Reference


Functions

str_ptr toon_path ()
str_ptr toon_name (Cstr_ptr &name)
void setup_material (APPEAR *a)
void draw_strip (EdgeStrip &strip, double width, CCOLOR &color, double alpha=1, StripCB *cb=0)
void draw_strip (EdgeStrip &strip, double width=1, StripCB *cb=0)
SHOW_TRIS::Triangle tri (Bface *f)
GELptr show_tris (CBface_list &faces, CCOLOR &col=Color::yellow)
GELptr show (Bedge *e, double width=2, CCOLOR &col=Color::blue, double alpha=1, bool depth_test=true)
GELlist show (CBedge_list &edges, double width=2, CCOLOR &col=Color::blue, double alpha=1, bool depth_test=true)


Function Documentation

void GtexUtil::draw_strip EdgeStrip strip,
double  width = 1,
StripCB cb = 0
[inline]
 

Definition at line 112 of file util.H.

References Color::black(), and draw_strip().

void GtexUtil::draw_strip EdgeStrip strip,
double  width,
CCOLOR color,
double  alpha = 1,
StripCB cb = 0
[inline]
 

Definition at line 93 of file util.H.

References EdgeStrip::draw(), GL_VIEW::end_line_smooth(), GL_COL(), GL_CURRENT_BIT, GL_LIGHTING, glDisable(), GL_VIEW::init_line_smooth(), and VIEW::peek().

Referenced by FlatShadeTexture::draw(), and draw_strip().

void GtexUtil::setup_material APPEAR a  )  [inline]
 

Definition at line 78 of file util.H.

References APPEAR::ambient_color(), APPEAR::color(), GL_AMBIENT, GL_DIFFUSE, GL_FRONT_AND_BACK, GL_SHININESS, GL_SPECULAR, glMaterialf(), glMaterialfv(), APPEAR::shininess(), APPEAR::specular_color(), and APPEAR::transp().

Referenced by GLSLLightingShader::draw(), and FlatShadeTexture::draw().

GELlist GtexUtil::show CBedge_list edges,
double  width = 2,
CCOLOR col = Color::blue,
double  alpha = 1,
bool  depth_test = true
[inline]
 

Definition at line 148 of file util.H.

References ARRAY< T >::num(), and show().

GELptr GtexUtil::show Bedge e,
double  width = 2,
CCOLOR col = Color::blue,
double  alpha = 1,
bool  depth_test = true
[inline]
 

Definition at line 134 of file util.H.

References Bedge::v1(), Bedge::v2(), and Bvert::wloc().

Referenced by check(), print_edge_info(), REF_CLASS(), show(), UVdata::split(), and SimpleUVCalc::subdiv_val().

GELptr GtexUtil::show_tris CBface_list faces,
CCOLOR col = Color::yellow
[inline]
 

Definition at line 123 of file util.H.

References ARRAY< T >::num(), tri(), and tris.

Referenced by UVdata::get_uv(), and UVdata::split().

str_ptr GtexUtil::toon_name Cstr_ptr &  name  )  [inline]
 

Definition at line 74 of file util.H.

References toon_path().

Referenced by GLSLHaloShader::GLSLHaloShader(), GLSLToonShader::GLSLToonShader(), and GLSLToonShaderHalo::GLSLToonShaderHalo().

str_ptr GtexUtil::toon_path  )  [inline]
 

Definition at line 71 of file util.H.

References Config::JOT_ROOT().

Referenced by toon_name().

SHOW_TRIS::Triangle GtexUtil::tri Bface f  )  [inline]
 

Definition at line 117 of file util.H.

References Bface::v1(), Bface::v2(), Bface::v3(), and Bvert::wloc().

Referenced by UVMapping::add_face(), show_tris(), and HybridCalc< Wpt >::subdiv_val().


Generated on Mon Sep 18 11:48:09 2006 for jot by  doxygen 1.4.4