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

GLSLSolidShader Class Reference

#include <glsl_solid.H>

Inheritance diagram for GLSLSolidShader:

Inheritance graph
[legend]
Collaboration diagram for GLSLSolidShader:

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

 GLSLSolidShader (Patch *patch=0)
 DEFINE_RTTI_METHODS3 ("GLSL Solid", GLSLSolidShader *, BasicTexture, CDATA_ITEM *)
virtual GLuint & program ()
virtual booldid_init ()
virtual DATA_ITEMdup () const
 DEFINE_RTTI_METHODS3 ("GLSL paper", GLSLPaperShader *, BasicTexture, CDATA_ITEM *)
 DEFINE_RTTI_METHODS3 ("GLSLShader", GLSLShader *, BasicTexture, CDATA_ITEM *)
 DEFINE_RTTI_METHODS3 ("Textured patch", GTexture *, DATA_ITEM, CDATA_ITEM *)
virtual bool get_variable_locs ()
virtual bool set_uniform_variables () const
virtual void init_textures ()
virtual void activate_textures ()
str_ptr shader_path () const
str_ptr vp_name (Cstr_ptr &name) const
str_ptr fp_name (Cstr_ptr &name) const
bool get_uniform_loc (Cstr_ptr &name, GLint &loc)
GLint get_uniform_loc (Cstr_ptr &name)
virtual bool bind_attributes (GLuint prog)
virtual void set_gl_state (GLbitfield mask=0) const
virtual void restore_gl_state () const
virtual int draw (CVIEWptr &v)
 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 ()
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 &)

Static Public Member Functions

static GLSLPaperShaderinstance ()
static TEXTUREglptr get_texture ()
static str_ptr get_paper_filename ()
static void set_contrast (double c)
static void set_paper (Cstr_ptr &full_path_name)
static void set_tex (Cstr_ptr &full_path_name)
static void begin_glsl_paper (Patch *p)
static void end_glsl_paper ()
static void set_do_texture (bool v)
static bool get_do_texture ()
static bool load_texture (TEXTUREglptr &tex)
static bool activate_texture (TEXTUREglptr &tex)
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 ()

Protected Member Functions

virtual str_ptr vp_filename ()
virtual str_ptr fp_filename ()
bool init ()
void activate_program ()
void deactivate_program () const
virtual str_list vp_filenames ()
virtual str_list fp_filenames ()
virtual void set_ref_tex_shader ()
virtual void use_ref_tex_shader ()
void delete_dl ()
void check_patch_texture_map ()

Static Protected Member Functions

static void use_program (GLuint prog)
static void delete_program (GLuint &prog)
static void delete_shader (GLuint shader)
static void delete_shaders (CARRAY< GLuint > &shaders)
static void print_shader_source (GLuint shader)
static void print_info (Cstr_ptr &gtex_name, GLuint obj)
static bool link_program (Cstr_ptr &gtex_name, GLuint prog)
static bool compile_shader (Cstr_ptr &gtex_name, GLuint shader)
static GLuint load_shader (Cstr_ptr &gtex_name, Cstr_ptr &filename, GLenum type)
static bool load_shaders (Cstr_ptr &gtex_name, Cstr_list &filenames, ARRAY< GLuint > &shaders, GLenum type)
static char * read_file (Cstr_ptr &gtex_name, Cstr_ptr &filename, GLint &len)
static bool attach_shaders (CARRAY< GLuint > &shaders, GLuint prog)

Protected Attributes

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

Static Protected Attributes

static GLuint _program = 0
static bool _did_init = false
static GLSLPaperShader_instance
static TEXTUREglptr _paper_tex
static str_ptr _paper_tex_name
static str_ptr _paper_tex_filename = "basic_paper.png"
static TEXTUREglptr _tex
static str_ptr _tex_name
static double _contrast = 4.0
static GLint _paper_tex_loc
static GLint _tex_loc
static GLint _sample_origin
static GLint _sample_u_vec
static GLint _sample_v_vec
static GLint _st_loc
static GLint _tex_width_loc
static GLint _tex_height_loc
static GLint _contrast_loc
static bool _do_texture
static Cstr_ptr _type_name
static Cstr_ptr _begin_tag
static Cstr_ptr _end_tag

Detailed Description

Definition at line 15 of file glsl_solid.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

GLSLSolidShader::GLSLSolidShader Patch patch = 0  ) 
 

