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

LineDrawingTexture Class Reference

GTexture that implements the "Line Drawing" rendering style. More...

#include <line_drawing.H>

Inheritance diagram for LineDrawingTexture:

Inheritance graph
[legend]
Collaboration diagram for LineDrawingTexture:

Collaboration graph
[legend]
List of all members.

Public Types

enum  ref_img_t {
  REF_IMG_NONE = 0, REF_IMG_ID = 1, REF_IMG_COLOR = 2, REF_IMG_COLOR_2 = 4,
  REF_IMG_ID_PRE1 = 8, REF_IMG_ID_PRE2 = 16, REF_IMG_ID_PRE3 = 32, REF_IMG_ID_PRE4 = 64,
  REF_IMG_TEX_MEM = 128
}

Public Member Functions

 DEFINE_RTTI_METHODS2 ("BasicTexture", OGLTexture, CDATA_ITEM *)
 DEFINE_RTTI_METHODS2 ("OGLTexture", GTexture, CDATA_ITEM *)
virtual void changed ()
virtual int dl_valid (CVIEWptr &v)
bool set_face_culling () const
int draw_id_sils (bool omit_concave_sils, GLfloat width)
int draw_id_triangles (bool use_polygon_offset, bool draw_id_colors, double offset_factor=Config::get_var_dbl("BMESH_OFFSET_FACTOR", 12.0, true), double offset_units=Config::get_var_dbl("BMESH_OFFSET_UNITS", 1.0, true))
int draw_id_creases (GLfloat width)
int draw_stencil ()
void draw_vert_and_edge_strips (bool disable_lights=0, GLfloat line_width=3, GLfloat point_size=5, bool set_color=1, CCOLOR &color=COLOR::black) const
virtual int draw_vis_ref ()
virtual int draw_id_ref ()
 DEFINE_RTTI_METHODS3 ("Textured patch", GTexture *, DATA_ITEM, CDATA_ITEM *)
STAT_STR_RET type () const
Patchpatch () const
BMESHmesh () const
StripCBcb () const
void set_cb (StripCB *cb)
GTexturectrl () const
void set_ctrl (GTexture *c)
virtual int set_color (CCOLOR &)
virtual GTexture_list gtextures () const
virtual void set_patch (Patch *p)
virtual void push_alpha (double a)
virtual void pop_alpha ()
double alpha () const
virtual bool draws_filled () const
virtual void draw_with_alpha (double alpha)
virtual void draw_filled_tris (double alpha)
virtual void draw_non_filled_tris (double alpha)
virtual int read_stream (istream &, str_list &)
virtual int write_data (ostream &) const
virtual int write_stream (ostream &os) const
virtual CTAGlist & tags () const
virtual void add_tags () const
virtual STDdstreamformat (STDdstream &d) const
virtual STDdstreamdecode (STDdstream &d)
virtual void recompute ()
virtual STAT_STR_RET class_name () const =0
virtual int is_of_type (Cstr_ptr &t) const
virtual int draw_id_ref_pre1 ()
virtual int draw_id_ref_pre2 ()
virtual int draw_id_ref_pre3 ()
virtual int draw_id_ref_pre4 ()
virtual int draw_color_ref ()
virtual int draw_color_ref_2 ()
virtual int draw_tex_mem_ref ()
virtual ref_img_t use_ref_image ()
virtual int draw_ref_img (ref_img_t t)
virtual int draw_final (CVIEWptr &)
Constructors
 LineDrawingTexture (Patch *patch=0, StripCB *cb=0)
 ~LineDrawingTexture ()
RTTI Related
 DEFINE_RTTI_METHODS3 ("Line Drawing", LineDrawingTexture *, BasicTexture, CDATA_ITEM *)
GTexture Virtual Methods
virtual int draw (CVIEWptr &v)
DATA_ITEM Virtual Methods
virtual DATA_ITEMdup () const

Static Public Member Functions

static STAT_STR_RET static_name ()
static STAT_STR_RET static_name ()
static int add_decoder (Cstr_ptr &d, DATA_ITEM *di, int copy=-1)
static void set_default_decoder (DATA_ITEM *(*d)(STDdstream &, Cstr_ptr &, DATA_ITEM *))
static DATA_ITEMDecode (STDdstream &d, int DelayDecoding=0)
static DATA_ITEMlookup (Cstr_ptr &d)
static HASHdi_hash ()
Style Parameter Accessors
static bool get_draw_in_color ()
static void set_draw_in_color (bool draw_in_color_in)
static bool get_draw_contours ()
static void set_draw_contours (bool draw_contours_in)
static bool get_draw_sugcontours ()
static void set_draw_sugcontours (bool draw_sugcontours_in)
static float get_sugcontour_thresh ()
static void set_sugcontour_thresh (float sugcontour_thresh_in)

Protected Member Functions

void delete_dl ()
void check_patch_texture_map ()

Protected Attributes

DLhandler _dl
Patch_patch
StripCB_cb
ARRAY< double > _alphas
GTexture_ctrl
int _copy
TAGlist _DEFINERtags

Static Protected Attributes

static Cstr_ptr _type_name
static Cstr_ptr _begin_tag
static Cstr_ptr _end_tag

Private Attributes

SolidColorTexturesolid_color_texture

Static Private Attributes

static bool draw_in_color = false
 Draw contours in color?
static bool draw_contours = true
 Draw contours (a.k.a. silhouettes)?
static bool draw_sugcontours = true
 Draw suggestive contours?
static float sugcontour_thresh = 0.0
 Suggestive contour threshold.

Detailed Description

GTexture that implements the "Line Drawing" rendering style.

Definition at line 20 of file line_drawing.H.


Member Enumeration Documentation

enum RefImageClient::ref_img_t [inherited]
 

Enumerator:
REF_IMG_NONE 
REF_IMG_ID 
REF_IMG_COLOR 
REF_IMG_COLOR_2 
REF_IMG_ID_PRE1 
REF_IMG_ID_PRE2 
REF_IMG_ID_PRE3 
REF_IMG_ID_PRE4 
REF_IMG_TEX_MEM 

Definition at line 25 of file ref_img_client.H.


Constructor & Destructor Documentation

LineDrawingTexture::LineDrawingTexture Patch patch = 0,
StripCB cb = 0
 

Definition at line 1000 of file line_drawing.C.

LineDrawingTexture::~LineDrawingTexture  ) 
 

Definition at line 1012 of file line_drawing.C.

References solid_color_texture.


Member Function Documentation

int DATA_ITEM::add_decoder Cstr_ptr &  d,
DATA_ITEM di,
int  copy = -1
[static, inherited]
 

Definition at line 41 of file data_item.C.

References DATA_ITEM::_hash, and HASH::add().

Referenced by JOTvar< OBJ, TYPE >::check_inst_name(), FUNC_ITEM::FUNC_ITEM(), hashdist::hashdist(), JOTvar< OBJ, TYPE >::JOTvar(), and DISTRIB::notify_exist().

virtual void DATA_ITEM::add_tags  )  const [inline, virtual, inherited]
 

Definition at line 205 of file data_item.H.

double GTexture::alpha  )  const [inline, inherited]
 

Definition at line 82 of file gtexture.H.

References GTexture::_alphas, GTexture::_patch, ARRAY< T >::empty(), Patch::has_transp(), ARRAY< T >::last(), and Patch::transp().

Referenced by ZcrossTexture::draw(), XToonTexture::draw(), WireframeTexture::draw(), ToonTexture_1D::draw(), SolidColorTexture::draw(), SmoothShadeTexture::draw(), SilsTexture::draw(), VertUVTexture::draw(), VertNormalsTexture::draw(), draw(), FlatShadeTexture::draw(), CurvatureTexture::draw(), CreasesTexture::draw(), ControlFrameTexture::draw_level(), ControlFrameTexture::draw_selected_edges(), ControlFrameTexture::draw_selected_faces(), ControlFrameTexture::draw_selected_verts(), MSLDShader::set_gl_state(), HalftoneShaderEx::set_gl_state(), HalftoneShader::set_gl_state(), GLSLShader::set_gl_state(), GLSLHatching::set_gl_state(), DotsShader_EX::set_gl_state(), and DotsShader::set_gl_state().

StripCB* GTexture::cb  )  const [inline, inherited]
 

Definition at line 44 of file gtexture.H.

References GTexture::_cb.

Referenced by HalftoneShaderEx::changed(), DotsShader_EX::changed(), DotsShader_EX::DotsShader_EX(), draw(), HalftoneShaderEx::draw(), CurvatureTexture::draw(), ColorIDTexture::draw_edges(), OGLTexture::draw_stencil(), DotsShader_EX::draw_tex_mem_ref(), ColorIDTexture::draw_verts(), HalftoneShaderEx::get_variable_locs(), GLSLXToonShader::get_variable_locs(), DotsShader_EX::get_variable_locs(), HalftoneShaderEx::HalftoneShaderEx(), GLSLXToonShader::set_normals(), HalftoneShaderEx::set_patch(), and DotsShader_EX::set_patch().

virtual void BasicTexture::changed  )  [inline, virtual, inherited]
 

Reimplemented from GTexture.

Reimplemented in DotsShader_EX, and HalftoneShaderEx.

Definition at line 80 of file basic_texture.H.

References BasicTexture::_dl, and DLhandler::invalidate().

Referenced by HalftoneShaderEx::changed(), DotsShader_EX::changed(), TriStripsTexture::pop_alpha(), TriStripsTexture::push_alpha(), ColorIDTexture::set_polygon_mode(), MSLDShader::set_tone_shader(), GLSLHatching::set_tone_shader(), and DotsShader::set_tone_shader().

void OGLTexture::check_patch_texture_map  )  [protected, inherited]
 

Definition at line 264 of file basic_texture.C.

References GTexture::_patch, Cstr_ptr, APPEAR::has_texture(), NULL_STR, Patch::set_texture(), Patch::set_texture_file(), and Patch::texture_file().

Referenced by SmoothShadeTexture::draw(), draw(), FlatShadeTexture::draw(), and CurvatureTexture::draw().