Definition at line 14 of file glsl_solid.C.


Member Function Documentation

void GLSLShader::activate_program  )  [inline, protected, inherited]
 

Definition at line 137 of file glsl_shader.H.

References GLSLShader::program(), and GLSLShader::use_program().

Referenced by GLSLPaperShader::begin_glsl_paper(), GLSLShader::draw(), GLSLToonShader::draw_start(), and GLSLShader::init().

bool GLSLShader::activate_texture TEXTUREglptr &  tex  )  [static, inherited]
 

Definition at line 414 of file glsl_shader.C.

References GLSLShader::load_texture().

Referenced by HalftoneShaderEx::activate_textures(), HalftoneShader::activate_textures(), GLSLXToonShader::activate_textures(), GLSLToonShaderHalo::activate_textures(), GLSLToonShader::activate_textures(), GLSLPerlinTest::activate_textures(), GLSLPaperShader::activate_textures(), and GLSLMarbleShader::activate_textures().

void GLSLPaperShader::activate_textures  )  [virtual, inherited]
 

Reimplemented from GLSLShader.

Definition at line 121 of file glsl_paper.C.

References GLSLPaperShader::_paper_tex, GLSLPaperShader::_tex, TexMemRefImage::activate_tex_unit(), and GLSLShader::activate_texture().

Referenced by GLSLPaperShader::begin_glsl_paper().

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(), LineDrawingTexture::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().

bool GLSLShader::attach_shaders CARRAY< GLuint > &  shaders,
GLuint  prog
[static, protected, inherited]
 

Definition at line 273 of file glsl_shader.C.

References glAttachObjectARB, glAttachShader, and need_arb_ext.

Referenced by GLSLShader::init().

void GLSLPaperShader::begin_glsl_paper Patch p  )  [static, inherited]
 

Definition at line 214 of file glsl_paper.C.

References GLSLShader::activate_program(), GLSLPaperShader::activate_textures(), GLSLShader::init(), GLSLPaperShader::init_textures(), GLSLPaperShader::instance(), GL_VIEW::print_gl_errors(), GLSLShader::set_gl_state(), GTexture::set_patch(), and GLSLPaperShader::set_uniform_variables().

virtual bool GLSLShader::bind_attributes GLuint  prog  )  [inline, virtual, inherited]
 

Definition at line 88 of file glsl_shader.H.

Referenced by GLSLShader::init().

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(), LineDrawingTexture::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(), LineDrawingTexture::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().

bool GLSLShader::compile_shader Cstr_ptr &  gtex_name,
GLuint  shader
[static, protected, inherited]
 

Definition at line 121 of file glsl_shader.C.

References debug, GL_COMPILE_STATUS, GL_OBJECT_COMPILE_STATUS_ARB, GL_TRUE, glCompileShader, glCompileShaderARB, glGetObjectParameterivARB, glGetShaderiv, need_arb_ext, and GLSLShader::print_info().

Referenced by GLSLShader::load_shader().

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

Definition at line 47 of file gtexture.H.

References GTexture::_ctrl.

void GLSLShader::deactivate_program  )  const [inline, protected, inherited]
 

Definition at line 138 of file glsl_shader.H.

References GLSLShader::use_program().

Referenced by GLSLShader::draw(), GLSLToonShader::draw_end(), GLSLPaperShader::end_glsl_paper(), and GLSLShader::init().

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]
 

GLSLShader::DEFINE_RTTI_METHODS3 "GLSLShader"  ,
GLSLShader ,
BasicTexture  ,
CDATA_ITEM * 
[inherited]
 

GLSLPaperShader::DEFINE_RTTI_METHODS3 "GLSL paper"  ,
GLSLPaperShader ,
BasicTexture  ,
CDATA_ITEM * 
[inherited]
 

GLSLSolidShader::DEFINE_RTTI_METHODS3 "GLSL Solid"  ,
GLSLSolidShader ,
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().

void GLSLShader::delete_program GLuint &  prog  )  [static, protected, inherited]
 

Definition at line 33 of file glsl_shader.C.

References glDeleteObjectARB, glDeleteProgram, and need_arb_ext.

Referenced by GLSLShader::init(), and GLSLShader::~GLSLShader().

void GLSLShader::delete_shader GLuint  shader  )  [static, protected, inherited]
 

Definition at line 163 of file glsl_shader.C.