virtual STAT_STR_RET DATA_ITEM::class_name  )  const [pure virtual, inherited]
 

Implemented in hashdist, JOTvar< OBJ, TYPE >, TDI< T >, and FUNC_ITEM.

Referenced by DATA_ITEM::decode(), DATA_ITEM::Decode(), GLSLShader::draw(), DATA_ITEM::format(), GLSLShader::get_uniform_loc(), GLSLShader::init(), DISTRIB::interpret(), BaseJOTappConfig::load(), next_texture(), GEOM::print(), DEFINER::print(), BMESH::print(), print_gel(), Patch::put_textures(), BMESH::read_jot_stream(), GTexture::type(), SolidColorTexture::write_stream(), and GTexture::write_stream().

GTexture* GTexture::ctrl  )  const [inline, inherited]
 

Definition at line 47 of file gtexture.H.

References GTexture::_ctrl.

DATA_ITEM * DATA_ITEM::Decode STDdstream d,
int  DelayDecoding = 0
[static, inherited]
 

Definition at line 57 of file data_item.C.

References DATA_ITEM::_copy, DATA_ITEM::_decode_unknown, DATA_ITEM::class_name(), DATA_ITEM::decode(), DATA_ITEM::dup(), Config::get_var_bool(), and DATA_ITEM::lookup().

Referenced by JOThash::get(), DISTRIB::interpret(), and operator>>().

STDdstream & DATA_ITEM::decode STDdstream d  )  [virtual, inherited]
 

Reimplemented in JOTsend_geom, and BMESH.

Definition at line 145 of file data_item.C.

References DATA_ITEM::class_name(), COMMENT::decode(), j, COMMENT::name(), TAGformat::read_end_id(), TAGformat::read_id(), DATA_ITEM::recompute(), and DATA_ITEM::tags().

Referenced by DATA_ITEM::Decode(), BMESH::decode(), JOTio::get(), BMESH::get_patches(), Patch::get_texture(), VIEW::get_view_animator(), and VIEW::get_view_data_file().

OGLTexture::DEFINE_RTTI_METHODS2 "OGLTexture"  ,
GTexture  ,
CDATA_ITEM * 
[inherited]
 

BasicTexture::DEFINE_RTTI_METHODS2 "BasicTexture"  ,
OGLTexture  ,
CDATA_ITEM * 
[inherited]
 

GTexture::DEFINE_RTTI_METHODS3 "Textured patch"  ,
GTexture ,
DATA_ITEM  ,
CDATA_ITEM * 
[inherited]
 

LineDrawingTexture::DEFINE_RTTI_METHODS3 "Line Drawing"  ,
LineDrawingTexture ,
BasicTexture  ,
CDATA_ITEM * 
 

void BasicTexture::delete_dl  )  [inline, protected, inherited]
 

Definition at line 91 of file basic_texture.H.

References BasicTexture::_dl, and DLhandler::delete_all_dl().

Referenced by BasicTexture::~BasicTexture().

static HASH* DATA_ITEM::di_hash  )  [inline, static, inherited]
 

Definition at line 225 of file data_item.H.

References DATA_ITEM::_hash.

int BasicTexture::dl_valid CVIEWptr &  v  )  [virtual, inherited]
 

Definition at line 310 of file basic_texture.C.

References BasicTexture::_dl, GTexture::_patch, Patch::stamp(), and DLhandler::valid().

Referenced by XToonTexture::draw(), ToonTexture_1D::draw(), SmoothShadeTexture::draw(), draw(), GLSLShader::draw(), CurvatureTexture::draw(), and BasicTexture::draw().

int LineDrawingTexture::draw CVIEWptr &  v  )  [virtual]
 

Reimplemented from BasicTexture.

Definition at line 1020 of file line_drawing.C.

References GTexture::_cb, GTexture::_ctrl, BasicTexture::_dl, GTexture::_patch, GTexture::alpha(), StripCB::alpha, Patch::apply_texture(), GTexture::cb(), OGLTexture::check_patch_texture_map(), DLhandler::close_dl(), Patch::color(), DLhandler::dl(), BasicTexture::dl_valid(), BasicTexture::draw(), BMESHdrawable::draw(), SolidColorTexture::draw(), Patch::draw_tri_strips(), DLhandler::get_dl(), GL_COL(), GL_COMPILE, GL_CURRENT_BIT, GL_ENABLE_BIT, glNewList(), glPopAttrib(), glPushAttrib(), RenderingModeSingleton< RenderingModeSelectionPolicy >::Instance(), Patch::num_faces(), GTexture::set_cb(), solid_color_texture, and Patch::stamp().

virtual int RefImageClient::draw_color_ref  )  [inline, virtual, inherited]
 

Reimplemented in GELset.

Definition at line 55 of file ref_img_client.H.

Referenced by RefImageClient::draw_ref_img(), and RefImageClient::draw_tex_mem_ref().

virtual int RefImageClient::draw_color_ref_2  )  [inline, virtual, inherited]
 

Reimplemented in GELset.

Definition at line 56 of file ref_img_client.H.

Referenced by RefImageClient::draw_ref_img().

virtual void GTexture::draw_filled_tris double  alpha  )  [inline, virtual, inherited]
 

Reimplemented in ControlLineTexture, HiddenLineTexture, KeyLineTexture, and NormalsTexture.

Definition at line 112 of file gtexture.H.

References GTexture::draw_with_alpha(), and GTexture::draws_filled().

Referenced by FaderTexture::draw().

virtual int RefImageClient::draw_final CVIEWptr &   )  [inline, virtual, inherited]
 

Reimplemented in GELset, GEOM, GESTURE, ControlLineTexture, HiddenLineTexture, BMESH, and Patch.

Definition at line 100 of file ref_img_client.H.

Referenced by Patch::draw_final(), HiddenLineTexture::draw_final(), and ControlLineTexture::draw_final().

int OGLTexture::draw_id_creases GLfloat  width  )  [inherited]
 

Definition at line 211 of file basic_texture.C.

References GTexture::_patch, Patch::cur_creases(), and ColorIDTexture::draw_edges().

int OGLTexture::draw_id_ref  )  [virtual, inherited]
 

Reimplemented from RefImageClient.

Definition at line 139 of file basic_texture.C.

References GTexture::_patch, ColorIDTexture::draw(), ColorIDTexture::draw_black(), Patch::get_tex(), VIEW::peek(), RefImageClient::REF_IMG_ID, DATA_ITEM::static_name(), and RefImageClient::use_ref_image().

virtual int RefImageClient::draw_id_ref_pre1  )  [inline, virtual, inherited]
 

Reimplemented in GELset.

Definition at line 51 of file ref_img_client.H.

Referenced by RefImageClient::draw_ref_img().

virtual int RefImageClient::draw_id_ref_pre2  )  [inline, virtual, inherited]
 

Reimplemented in GELset.

Definition at line 52 of file ref_img_client.H.

Referenced by RefImageClient::draw_ref_img().

virtual int RefImageClient::draw_id_ref_pre3  )  [inline, virtual, inherited]
 

Reimplemented in GELset.

Definition at line 53 of file ref_img_client.H.

Referenced by RefImageClient::draw_ref_img().

virtual int RefImageClient::draw_id_ref_pre4  )  [inline, virtual, inherited]
 

Reimplemented in GELset.

Definition at line 54 of file ref_img_client.H.

Referenced by RefImageClient::draw_ref_img().

int OGLTexture::draw_id_sils bool  omit_concave_sils,
GLfloat  width
[inherited]
 

Definition at line 160 of file basic_texture.C.

References GTexture::_patch, Patch::cur_sils(), ColorIDTexture::draw_edges(), and EdgeStrip::get_filtered().

int OGLTexture::draw_id_triangles bool  use_polygon_offset,
bool  draw_id_colors,
double  offset_factor = Config::get_var_dbl("BMESH_OFFSET_FACTOR", 12.0, true),
double  offset_units = Config::get_var_dbl("BMESH_OFFSET_UNITS", 1.0, true)
[inherited]
 

Definition at line 186 of file basic_texture.C.

References GTexture::_patch, ColorIDTexture::draw(), ColorIDTexture::draw_black(), GL_VIEW::end_polygon_offset(), err_msg(), Patch::get_tex(), GL_VIEW::init_polygon_offset(), Patch::num_faces(), VIEW::peek(), and DATA_ITEM::static_name().

virtual void GTexture::draw_non_filled_tris double  alpha  )  [inline, virtual, inherited]
 

Reimplemented in ControlLineTexture, HiddenLineTexture, KeyLineTexture, and NormalsTexture.

Definition at line 116 of file gtexture.H.

References GTexture::draw_with_alpha(), and GTexture::draws_filled().

Referenced by FaderTexture::draw().

virtual int RefImageClient::draw_ref_img ref_img_t  t  )  [inline, virtual, inherited]
 

Definition at line 82 of file ref_img_client.H.

References brcase, brdefault, RefImageClient::draw_color_ref(), RefImageClient::draw_color_ref_2(), RefImageClient::draw_id_ref(), RefImageClient::draw_id_ref_pre1(), RefImageClient::draw_id_ref_pre2(), RefImageClient::draw_id_ref_pre3(), RefImageClient::draw_id_ref_pre4(), RefImageClient::draw_tex_mem_ref(), RefImageClient::REF_IMG_COLOR, RefImageClient::REF_IMG_COLOR_2, RefImageClient::REF_IMG_ID, RefImageClient::REF_IMG_ID_PRE1, RefImageClient::REF_IMG_ID_PRE2, RefImageClient::REF_IMG_ID_PRE3, RefImageClient::REF_IMG_ID_PRE4, and RefImageClient::REF_IMG_TEX_MEM.

Referenced by Patch::draw_ref_img().

int OGLTexture::draw_stencil  )  [inherited]
 

Definition at line 91 of file basic_texture.C.

References GTexture::_patch, GTexture::cb(), Patch::draw_tri_strips(), GL_ALWAYS, GL_DEPTH_TEST, GL_INCR, GL_KEEP, glColorMask(), glDisable(), glEnable(), glStencilFunc(), and glStencilOp().