References glDeleteObjectARB, glDeleteShader, and need_arb_ext.

Referenced by GLSLShader::delete_shaders(), and GLSLShader::load_shader().

void GLSLShader::delete_shaders CARRAY< GLuint > &  shaders  )  [static, protected, inherited]
 

Definition at line 173 of file glsl_shader.C.

References GLSLShader::delete_shader().

Referenced by GLSLShader::load_shaders().

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

Definition at line 225 of file data_item.H.

References DATA_ITEM::_hash.

virtual bool& GLSLSolidShader::did_init  )  [inline, virtual]
 

Reimplemented from GLSLPaperShader.

Definition at line 29 of file glsl_solid.H.

References _did_init.

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(), LineDrawingTexture::draw(), GLSLShader::draw(), CurvatureTexture::draw(), and BasicTexture::draw().

int GLSLShader::draw CVIEWptr &  v  )  [virtual, inherited]
 

Reimplemented from BasicTexture.

Reimplemented in GLSLLightingShader, and HalftoneShaderEx.

Definition at line 458 of file glsl_shader.C.

References GTexture::_cb, BasicTexture::_dl, GTexture::_patch, GLSLShader::activate_program(), GLSLShader::activate_textures(), DATA_ITEM::class_name(), DLhandler::close_dl(), GLSLShader::deactivate_program(), debug, DLhandler::dl(), BasicTexture::dl_valid(), BasicTexture::draw(), Patch::draw_tri_strips(), DLhandler::get_dl(), GL_COMPILE, glNewList(), GLSLShader::init(), GLSLShader::init_textures(), Patch::num_faces(), GL_VIEW::print_gl_errors(), GLSLShader::program(), GLSLShader::restore_gl_state(), GLSLShader::set_gl_state(), GLSLShader::set_uniform_variables(), and Patch::stamp().

Referenced by HalftoneShaderEx::draw(), GLSLLightingShader::draw(), HalftoneShaderEx::draw_tex_mem_ref(), and HalftoneShader::draw_tex_mem_ref().

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* GLSLSolidShader::dup  )  const [inline, virtual]
 

Reimplemented from GLSLPaperShader.

Definition at line 32 of file glsl_solid.H.

void GLSLPaperShader::end_glsl_paper  )  [static, inherited]
 

Definition at line 252 of file glsl_paper.C.

References GLSLShader::deactivate_program(), GLSLPaperShader::instance(), GL_VIEW::print_gl_errors(), GLSLShader::restore_gl_state(), and GTexture::set_patch().

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

virtual str_ptr GLSLSolidShader::fp_filename  )  [inline, protected, virtual]
 

Reimplemented from GLSLPaperShader.

Definition at line 45 of file glsl_solid.H.

References GLSLShader::fp_name().

virtual str_list GLSLShader::fp_filenames  )  [inline, protected, virtual, inherited]
 

Definition at line 191 of file glsl_shader.H.

References GLSLShader::fp_filename().

Referenced by GLSLShader::init().

str_ptr GLSLShader::fp_name Cstr_ptr &  name  )  const [inline, inherited]
 

Definition at line 52 of file glsl_shader.H.

References GLSLShader::shader_path().

Referenced by MSLDShader::fp_filename(), HalftoneShaderEx::fp_filename(), HalftoneShader::fp_filename(), GLSLXToonShader::fp_filename(), GLSLToonShaderHalo::fp_filename(), GLSLToonShader::fp_filename(), fp_filename(), GLSLLightingShader::fp_filename(), GLSLShader::fp_filename(), GLSLPerlinTest::fp_filename(), GLSLPaperShader::fp_filename(), GLSLNormalShader::fp_filename(), GLSLMarbleShader::fp_filename(), GLSLHatching::fp_filename(), GLSLHaloShader::fp_filename(), DotsShader_EX::fp_filename(), and DotsShader::fp_filename().

static bool GLSLPaperShader::get_do_texture  )  [inline, static, inherited]
 

Definition at line 41 of file glsl_paper.H.

References GLSLPaperShader::_do_texture.

static str_ptr GLSLPaperShader::get_paper_filename  )  [inline, static, inherited]
 

Definition at line 28 of file glsl_paper.H.

References GLSLPaperShader::_paper_tex_filename.

TEXTUREglptr GLSLPaperShader::get_texture  )  [static, inherited]
 

Definition at line 195 of file glsl_paper.C.