virtual int RefImageClient::draw_tex_mem_ref  )  [inline, virtual, inherited]
 

Reimplemented in DotsShader, DotsShader_EX, GLSLHatching, HalftoneShader, HalftoneShaderEx, and MSLDShader.

Definition at line 57 of file ref_img_client.H.

References RefImageClient::draw_color_ref().

Referenced by RefImageClient::draw_ref_img().

void OGLTexture::draw_vert_and_edge_strips bool  disable_lights = 0,
GLfloat  line_width = 3,
GLfloat  point_size = 5,
bool  set_color = 1,
CCOLOR color = COLOR::black
const [inherited]
 

Definition at line 224 of file basic_texture.C.

References GTexture::_cb, GTexture::_patch, Patch::draw_edge_strips(), Patch::draw_vert_strips(), GL_LIGHTING, glColor3dv(), glDisable(), glLineWidth(), glPointSize(), Patch::num_edge_strips(), and Patch::num_vert_strips().

int OGLTexture::draw_vis_ref  )  [virtual, inherited]
 

Reimplemented from RefImageClient.

Reimplemented in ControlFrameTexture, ControlLineTexture, SilFrameTexture, SilsTexture, WireframeTexture, ZcrossFrameTexture, and ZcrossTexture.

Definition at line 127 of file basic_texture.C.

References GTexture::_patch, BMESHdrawable::draw(), Patch::get_tex(), VIEW::peek(), and DATA_ITEM::static_name().

Referenced by ControlLineTexture::draw_vis_ref().

virtual void GTexture::draw_with_alpha double  alpha  )  [inline, virtual, inherited]
 

Definition at line 97 of file gtexture.H.

References BMESHdrawable::draw(), VIEW::peek(), GTexture::pop_alpha(), and GTexture::push_alpha().

Referenced by FaderTexture::draw(), NormalsTexture::draw_filled_tris(), KeyLineTexture::draw_filled_tris(), HiddenLineTexture::draw_filled_tris(), GTexture::draw_filled_tris(), ControlLineTexture::draw_filled_tris(), NormalsTexture::draw_non_filled_tris(), KeyLineTexture::draw_non_filled_tris(), HiddenLineTexture::draw_non_filled_tris(), GTexture::draw_non_filled_tris(), and ControlLineTexture::draw_non_filled_tris().

virtual bool GTexture::draws_filled  )  const [inline, virtual, inherited]
 

Reimplemented in ControlFrameTexture, VertNormalsTexture, VertUVTexture, SilFrameTexture, SilsTexture, WireframeTexture, ZcrossFrameTexture, and ZcrossTexture.

Definition at line 95 of file gtexture.H.

Referenced by FaderTexture::draw(), GTexture::draw_filled_tris(), and GTexture::draw_non_filled_tris().

virtual DATA_ITEM* LineDrawingTexture::dup  )  const [inline, virtual]
 

Reimplemented from GTexture.

Definition at line 51 of file line_drawing.H.

STDdstream & DATA_ITEM::format STDdstream d  )  const [virtual, inherited]
 

Reimplemented in Animator, JOTdone, JOTsend_geom, and BMESH.

Definition at line 194 of file data_item.C.

References DATA_ITEM::class_name(), TAGformat::end_id(), Config::get_var_bool(), TAGformat::id(), DATA_ITEM::tags(), and STDdstream::write_newline().

Referenced by JOTdone::format(), BMESH::format(), Animator::format(), JOTio::put(), and VIEW::put_view_data_file().

static bool LineDrawingTexture::get_draw_contours  )  [inline, static]
 

Definition at line 62 of file line_drawing.H.

References draw_contours.

Referenced by LineDrawingGLSLMode::setup_for_drawing_outside_dl(), and LineDrawingVprogFprogNoSSDMode::setup_for_drawing_outside_dl().

static bool LineDrawingTexture::get_draw_in_color  )  [inline, static]
 

Definition at line 58 of file line_drawing.H.

References draw_in_color.

Referenced by LineDrawingVprogFprogNoSSDMode::setup_for_drawing_outside_dl().

static bool LineDrawingTexture::get_draw_sugcontours  )  [inline, static]
 

Definition at line 66 of file line_drawing.H.

References draw_sugcontours.

Referenced by LineDrawingGLSLMode::setup_for_drawing_outside_dl(), and LineDrawingVprogFprogNoSSDMode::setup_for_drawing_outside_dl().

static float LineDrawingTexture::get_sugcontour_thresh  )  [inline, static]
 

Definition at line 70 of file line_drawing.H.

References sugcontour_thresh.

Referenced by LineDrawingGLSLMode::setup_for_drawing_outside_dl(), and LineDrawingVprogFprogNoSSDMode::setup_for_drawing_outside_dl().

virtual GTexture_list GTexture::gtextures  )  const [inline, virtual, inherited]
 