References GLSLPaperShader::_paper_tex, and GLSLPaperShader::_paper_tex_name.

GLint GLSLShader::get_uniform_loc Cstr_ptr &  name  )  [inline, inherited]
 

Definition at line 58 of file glsl_shader.H.

References GLSLShader::get_uniform_loc().

bool GLSLShader::get_uniform_loc Cstr_ptr &  name,
GLint &  loc
[inherited]
 

Definition at line 376 of file glsl_shader.C.

References DATA_ITEM::class_name(), glGetUniformLocation, and GLSLShader::program().

Referenced by GLSLShader::get_uniform_loc(), MSLDShader::get_variable_locs(), HalftoneShaderEx::get_variable_locs(), HalftoneShader::get_variable_locs(), GLSLXToonShader::get_variable_locs(), GLSLToonShaderHalo::get_variable_locs(), GLSLToonShader::get_variable_locs(), GLSLPerlinTest::get_variable_locs(), GLSLPaperShader::get_variable_locs(), GLSLMarbleShader::get_variable_locs(), GLSLHatching::get_variable_locs(), GLSLHaloShader::get_variable_locs(), DotsShader_EX::get_variable_locs(), DotsShader::get_variable_locs(), and GLSLPaperShader::set_uniform_variables().

bool GLSLPaperShader::get_variable_locs  )  [virtual, inherited]
 

Reimplemented from GLSLShader.

Reimplemented in GLSLHatching.

Definition at line 129 of file glsl_paper.C.

References GLSLPaperShader::_contrast_loc, GLSLPaperShader::_do_texture, GLSLPaperShader::_paper_tex_loc, GLSLPaperShader::_sample_origin, GLSLPaperShader::_sample_u_vec, GLSLPaperShader::_sample_v_vec, GLSLPaperShader::_st_loc, GLSLPaperShader::_tex_height_loc, GLSLPaperShader::_tex_loc, GLSLPaperShader::_tex_width_loc, and GLSLShader::get_uniform_loc().

Referenced by GLSLHatching::get_variable_locs().

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

bool GLSLShader::init  )  [protected, inherited]
 

Definition at line 286 of file glsl_shader.C.

References GLSLShader::activate_program(), GLSLShader::attach_shaders(), GLSLShader::bind_attributes(), DATA_ITEM::class_name(), GLSLShader::deactivate_program(), debug, GLSLShader::delete_program(), GLSLShader::did_init(), GLSLShader::fp_filenames(), GLSLShader::get_variable_locs(), GL_FRAGMENT_SHADER, GL_FRAGMENT_SHADER_ARB, GL_VERTEX_SHADER, GL_VERTEX_SHADER_ARB, glCreateProgram, glCreateProgramObjectARB, GLEW_VERSION_1_5, GLEW_VERSION_2_0, GLSLShader::link_program(), GLSLShader::load_shaders(), need_arb_ext, GL_VIEW::print_gl_errors(), GLSLShader::program(), and GLSLShader::vp_filenames().

Referenced by GLSLPaperShader::begin_glsl_paper(), GLSLShader::draw(), and GLSLToonShader::draw_start().

void GLSLPaperShader::init_textures  )  [virtual, inherited]
 

Reimplemented from GLSLShader.

Definition at line 110 of file glsl_paper.C.

References GLSLPaperShader::_paper_tex, GLSLPaperShader::_tex, and GLSLShader::load_texture().

Referenced by GLSLPaperShader::begin_glsl_paper().

GLSLPaperShader * GLSLPaperShader::instance  )  [static, inherited]
 

Definition at line 70 of file glsl_paper.C.

References GLSLPaperShader::_instance, and GLSLPaperShader::GLSLPaperShader().

Referenced by GLSLPaperShader::begin_glsl_paper(), and GLSLPaperShader::end_glsl_paper().

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

bool GLSLShader::link_program Cstr_ptr &  gtex_name,
GLuint  prog
[static, protected, inherited]
 

Definition at line 81 of file glsl_shader.C.

References debug, GL_LINK_STATUS, GL_OBJECT_LINK_STATUS_ARB, GL_OBJECT_VALIDATE_STATUS_ARB, GL_TRUE, glGetObjectParameterivARB, glGetProgramInfoLog, glGetProgramiv, glLinkProgram, glLinkProgramARB, glValidateProgramARB, need_arb_ext, and GLSLShader::print_info().

Referenced by GLSLShader::init().