Reimplemented in ColorIDTexture, ControlLineTexture, DotsShader, DotsShader_EX, GLSLHatching, HalftoneShader, HalftoneShaderEx, HiddenLineTexture, KeyLineTexture, MSLDShader, NormalsTexture, SilFrameTexture, WireframeTexture, and ZcrossFrameTexture.

Definition at line 58 of file gtexture.H.

Referenced by GTexture::pop_alpha(), GTexture::push_alpha(), and GTexture::set_patch().

virtual int DATA_ITEM::is_of_type Cstr_ptr &  t  )  const [inline, virtual, inherited]
 

Definition at line 214 of file data_item.H.

References IS.

Referenced by BMESH::operator=().

static DATA_ITEM* DATA_ITEM::lookup Cstr_ptr &  d  )  [inline, static, inherited]
 

Definition at line 222 of file data_item.H.

References DATA_ITEM::_hash, and HASH::find().

Referenced by DATA_ITEM::Decode(), FUNC_ITEM::FUNC_ITEM(), Patch::get_tex(), and BMESH::read_jot_stream().

BMESH* GTexture::mesh  )  const [inline, inherited]
 

Definition at line 42 of file gtexture.H.

References GTexture::_patch, and Patch::mesh().

Referenced by ControlFrameTexture::build_strip(), VertUVTexture::draw(), VertNormalsTexture::draw(), ControlLineTexture::draw(), ControlFrameTexture::draw_level(), and OGLTexture::set_face_culling().

Patch* GTexture::patch  )  const [inline, inherited]
 

Definition at line 41 of file gtexture.H.

References GTexture::_patch.

Referenced by VertUVTexture::compute_UV_grads(), HalftoneShaderEx::draw(), ControlFrameTexture::draw_selected_edges(), ControlFrameTexture::draw_selected_faces(), ControlFrameTexture::draw_selected_verts(), and DotsShader_EX::draw_tex_mem_ref().

virtual void GTexture::pop_alpha  )  [inline, virtual, inherited]
 

Reimplemented in TriStripsTexture.

Definition at line 78 of file gtexture.H.

References GTexture::_alphas, GTexture::gtextures(), ARRAY< T >::pop(), and GTexture_list::pop_alpha().

Referenced by GTexture::draw_with_alpha(), TriStripsTexture::pop_alpha(), and GTexture_list::pop_alpha().

virtual void GTexture::push_alpha double  a  )  [inline, virtual, inherited]
 

Reimplemented in TriStripsTexture.

Definition at line 74 of file gtexture.H.

References GTexture::_alphas, GTexture::gtextures(), and GTexture_list::push_alpha().

Referenced by GTexture::draw_with_alpha(), TriStripsTexture::push_alpha(), and GTexture_list::push_alpha().

virtual int GTexture::read_stream istream &  ,
str_list
[inline, virtual, inherited]
 

Reimplemented in SolidColorTexture.

Definition at line 123 of file gtexture.H.

Referenced by Patch::read_texture().

virtual void DATA_ITEM::recompute  )  [inline, virtual, inherited]
 

Reimplemented in Patch.

Definition at line 208 of file data_item.H.

Referenced by DATA_ITEM::decode().

void GTexture::set_cb StripCB cb  )  [inline, inherited]
 

Definition at line 45 of file gtexture.H.

References GTexture::_cb.

Referenced by draw(), and CurvatureTexture::draw().

virtual int GTexture::set_color CCOLOR  )  [inline, virtual, inherited]
 

Reimplemented in ControlFrameTexture, CreasesTexture, GLSLXToonShader, HiddenLineTexture, KeyLineTexture, NormalsTexture, SilFrameTexture, SilsTexture, SolidColorTexture, ToonTexture_1D, WireframeTexture, XToonTexture, ZcrossFrameTexture, and ZcrossTexture.

Definition at line 52 of file gtexture.H.

Referenced by NormalsTexture::set_color().

void GTexture::set_ctrl GTexture c  )  [inline, inherited]
 

Definition at line 48 of file gtexture.H.

References GTexture::_ctrl.

Referenced by FaderTexture::draw(), and FaderTexture::FaderTexture().

static void DATA_ITEM::set_default_decoder DATA_ITEM *(*)(STDdstream &, Cstr_ptr &, DATA_ITEM *)  d  )  [inline, static, inherited]
 

Definition at line 218 of file data_item.H.

References DATA_ITEM::_decode_unknown.

static void LineDrawingTexture::set_draw_contours bool  draw_contours_in  )  [inline, static]
 

Definition at line 64 of file line_drawing.H.

References draw_contours.

Referenced by CurvatureUI::checkbox_cb().

static void LineDrawingTexture::set_draw_in_color bool  draw_in_color_in  )  [inline, static]
 

Definition at line 60 of file line_drawing.H.

References draw_in_color.

Referenced by CurvatureUI::checkbox_cb().

static void LineDrawingTexture::set_draw_sugcontours bool  draw_sugcontours_in  )  [inline, static]
 

Definition at line 68 of file line_drawing.H.

References draw_sugcontours.

Referenced by CurvatureUI::checkbox_cb().

bool OGLTexture::set_face_culling  )  const [inherited]
 

Definition at line 112 of file basic_texture.C.

References get_cur_mesh(), Config::get_var_bool(), GL_CULL_FACE, glDisable(), glEnable(), BMESH::is_closed_surface(), and GTexture::mesh().

Referenced by XToonTexture::draw(), ToonTexture_1D::draw(), SolidColorTexture::draw(), SmoothShadeTexture::draw(), FlatShadeTexture::draw(), ColorIDTexture::draw(), and GLSLShader::set_gl_state().

virtual void GTexture::set_patch Patch p  )  [inline, virtual, inherited]
 

Reimplemented in DotsShader_EX, and HalftoneShaderEx.

Definition at line 60 of file gtexture.H.

References GTexture::_patch, GTexture::changed(), GTexture::gtextures(), and GTexture_list::set_patch().

Referenced by GLSLPaperShader::begin_glsl_paper(), GLSLPaperShader::end_glsl_paper(), Patch::get_tex(), HalftoneShaderEx::set_patch(), GTexture_list::set_patch(), and DotsShader_EX::set_patch().

static void LineDrawingTexture::set_sugcontour_thresh float  sugcontour_thresh_in  )  [inline, static]
 

Definition at line 72 of file line_drawing.H.

References sugcontour_thresh.

Referenced by CurvatureUI::slider_cb().

static STAT_STR_RET RefImageClient::static_name  )  [inline, static, inherited]
 

Definition at line 44 of file ref_img_client.H.

References RET_STAT_STR.

Referenced by BMESH::operator=().

STAT_STR_RET DATA_ITEM::static_name  )  [static, inherited]
 

Definition at line 31 of file data_item.C.

References RET_STAT_STR.

Referenced by BALLwidget_anchor::BALLwidget_anchor(), CAMwidget_anchor::CAMwidget_anchor(), Patch::cur_tex(), OGLTexture::draw_id_ref(), OGLTexture::draw_id_triangles(), OGLTexture::draw_vis_ref(), VIEW::get_view_animator(), GRIDwidget_anchor::GRIDwidget_anchor(), and toggle_sil_frame().

CTAGlist & GTexture::tags  )  const [virtual, inherited]
 

Reimplemented from DATA_ITEM.

Reimplemented in SolidColorTexture, ToonTexture_1D, and XToonTexture.

Definition at line 15 of file gtexture.C.

Referenced by XToonTexture::tags(), ToonTexture_1D::tags(), and SolidColorTexture::tags().

STAT_STR_RET GTexture::type  )  const [inline, inherited]
 

Definition at line 37 of file gtexture.H.

References DATA_ITEM::class_name().

virtual ref_img_t RefImageClient::use_ref_image  )  [inline, virtual, inherited]
 

Reimplemented in GEOM, DotsShader, DotsShader_EX, GLSLHatching, HalftoneShader, HalftoneShaderEx, MSLDShader, BMESH, and Patch.

Definition at line 60 of file ref_img_client.H.

References RefImageClient::REF_IMG_NONE.

Referenced by OGLTexture::draw_id_ref(), and Patch::use_ref_image().

virtual int GTexture::write_data ostream &   )  const [inline, virtual, inherited]
 

Definition at line 124 of file gtexture.H.

Referenced by GTexture::write_stream().

virtual int GTexture::write_stream ostream &  os  )  const [inline, virtual, inherited]
 

Reimplemented in SolidColorTexture.

Definition at line 125 of file gtexture.H.

References GTexture::_begin_tag, GTexture::_end_tag, DATA_ITEM::class_name(), and GTexture::write_data().

Referenced by GTexture_list::write_stream().


Member Data Documentation

ARRAY<double> GTexture::_alphas [protected, inherited]
 

Definition at line 145 of file gtexture.H.

Referenced by GTexture::alpha(), GTexture::pop_alpha(), and GTexture::push_alpha().

Cstr_ptr GTexture::_begin_tag [static, protected, inherited]
 

Definition at line 153 of file gtexture.H.

Referenced by SolidColorTexture::write_stream(), and GTexture::write_stream().

StripCB* GTexture::_cb [protected, inherited]
 

Definition at line 141 of file gtexture.H.

Referenced by GTexture::cb(), XToonTexture::draw(), WireframeTexture::draw(), TriStripsTexture::draw(), ToonTexture_1D::draw(), SolidColorTexture::draw(), SmoothShadeTexture::draw(), SilsTexture::draw(), draw(), GLSLShader::draw(), FlatShadeTexture::draw(), CurvatureTexture::draw(), CreasesTexture::draw(), ColorIDTexture::draw(), ControlFrameTexture::draw_level(), OGLTexture::draw_vert_and_edge_strips(), GLSLXToonShader::get_variable_locs(), GTexture::set_cb(), GLSLXToonShader::set_normals(), and GTexture::~GTexture().

int DATA_ITEM::_copy [protected, inherited]
 

Definition at line 197 of file data_item.H.

Referenced by DATA_ITEM::Decode().

GTexture* GTexture::_ctrl [protected, inherited]
 

Definition at line 149 of file gtexture.H.