GLuint GLSLShader::load_shader Cstr_ptr &  gtex_name,
Cstr_ptr &  filename,
GLenum  type
[static, protected, inherited]
 

Definition at line 180 of file glsl_shader.C.

References GLSLShader::compile_shader(), debug, GLSLShader::delete_shader(), glCreateShader, glCreateShaderObjectARB, glGetInfoLogARB, glGetShaderInfoLog, glShaderSource, glShaderSourceARB, need_arb_ext, and GLSLShader::read_file().

Referenced by GLSLShader::load_shaders().

bool GLSLShader::load_shaders Cstr_ptr &  gtex_name,
Cstr_list &  filenames,
ARRAY< GLuint > &  shaders,
GLenum  type
[static, protected, inherited]
 

Definition at line 243 of file glsl_shader.C.

References debug, GLSLShader::delete_shaders(), GLSLShader::load_shader(), need_arb_ext, and GLSLShader::print_shader_source().

Referenced by GLSLShader::init().

bool GLSLShader::load_texture TEXTUREglptr &  tex  )  [static, inherited]
 

Definition at line 391 of file glsl_shader.C.

Referenced by GLSLShader::activate_texture(), GLSLXToonShader::init_textures(), GLSLToonShaderHalo::init_textures(), GLSLToonShader::init_textures(), GLSLPerlinTest::init_textures(), GLSLPaperShader::init_textures(), and GLSLMarbleShader::init_textures().

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

void GLSLShader::print_info Cstr_ptr &  gtex_name,
GLuint  obj
[static, protected, inherited]
 

Definition at line 62 of file glsl_shader.C.

References GL_OBJECT_INFO_LOG_LENGTH_ARB, glGetInfoLogARB, glGetObjectParameterivARB, and GL_VIEW::print_gl_errors().

Referenced by GLSLShader::compile_shader(), and GLSLShader::link_program().

void GLSLShader::print_shader_source GLuint  shader  )  [static, protected, inherited]
 

Definition at line 46 of file glsl_shader.C.

References GL_OBJECT_SHADER_SOURCE_LENGTH_ARB, glGetObjectParameterivARB, and glGetShaderSourceARB.

Referenced by GLSLShader::load_shaders().

virtual GLuint& GLSLSolidShader::program  )  [inline, virtual]
 

Reimplemented from GLSLPaperShader.

Definition at line 28 of file glsl_solid.H.

References _program.

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

char * GLSLShader::read_file Cstr_ptr &  gtex_name,
Cstr_ptr &  filename,
GLint &  len
[static, protected, inherited]
 

Definition at line 137 of file glsl_shader.C.

Referenced by GLSLShader::load_shader().

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 GLSLShader::restore_gl_state  )  const [virtual, inherited]
 

Definition at line 439 of file glsl_shader.C.

References glPopAttrib().

Referenced by GLSLShader::draw(), GLSLToonShader::draw_end(), and GLSLPaperShader::end_glsl_paper().

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

Definition at line 45 of file gtexture.H.

References GTexture::_cb.

Referenced by LineDrawingTexture::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().

static void GLSLPaperShader::set_contrast double  c  )  [inline, static, inherited]
 

Definition at line 29 of file glsl_paper.H.

References GLSLPaperShader::_contrast.

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 GLSLPaperShader::set_do_texture bool  v  )  [inline, static, inherited]
 

Definition at line 40 of file glsl_paper.H.

References GLSLPaperShader::_do_texture.

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

void GLSLShader::set_gl_state GLbitfield  mask = 0  )  const [virtual, inherited]
 

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

Definition at line 426 of file glsl_shader.C.

References GTexture::_patch, GTexture::alpha(), Patch::color(), GL_COL(), GL_CURRENT_BIT, GL_ENABLE_BIT, glPushAttrib(), and OGLTexture::set_face_culling().

Referenced by GLSLPaperShader::begin_glsl_paper(), GLSLShader::draw(), MSLDShader::set_gl_state(), HalftoneShaderEx::set_gl_state(), HalftoneShader::set_gl_state(), GLSLXToonShader::set_gl_state(), GLSLHatching::set_gl_state(), GLSLHaloShader::set_gl_state(), DotsShader_EX::set_gl_state(), and DotsShader::set_gl_state().

void GLSLPaperShader::set_paper Cstr_ptr &  full_path_name  )  [static, inherited]
 

Definition at line 78 of file glsl_paper.C.

References GLSLPaperShader::_paper_tex, GL_REPEAT, GL_TEXTURE0, and TexUnit::PAPER.

Referenced by GLSLPaperShader::GLSLPaperShader().

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

void GLSLShader::set_ref_tex_shader  )  [protected, virtual, inherited]
 

Definition at line 445 of file glsl_shader.C.

References GLSLShader::_tex_ref_shader.

void GLSLPaperShader::set_tex Cstr_ptr &  full_path_name  )  [static, inherited]
 

Definition at line 94 of file glsl_paper.C.

References GLSLPaperShader::_tex, TexUnit::APP, GL_REPEAT, and GL_TEXTURE0.

Referenced by GLSLPaperShader::GLSLPaperShader().

bool GLSLPaperShader::set_uniform_variables  )  const [virtual, inherited]
 

Reimplemented from GLSLShader.

Reimplemented in GLSLHatching.

Definition at line 152 of file glsl_paper.C.

References GLSLPaperShader::_contrast, GLSLPaperShader::_do_texture, GLSLPaperShader::_paper_tex, GTexture::_patch, GLSLPaperShader::_sample_u_vec, GLSLPaperShader::_sample_v_vec, GLSLPaperShader::_st_loc, GLSLPaperShader::_tex, Patch::get_do_lod(), GLSLShader::get_uniform_loc(), GL_TEXTURE0, glUniform1f, glUniform1i, glUniform2fv, Patch::lod_t(), Patch::lod_u(), Patch::lod_v(), Patch::sample_origin(), Patch::sample_u_vec(), Patch::sample_v_vec(), and Patch::update_dynamic_samples().

Referenced by GLSLPaperShader::begin_glsl_paper(), and GLSLHatching::set_uniform_variables().

str_ptr GLSLShader::shader_path  )  const [inline, inherited]
 

Definition at line 48 of file glsl_shader.H.

References Config::JOT_ROOT().

Referenced by GLSLShader::fp_name(), and GLSLShader::vp_name().

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

void GLSLShader::use_program GLuint  prog  )  [static, protected, inherited]
 

Definition at line 366 of file glsl_shader.C.

References glUseProgram, glUseProgramObjectARB, and need_arb_ext.

Referenced by GLSLShader::activate_program(), and GLSLShader::deactivate_program().

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

void GLSLShader::use_ref_tex_shader  )  [protected, virtual, inherited]
 

Definition at line 452 of file glsl_shader.C.

virtual str_ptr GLSLSolidShader::vp_filename  )  [inline, protected, virtual]
 

Reimplemented from GLSLPaperShader.

Definition at line 41 of file glsl_solid.H.

References GLSLShader::vp_name().

virtual str_list GLSLShader::vp_filenames  )  [inline, protected, virtual, inherited]
 

Definition at line 186 of file glsl_shader.H.

References GLSLShader::vp_filename().

Referenced by GLSLShader::init().

str_ptr GLSLShader::vp_name Cstr_ptr &  name  )  const [inline, inherited]
 

Definition at line 51 of file glsl_shader.H.

References GLSLShader::shader_path().

Referenced by MSLDShader::vp_filename(), HalftoneShaderEx::vp_filename(), HalftoneShader::vp_filename(), GLSLXToonShader::vp_filename(), GLSLToonShaderHalo::vp_filename(), GLSLToonShader::vp_filename(), vp_filename(), GLSLLightingShader::vp_filename(), GLSLShader::vp_filename(), GLSLPerlinTest::vp_filename(), GLSLPaperShader::vp_filename(), GLSLNormalShader::vp_filename(), GLSLMarbleShader::vp_filename(), GLSLHatching::vp_filename(), GLSLHaloShader::vp_filename(), DotsShader_EX::vp_filename(), and DotsShader::vp_filename().

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(), LineDrawingTexture::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().

double GLSLPaperShader::_contrast = 4.0 [static, protected, inherited]
 

Definition at line 72 of file glsl_paper.H.

Referenced by GLSLPaperShader::set_contrast(), and GLSLPaperShader::set_uniform_variables().

GLint GLSLPaperShader::_contrast_loc [static, protected, inherited]
 

Definition at line 81 of file glsl_paper.H.

Referenced by GLSLPaperShader::get_variable_locs().

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(), LineDrawingTexture::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().

bool GLSLSolidShader::_did_init = false [static, protected]
 