Referenced by GTexture::ctrl(), ZcrossTexture::draw(), ZcrossFrameTexture::draw(), XToonTexture::draw(), WireframeTexture::draw(), ToonTexture_1D::draw(), SolidColorTexture::draw(), SmoothShadeTexture::draw(), SilsTexture::draw(), SilFrameTexture::draw(), NormalsTexture::draw(), VertUVTexture::draw(), VertNormalsTexture::draw(), draw(), KeyLineTexture::draw(), HiddenLineTexture::draw(), FlatShadeTexture::draw(), CurvatureTexture::draw(), CreasesTexture::draw(), ControlLineTexture::draw(), ControlFrameTexture::draw(), HiddenLineTexture::draw_final(), ControlLineTexture::draw_final(), and GTexture::set_ctrl().

TAGlist DATA_ITEM::_DEFINERtags [protected, inherited]
 

Definition at line 198 of file data_item.H.

Referenced by DATA_ITEM::tags().

DLhandler BasicTexture::_dl [protected, inherited]
 

Definition at line 89 of file basic_texture.H.

Referenced by BasicTexture::changed(), BasicTexture::delete_dl(), BasicTexture::dl_valid(), XToonTexture::draw(), WireframeTexture::draw(), ToonTexture_1D::draw(), SolidColorTexture::draw(), SmoothShadeTexture::draw(), VertUVTexture::draw(), VertNormalsTexture::draw(), draw(), GLSLShader::draw(), FlatShadeTexture::draw(), CurvatureTexture::draw(), CreasesTexture::draw(), ControlFrameTexture::draw(), ColorIDTexture::draw(), and BasicTexture::draw().

Cstr_ptr GTexture::_end_tag [static, protected, inherited]
 

Definition at line 154 of file gtexture.H.

Referenced by SolidColorTexture::write_stream(), and GTexture::write_stream().

Patch* GTexture::_patch [protected, inherited]
 

Definition at line 140 of file gtexture.H.

Referenced by GTexture::alpha(), ControlFrameTexture::build_strip(), OGLTexture::check_patch_texture_map(), BasicTexture::dl_valid(), ZcrossTexture::draw(), XToonTexture::draw(), WireframeTexture::draw(), TriStripsTexture::draw(), ToonTexture_1D::draw(), SolidColorTexture::draw(), SmoothShadeTexture::draw(), SilsTexture::draw(), NormalsTexture::draw(), VertUVTexture::draw(), VertNormalsTexture::draw(), draw(), KeyLineTexture::draw(), GLSLLightingShader::draw(), GLSLShader::draw(), FlatShadeTexture::draw(), FaderTexture::draw(), CurvatureTexture::draw(), CreasesTexture::draw(), ControlLineTexture::draw(), ControlFrameTexture::draw(), ColorIDTexture::draw(), HiddenLineTexture::draw_final(), ControlLineTexture::draw_final(), KeyLineTexture::draw_hidden(), OGLTexture::draw_id_creases(), OGLTexture::draw_id_ref(), OGLTexture::draw_id_sils(), OGLTexture::draw_id_triangles(), OGLTexture::draw_stencil(), OGLTexture::draw_vert_and_edge_strips(), ZcrossTexture::draw_vis_ref(), SilsTexture::draw_vis_ref(), ControlLineTexture::draw_vis_ref(), OGLTexture::draw_vis_ref(), GTexture::mesh(), GTexture::patch(), GLSLShader::set_gl_state(), GLSLXToonShader::set_normals(), GTexture::set_patch(), MSLDShader::set_uniform_variables(), HalftoneShaderEx::set_uniform_variables(), HalftoneShader::set_uniform_variables(), GLSLPaperShader::set_uniform_variables(), GLSLNormalShader::set_uniform_variables(), DotsShader_EX::set_uniform_variables(), DotsShader::set_uniform_variables(), XToonTexture::update_cam(), XToonTexture::update_lights(), and ToonTexture_1D::update_lights().

Cstr_ptr GTexture::_type_name [static, protected, inherited]
 

Definition at line 152 of file gtexture.H.

bool LineDrawingTexture::draw_contours = true [static, private]
 

Draw contours (a.k.a. silhouettes)?

Definition at line 82 of file line_drawing.H.

Referenced by get_draw_contours(), and set_draw_contours().

bool LineDrawingTexture::draw_in_color = false [static, private]
 

Draw contours in color?

Definition at line 81 of file line_drawing.H.

Referenced by get_draw_in_color(), and set_draw_in_color().

bool LineDrawingTexture::draw_sugcontours = true [static, private]
 

Draw suggestive contours?

Definition at line 83 of file line_drawing.H.

Referenced by get_draw_sugcontours(), and set_draw_sugcontours().

SolidColorTexture* LineDrawingTexture::solid_color_texture [private]
 

Definition at line 79 of file line_drawing.H.

Referenced by draw(), and ~LineDrawingTexture().

float LineDrawingTexture::sugcontour_thresh = 0.0 [static, private]
 

Suggestive contour threshold.

Definition at line 84 of file line_drawing.H.

Referenced by get_sugcontour_thresh(), and set_sugcontour_thresh().


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