Reimplemented from GLSLPaperShader.

Definition at line 37 of file glsl_solid.H.

Referenced by did_init().

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(), LineDrawingTexture::draw(), GLSLShader::draw(), FlatShadeTexture::draw(), CurvatureTexture::draw(), CreasesTexture::draw(), ControlFrameTexture::draw(), ColorIDTexture::draw(), and BasicTexture::draw().

bool GLSLPaperShader::_do_texture [static, protected, inherited]
 

Definition at line 83 of file glsl_paper.H.

Referenced by GLSLPaperShader::get_do_texture(), GLSLPaperShader::get_variable_locs(), GLSLPaperShader::set_do_texture(), and GLSLPaperShader::set_uniform_variables().

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

GLSLPaperShader * GLSLPaperShader::_instance [static, protected, inherited]
 

Definition at line 66 of file glsl_paper.H.

Referenced by GLSLPaperShader::instance().

TEXTUREglptr GLSLPaperShader::_paper_tex [static, protected, inherited]
 

Definition at line 67 of file glsl_paper.H.

Referenced by GLSLPaperShader::activate_textures(), GLSLPaperShader::get_texture(), GLSLPaperShader::init_textures(), GLSLPaperShader::set_paper(), and GLSLPaperShader::set_uniform_variables().

str_ptr GLSLPaperShader::_paper_tex_filename = "basic_paper.png" [static, protected, inherited]
 

Definition at line 69 of file glsl_paper.H.

Referenced by GLSLPaperShader::get_paper_filename().

GLint GLSLPaperShader::_paper_tex_loc [static, protected, inherited]
 

Definition at line 73 of file glsl_paper.H.

Referenced by GLSLPaperShader::get_variable_locs().

str_ptr GLSLPaperShader::_paper_tex_name [static, protected, inherited]
 

Definition at line 68 of file glsl_paper.H.

Referenced by GLSLPaperShader::get_texture().

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(), LineDrawingTexture::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().

GLuint GLSLSolidShader::_program = 0 [static, protected]
 

Reimplemented from GLSLPaperShader.

Definition at line 36 of file glsl_solid.H.

Referenced by program().

GLint GLSLPaperShader::_sample_origin [static, protected, inherited]
 

Definition at line 75 of file glsl_paper.H.

Referenced by GLSLPaperShader::get_variable_locs().

GLint GLSLPaperShader::_sample_u_vec [static, protected, inherited]
 

Definition at line 76 of file glsl_paper.H.

Referenced by GLSLPaperShader::get_variable_locs(), and GLSLPaperShader::set_uniform_variables().

GLint GLSLPaperShader::_sample_v_vec [static, protected, inherited]
 

Definition at line 77 of file glsl_paper.H.

Referenced by GLSLPaperShader::get_variable_locs(), and GLSLPaperShader::set_uniform_variables().

GLint GLSLPaperShader::_st_loc [static, protected, inherited]
 

Definition at line 78 of file glsl_paper.H.

Referenced by GLSLPaperShader::get_variable_locs(), and GLSLPaperShader::set_uniform_variables().

TEXTUREglptr GLSLPaperShader::_tex [static, protected, inherited]
 

Definition at line 70 of file glsl_paper.H.

Referenced by GLSLPaperShader::activate_textures(), GLSLPaperShader::init_textures(), GLSLPaperShader::set_tex(), and GLSLPaperShader::set_uniform_variables().

GLint GLSLPaperShader::_tex_height_loc [static, protected, inherited]
 

Definition at line 80 of file glsl_paper.H.

Referenced by GLSLPaperShader::get_variable_locs().

GLint GLSLPaperShader::_tex_loc [static, protected, inherited]
 

Definition at line 74 of file glsl_paper.H.

Referenced by GLSLPaperShader::get_variable_locs().

str_ptr GLSLPaperShader::_tex_name [static, protected, inherited]
 

Definition at line 71 of file glsl_paper.H.

BasicTexture* GLSLShader::_tex_ref_shader [protected, inherited]
 

Definition at line 128 of file glsl_shader.H.

Referenced by GLSLShader::set_ref_tex_shader().

GLint GLSLPaperShader::_tex_width_loc [static, protected, inherited]
 

Definition at line 79 of file glsl_paper.H.

Referenced by GLSLPaperShader::get_variable_locs().

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

Definition at line 152 of file gtexture.H.


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