#include <lpatch.H>
Inheritance diagram for Lpatch:
Silhouettes, Creases, Etc. | |
EdgeStrip & | cur_sils () |
Generates (if needed) and returns the requested silhouettes, creases, etc. Operates on the CURRENT subdivision Patch. | |
ZcrossPath & | cur_zx_sils () |
| |
EdgeStrip * | cur_creases () |
EdgeStrip * | cur_borders () |
| |
EdgeStrip & | build_sils () |
Generates (if needed) and returns the requested silhouettes, creases, etc. Operates on *this* Patch as opposed to the current subdivision Patch. | |
ZcrossPath & | build_zx_sils () |
| |
EdgeStrip * | build_creases () |
| |
EdgeStrip * | build_borders () |
| |
EdgeStrip & | sils () |
Simple accessor -- no checks for updating. | |
ZcrossPath & | zx_sils () |
| |
EdgeStrip * | creases () |
| |
EdgeStrip * | borders () |
| |
Appear Methods | |
virtual void | set_texture (CTEXTUREptr &t) |
Set normal texture map. | |
virtual CCOLOR & | color () const |
virtual bool | has_color () const |
virtual void | set_color (CCOLOR &c) |
virtual void | unset_color () |
virtual double | transp () const |
virtual bool | has_transp () const |
virtual void | set_transp (double t) |
virtual void | unset_transp () |
virtual void | unset_texture () |
Unset normal texture map. | |
void | apply_texture () |
convenience | |
static init_fade_func_t | _init_fade = 0 |
Function to use for initializing a fade from one GTexture to another. | |
Serialization Methods | |
COLOR & | color_ () |
str_ptr & | name_ () |
int & | cur_tex_i_ () |
virtual void | get_faces (TAGformat &d) |
virtual void | put_faces (TAGformat &d) const |
virtual void | get_color (TAGformat &d) |
virtual void | put_color (TAGformat &d) const |
virtual void | get_texture (TAGformat &d) |
virtual void | put_textures (TAGformat &d) const |
virtual void | recompute () |
static TAGlist * | _patch_tags = 0 |
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 | |
virtual | ~Lpatch () |
LMESH * | lmesh () const |
Patch * | parent () const |
Patch * | child () const |
Lface * | lface (int i) const |
Lstrip * | lstrip (int i) const |
LMESH * | control_mesh () const |
int | cur_level () const |
Lpatch * | sub_patch (int k) |
void | delete_child () |
virtual Patch * | cur_patch () |
Returns the corresponding patch at the "current" subdivision level. | |
virtual Patch * | get_child () |
Used by Lpatch to produce a child patch at the next subdivision level. | |
bool | set_parent (Patch *p) |
virtual Patch * | ctrl_patch () const |
Returns the highest-level parent Patch of this one. | |
bool | is_ctrl_patch () const |
virtual int | rel_subdiv_level () |
The level of this Patch relative to its control Patch (filled in by Lpatch). | |
virtual CBface_list & | cur_faces () const |
Returns mesh faces at current subdivision level. | |
virtual Bvert_list | cur_verts () const |
Returns mesh vertices at current subdivision level. | |
virtual Bedge_list | cur_edges () const |
Returns mesh edges at current subdivision level. | |
bool | faces_at_level (int l, Bface_list &faces) |
virtual int | num_faces () const |
virtual double | tris_per_strip () const |
virtual int | draw_tri_strips (StripCB *) |
virtual int | draw_sil_strips (StripCB *) |
virtual void | triangulation_changed () |
virtual void | changed () |
virtual uint | stamp () |
virtual int | draw (CVIEWptr &) |
virtual CTAGlist & | tags () const |
virtual DATA_ITEM * | dup () const |
virtual void | put_parent_patch (TAGformat &) const |
virtual void | get_parent_patch (TAGformat &) |
virtual int | draw_ref_img (ref_img_t t) |
virtual void | add_tags () const |
virtual STDdstream & | format (STDdstream &d) const |
virtual STDdstream & | decode (STDdstream &d) |
virtual STAT_STR_RET | class_name () const =0 |
virtual int | is_of_type (Cstr_ptr &t) const |
virtual int | draw_id_ref () |
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 () |
Accessors | |
BMESH * | mesh () const |
void | set_mesh (BMESH *m) |
Cstr_ptr & | name () const |
void | set_name (Cstr_ptr &str) |
Cstr_ptr & | texture_file () const |
void | set_texture_file (Cstr_ptr &str) |
TexCoordGen * | tex_coord_gen () const |
void | set_tex_coord_gen (TexCoordGen *tg) |
CARRAY< uint > & | pixels () const |
void | add_pixel (uint p) |
int | num_vert_strips () const |
int | num_edge_strips () const |
int | num_tri_strips () const |
virtual void | set_data (PatchData *d) |
virtual PatchData * | get_data () |
int | stencil_id () |
const GTexture_list & | gtextures () const |
Accessing Patch Geometry | |
CBface_list & | faces () const |
Lightweight: returns reference to existing face list:. | |
Bvert_list | verts () const |
Heavyweight: builds the lists and returns by copying (returns vertices and edges of this patch). | |
Bedge_list | edges () const |
| |
Subdivision | |
BMESH * | cur_mesh () |
Convenience: the mesh of the current subdivision patch. | |
int | subdiv_level () const |
The level of this Patch in the subdivision hierarchy (control mesh is 0, next level is 1, etc.). | |
virtual int | rel_edit_level () |
The mesh edit level, relative to this patch (filled in by Lpatch). | |
Convenience - Mesh Accessors | |
CWtransf & | xform () const |
CWtransf & | inv_xform () const |
CWtransf & | obj_to_ndc () const |
CWpt & | eye_local () const |
double | pix_size () const |
Building | |
void | add (Bface *f) |
void | add (VertStrip *) |
void | add (EdgeStrip *) |
void | remove (Bface *f) |
void | remove (VertStrip *) |
void | remove (EdgeStrip *) |
void | build_tri_strips () |
Notification | |
void | creases_changed () |
void | borders_changed () |
Drawing | |
int | draw_crease_strips (StripCB *) |
int | draw_border_strips (StripCB *) |
int | draw_edge_strips (StripCB *) |
int | draw_vert_strips (StripCB *) |
Procedural Textures | |
void | set_texture (GTexture *gtex) |
void | set_texture (Cstr_ptr &style) |
void | next_texture () |
GTexture * | find_tex (Cstr_ptr &tex_name) const |
Returns an existing texture of the given type, or nil. | |
GTexture * | get_tex (Cstr_ptr &tex_name) |
Same as find_tex() but makes a new GTexture if needed. | |
int | get_tex_index (Cstr_ptr &tex_name) |
Returns an index for a texture. | |
virtual GTexture * | cur_tex (CVIEWptr &v) |
Return "current" GTexture, based on the mesh's render style if it has one, or based on the view's render style. | |
GTexture * | cur_tex () const |
Texture to use according to the "current texture index". | |
I/O Functions | |
virtual int | write_stream (ostream &os) |
virtual int | read_stream (istream &is, str_list &leftover) |
virtual int | read_texture (istream &is, str_list &leftover) |
virtual int | read_color (istream &is, str_list &leftover) |
virtual int | read_texture_map (istream &is, str_list &leftover) |
virtual int | read_patchname (istream &is, str_list &leftover) |
RefImageClient Methods | |
virtual ref_img_t | use_ref_image () |
virtual int | draw_vis_ref () |
virtual int | draw_ref_img (ref_img_t) |
virtual int | draw_final (CVIEWptr &v) |
RTTI Methods | |
DEFINE_RTTI_METHODS3 ("Patch", Patch *, DATA_ITEM, Patch *) | |
Dynamic Samples | |
PIXEL | get_old_sample_center () |
center of the samples from last frame | |
PIXEL | get_sample_center () |
center of the samples | |
VEXEL | get_z () |
Non-accumulated z. | |
PIXEL | get_patch_center () |
bool | get_do_dynamic_stuff () const |
void | do_dynamic_stuff (bool d) |
void | set_do_lod (bool d) |
bool | get_do_lod () |
PIXEL | sample_origin () const |
VEXEL | sample_u_vec () const |
VEXEL | sample_v_vec () const |
double | sample_scale () const |
const vector< DynamicSample > & | get_samples () const |
double | lod_t () const |
VEXEL | lod_u () const |
VEXEL | lod_v () const |
void | update_dynamic_samples () |
void | reset_dynamic_samples () |
Accessors | |
BMESH * | mesh () const |
void | set_mesh (BMESH *m) |
Cstr_ptr & | name () const |
void | set_name (Cstr_ptr &str) |
Cstr_ptr & | texture_file () const |
void | set_texture_file (Cstr_ptr &str) |
TexCoordGen * | tex_coord_gen () const |
void | set_tex_coord_gen (TexCoordGen *tg) |
CARRAY< uint > & | pixels () const |
void | add_pixel (uint p) |
int | num_vert_strips () const |
int | num_edge_strips () const |
int | num_tri_strips () const |
virtual void | set_data (PatchData *d) |
virtual PatchData * | get_data () |
int | stencil_id () |
const GTexture_list & | gtextures () const |
Accessing Patch Geometry | |
CBface_list & | faces () const |
Lightweight: returns reference to existing face list:. | |
Bvert_list | verts () const |
Heavyweight: builds the lists and returns by copying (returns vertices and edges of this patch). | |
Bedge_list | edges () const |
| |
Convenience - Mesh Accessors | |
CWtransf & | xform () const |
CWtransf & | inv_xform () const |
CWtransf & | obj_to_ndc () const |
CWpt & | eye_local () const |
double | pix_size () const |
Procedural Textures | |
void | set_texture (GTexture *gtex) |
void | set_texture (Cstr_ptr &style) |
void | next_texture () |
GTexture * | find_tex (Cstr_ptr &tex_name) const |
Returns an existing texture of the given type, or nil. | |
GTexture * | get_tex (Cstr_ptr &tex_name) |
Same as find_tex() but makes a new GTexture if needed. | |
int | get_tex_index (Cstr_ptr &tex_name) |
Returns an index for a texture. | |
virtual GTexture * | cur_tex (CVIEWptr &v) |
Return "current" GTexture, based on the mesh's render style if it has one, or based on the view's render style. | |
GTexture * | cur_tex () const |
Texture to use according to the "current texture index". | |
I/O Functions | |
virtual int | write_stream (ostream &os) |
virtual int | read_stream (istream &is, str_list &leftover) |
virtual int | read_texture (istream &is, str_list &leftover) |
virtual int | read_color (istream &is, str_list &leftover) |
virtual int | read_texture_map (istream &is, str_list &leftover) |
virtual int | read_patchname (istream &is, str_list &leftover) |
RefImageClient Methods | |
virtual ref_img_t | use_ref_image () |
virtual int | draw_vis_ref () |
virtual int | draw_ref_img (ref_img_t) |
virtual int | draw_final (CVIEWptr &v) |
RTTI Methods | |
DEFINE_RTTI_METHODS3 ("Patch", Patch *, DATA_ITEM, Patch *) | |
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_ITEM * | Decode (STDdstream &d, int DelayDecoding=0) |
static DATA_ITEM * | lookup (Cstr_ptr &d) |
static HASH * | di_hash () |
Static Public Attributes | |
static TAGlist * | _lpatch_tags = NULL |
Protected Member Functions | |
Lpatch (LMESH *mesh) | |
void | clear_subdiv_strips (int level) |
EdgeStrip * | build_edge_strip (EdgeStrip *strip, CSimplexFilter &filter) |
Fill the given edge strip with edges of a given type that belong to this patch. | |
STDdstream & | decode_local (STDdstream &ds) |
STDdstream & | format_local (STDdstream &ds) const |
Protected Attributes | |
Lpatch * | _parent |
Lpatch * | _child |
BMESH * | _mesh |
owner | |
Bface_list | _faces |
unordered faces | |
ARRAY< TriStrip * > | _tri_strips |
faces organized into tri strips | |
EdgeStrip | _sils |
silhouette edges (as strip) | |
ZcrossPath | _zx_sils |
zero_crossing sils | |
EdgeStrip * | _creases |
crease edges (maybe derived type) | |
EdgeStrip * | _borders |
border edges (maybe derived type) | |
ARRAY< EdgeStrip * > | _edge_strips |
edges to be rendered as line strips | |
ARRAY< VertStrip * > | _vert_strips |
vertices to be rendered as points | |
GTexture_list | _textures |
list of textures | |
int | _cur_tex_i |
index of current texture | |
int | _non_tex_i |
GTexture * | _prev_tex |
last GTexture used | |
ARRAY< uint > | _pixels |
pixels on patch | |
uint | _stamp |
version number | |
uint | _mesh_version |
last recorded mesh version | |
bool | _tri_strips_dirty |
used to rebuild _tri_strips | |
str_ptr | _name |
name | |
str_ptr | _texture_file |
name of texture map image file | |
TexCoordGen * | _tex_coord_gen |
for generating texture coordinates | |
PatchData * | _data |
optional custom data | |
int | _stencil_id |
int | _copy |
TAGlist | _DEFINERtags |
COLOR | _ambient_color |
Ambient color. | |
bool | _has_ambient_color |
true if it has ambient color | |
COLOR | _color |
Diffuse color. | |
bool | _has_color |
true if it has diffuse color | |
COLOR | _specular_color |
Specular color. | |
bool | _has_specular_color |
true if it has specular color | |
double | _shininess |
Specular shininess. | |
bool | _has_shininess |
true if it has shininess | |
double | _transp |
transparency (AKA alpha, in OpenGL) | |
bool | _has_transp |
true if it has transparency | |
TEXTUREptr | _texture |
What the texture is. | |
bool | _has_texture |
true if we are textured | |
mlib::Wtransf | _tex_xform |
Texture transformation. | |
Dynamic Samples Variables | |
vector< DynamicSample > | _old_samples |
old sample positions (in pixel space) | |
PIXEL | _old_center |
sample's center in the last frame | |
PIXEL | _new_center |
sample's center in the current frame | |
VEXEL | _z |
non-accumulated z | |
double | _scale |
total accumulated scale... | |
PIXEL | _patch_center |
XXX testing... | |
PIXEL | _o |
PIXEL | _u_o |
PIXEL | _v_o |
uint | _dynamic_stamp |
bool | _do_dynamic_stuff |
bool | _do_lod |
double | _lod_t |
VEXEL | _lod_u |
VEXEL | _lod_v |
Dynamic Samples Variables | |
vector< DynamicSample > | _old_samples |
old sample positions (in pixel space) | |
PIXEL | _old_center |
sample's center in the last frame | |
PIXEL | _new_center |
sample's center in the current frame | |
VEXEL | _z |
non-accumulated z | |
double | _scale |
total accumulated scale... | |
PIXEL | _patch_center |
XXX testing... | |
PIXEL | _o |
PIXEL | _u_o |
PIXEL | _v_o |
uint | _dynamic_stamp |
bool | _do_dynamic_stuff |
bool | _do_lod |
double | _lod_t |
VEXEL | _lod_u |
VEXEL | _lod_v |
Static Protected Attributes | |
static int | _next_stencil_id = 0 |
Friends | |
class | LMESH |
class | BMESH |
Definition at line 24 of file lpatch.H.
|
Definition at line 25 of file ref_img_client.H. |
|
Definition at line 8 of file lpatch.C. References delete_child(). |
|
|
|
Definition at line 274 of file patch.C. References Patch::_edge_strips, Patch::changed(), ARRAY< T >::num(), EdgeStrip::patch(), Patch::remove(), EdgeStrip::set_patch(), and EdgeStrip::set_patch_index(). |
|
Definition at line 249 of file patch.C. References Patch::_vert_strips, Patch::changed(), ARRAY< T >::num(), VertStrip::patch(), Patch::remove(), VertStrip::set_patch(), and VertStrip::set_patch_index(). |
|
Definition at line 212 of file patch.C. References Patch::_faces, ARRAY< T >::num(), Bface::patch(), Patch::remove(), Bface::set_patch(), Bface::set_patch_index(), and Patch::triangulation_changed(). Referenced by BMESH::add_face(), Patch::get_faces(), BMESH::make_patch_if_needed(), Patch::read_stream(), Patch::recompute(), and Lface::set_child_patch(). |
|
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(). |
|
Definition at line 199 of file patch.H. References Patch::_pixels. |
|
Definition at line 205 of file data_item.H. |
|
Definition at line 100 of file appear.H. References APPEAR::_ambient_color, APPEAR::_has_ambient_color, and APPEAR::color(). Referenced by SmoothShadeTexture::draw(), and GtexUtil::setup_material(). |
|
convenience
Definition at line 494 of file patch.H. References APPEAR::_tex_xform, APPEAR::_texture, and APPEAR::has_texture(). Referenced by SmoothShadeTexture::draw(), LineDrawingTexture::draw(), FlatShadeTexture::draw(), and CurvatureTexture::draw(). |
|
Definition at line 275 of file patch.H. References Patch::_borders. |
|
Definition at line 108 of file patch.C. References Patch::_borders. Referenced by Patch::triangulation_changed(). |
|
Definition at line 167 of file patch.C. References Patch::_borders, Patch::_mesh, Patch::build_edge_strip(), and BMESH::new_edge_strip(). Referenced by Patch::cur_borders(). |
|
Definition at line 152 of file patch.C. References Patch::_creases, Patch::_mesh, Patch::build_edge_strip(), and BMESH::new_edge_strip(). Referenced by Patch::cur_creases(). |
|
Fill the given edge strip with edges of a given type that belong to this patch. Utility method used in build_creases() and build_borders(). Fill the given edge strip with edges of a given type that belong to this patch. Definition at line 141 of file patch.C. References EdgeStrip::build_with_tips(), Patch::edges(), and EdgeStrip::reset(). Referenced by Patch::build_borders(), and Patch::build_creases(). |
|
Generates (if needed) and returns the requested silhouettes, creases, etc. Operates on *this* Patch as opposed to the current subdivision Patch.
Definition at line 116 of file patch.C. References Patch::_mesh, Patch::_sils, and BMESH::build_sil_strips(). Referenced by Patch::cur_sils(). |
|
Definition at line 299 of file patch.C. References Patch::_faces, Patch::_tri_strips, Patch::_tri_strips_dirty, ARRAY< T >::clear(), debug, err_msg(), TriStrip::get_strips(), Config::get_var_bool(), ARRAY< T >::num(), Bface_list::secondary_faces(), SimplexArray< L, T >::set_flags(), BMESH::show_secondary_faces(), and Patch::tris_per_strip(). Referenced by Patch::draw_tri_strips(). |
|
Definition at line 125 of file patch.C. References Patch::_mesh, Patch::_zx_sils, and BMESH::build_zcross_strips(). Referenced by Patch::cur_zx_sils(). |
|
Reimplemented from Patch. Definition at line 118 of file lpatch.H. References ctrl_patch(). |
|
Definition at line 37 of file lpatch.H. References _child. |
|
|
Definition at line 186 of file lpatch.C. References Patch::_tri_strips, Patch::_tri_strips_dirty, Lstrip::delete_substrips(), lstrip(), and ARRAY< T >::num(). |
|
Reimplemented from APPEAR. Definition at line 821 of file patch.C. References APPEAR::color(). Referenced by SmoothShadeTexture::draw(), LineDrawingTexture::draw(), KeyLineTexture::draw(), FlatShadeTexture::draw(), CurvatureTexture::draw(), ControlLineTexture::draw(), patch_color(), Patch::put_color(), Patch::set_color(), and GLSLShader::set_gl_state(). |
|
Definition at line 599 of file patch.H. References APPEAR::_color. |
|
Definition at line 46 of file lpatch.H. References Patch::_mesh, LMESH::control_mesh(), and lmesh(). |
|
Definition at line 273 of file patch.H. References Patch::_creases. |
|
Definition at line 101 of file patch.C. References Patch::_creases. Referenced by Patch_list::creases_changed(), and Patch::triangulation_changed(). |
|
Returns the highest-level parent Patch of this one.
Reimplemented from Patch. Definition at line 86 of file lpatch.H. References _parent, and ctrl_patch(). Referenced by changed(), ctrl_patch(), rel_subdiv_level(), and stamp(). |
|
Definition at line 247 of file patch.H. References Patch::build_borders(), and Patch::cur_patch(). Referenced by TriStripsTexture::draw(). |
|
Definition at line 244 of file patch.H. References Patch::build_creases(), and Patch::cur_patch(). Referenced by TriStripsTexture::draw(), Patch::draw_crease_strips(), and OGLTexture::draw_id_creases(). |
|
Returns mesh edges at current subdivision level.
Reimplemented from Patch. Definition at line 168 of file lpatch.C. References Patch::_faces, Patch::_mesh, cur_faces(), LMESH::cur_mesh(), debug, BMESH::edges(), err_msg(), Bface_list::get_edges(), BMESH::is_polylines(), lmesh(), BMESH::nfaces(), ARRAY< T >::num(), and Patch::subdiv_level(). |
|
Returns mesh faces at current subdivision level.
Reimplemented from Patch. Definition at line 147 of file lpatch.C. Referenced by cur_edges(), and cur_verts(). |
|
Definition at line 49 of file lpatch.H. References Patch::_mesh, LMESH::cur_level(), and lmesh(). Referenced by cur_patch(). |
|
Convenience: the mesh of the current subdivision patch.
Definition at line 290 of file patch.H. References Patch::cur_patch(), and Patch::mesh(). |
|
Returns the corresponding patch at the "current" subdivision level.
Reimplemented from Patch. Definition at line 71 of file lpatch.H. References cur_level(), sub_patch(), and Patch::subdiv_level(). Referenced by draw_sil_strips(), and draw_tri_strips(). |
|
Generates (if needed) and returns the requested silhouettes, creases, etc. Operates on the CURRENT subdivision Patch.
Definition at line 238 of file patch.H. References Patch::build_sils(), and Patch::cur_patch(). Referenced by SilsTexture::draw(), OGLTexture::draw_id_sils(), Patch::draw_sil_strips(), ZcrossTexture::draw_vis_ref(), and SilsTexture::draw_vis_ref(). |
|
Texture to use according to the "current texture index".
Definition at line 431 of file patch.H. References Patch::_cur_tex_i, Patch::_textures, and ARRAY< T >::valid_index(). Referenced by Patch::cur_tex(), Patch::draw(), Patch::draw_final(), Patch::draw_ref_img(), Patch::draw_vis_ref(), and Patch::use_ref_image(). |
|
Return "current" GTexture, based on the mesh's render style if it has one, or based on the view's render style. The texture name to use comes from the mesh, unless it's the null string, then it comes from the view. If the texture name is GTexture::static_name() then return the Patch's "current texture." Otherwise return a texture matching the given texture name. Definition at line 496 of file patch.C. References Patch::_mesh, Patch::cur_tex(), Patch::get_tex(), str_ptr::null_str(), BMESH::render_style(), RFLAT_SHADE, and DATA_ITEM::static_name(). Referenced by next_texture(). |
|
Definition at line 601 of file patch.H. References Patch::_cur_tex_i. Referenced by Patch::tags(). |
|
Returns mesh vertices at current subdivision level.
Reimplemented from Patch. Definition at line 153 of file lpatch.C. References Patch::_faces, Patch::_mesh, cur_faces(), LMESH::cur_mesh(), Bface_list::get_verts(), BMESH::is_points(), BMESH::is_polylines(), lmesh(), BMESH::nfaces(), ARRAY< T >::num(), and BMESH::verts(). |
|
Definition at line 241 of file patch.H. References Patch::build_zx_sils(), and Patch::cur_patch(). Referenced by ZcrossTexture::draw(). |
|
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>>(). |
|
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(). |
|
|
|
|
|
Definition at line 64 of file lpatch.H. References _child. Referenced by ~Lpatch(). |
|
Definition at line 225 of file data_item.H. References DATA_ITEM::_hash. |
|
Definition at line 517 of file patch.H. References Patch::_do_dynamic_stuff. |
|
Reimplemented from Patch. Definition at line 101 of file lpatch.C. References Patch::draw(), and is_ctrl_patch(). |
|
|
|
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(). |
|
Reimplemented in GELset. Definition at line 56 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
Definition at line 369 of file patch.C. References Patch::cur_creases(), and EdgeStrip::draw(). Referenced by CreasesTexture::draw(). |
|
Definition at line 378 of file patch.C. References Patch::_edge_strips, and ARRAY< T >::num(). Referenced by OGLTexture::draw_vert_and_edge_strips(). |
|
Reimplemented from RefImageClient. Definition at line 780 of file patch.C. References Patch::cur_tex(), RefImageClient::draw_final(), and VIEW::peek(). |
|
Reimplemented in GELset, and OGLTexture. Definition at line 50 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
Reimplemented in GELset. Definition at line 51 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
Reimplemented in GELset. Definition at line 52 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
Reimplemented in GELset. Definition at line 53 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
Reimplemented in GELset. Definition at line 54 of file ref_img_client.H. Referenced by RefImageClient::draw_ref_img(). |
|
|
Definition at line 773 of file patch.C. References Patch::cur_tex(), RefImageClient::draw_ref_img(), and VIEW::peek(). |
|
Reimplemented from Patch. Definition at line 126 of file lpatch.C. References cur_patch(). |
|
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(). |
|
Reimplemented from Patch. Definition at line 120 of file lpatch.C. References cur_patch(). |
|
Definition at line 394 of file patch.C. References Patch::_vert_strips, and ARRAY< T >::num(). Referenced by OGLTexture::draw_vert_and_edge_strips(). |
|
Reimplemented from RefImageClient. Definition at line 766 of file patch.C. References Patch::cur_tex(), RefImageClient::draw_vis_ref(), and VIEW::peek(). |
|
Reimplemented from Patch. |
|
Definition at line 197 of file patch.C. References Patch::_faces, Patch::_mesh, BMESH::edges(), Bface_list::get_edges(), BMESH::is_polylines(), BMESH::nfaces(), and ARRAY< T >::num(). Referenced by Patch::build_edge_strip(), ControlFrameTexture::build_strip(), and Patch::cur_edges(). |
|
Definition at line 335 of file patch.H. References Patch::_mesh, and BMESH::eye_local(). |
|
Lightweight: returns reference to existing face list:.
Definition at line 223 of file patch.H. References Patch::_faces. Referenced by StripTexCoordsCB2::compute_face_gradients(), StripTexCoordsCB3::compute_face_gradients(), VertUVTexture::compute_UV_grads(), Patch::create_dynamic_samples(), Patch::get_faces(), and Patch::put_faces(). |
|
|
|
Returns an existing texture of the given type, or nil. Find an existing texture of the given type, but don't create one if it can't be found. Definition at line 440 of file patch.C. References Patch::_textures, and ARRAY< T >::num(). Referenced by Patch::get_tex(). |
|
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(). |
|
|
|
Used by Lpatch to produce a child patch at the next subdivision level.
Reimplemented from Patch. Definition at line 51 of file lpatch.C. References _child, err_msg(), lmesh(), LMESH::new_patch(), set_parent(), and LMESH::subdiv_mesh(). Referenced by sub_patch(). |
|
Reimplemented from APPEAR. Definition at line 604 of file patch.H. References Patch::set_color(). Referenced by Patch::tags(). |
|
Definition at line 206 of file patch.H. References Patch::_data. |
|
Definition at line 516 of file patch.H. References Patch::_do_dynamic_stuff. |
|
Definition at line 519 of file patch.H. References Patch::_do_lod. Referenced by HalftoneShader::set_uniform_variables(), GLSLPaperShader::set_uniform_variables(), and DotsShader::set_uniform_variables(). |
|
Definition at line 941 of file patch.C. References Patch::_mesh, Patch::add(), BMESH::bf(), err_msg(), Patch::faces(), and BMESH::nfaces(). Referenced by Patch::tags(). |
|
center of the samples from last frame
Definition at line 507 of file patch.H. References Patch::_old_center. |
|
Definition at line 261 of file lpatch.C. References _parent, lmesh(), and set_parent(). Referenced by tags(). |
|
Definition at line 513 of file patch.H. References Patch::_patch_center. |
|
center of the samples
Definition at line 509 of file patch.H. References Patch::_new_center. |
|
Definition at line 525 of file patch.H. References Patch::_old_samples. |
|
Same as find_tex() but makes a new GTexture if needed. Returns a texture by class name. Finds one or gets one. Definition at line 463 of file patch.C. References Patch::_textures, GTexture::dup(), err_msg(), Patch::find_tex(), DATA_ITEM::lookup(), and GTexture::set_patch(). Referenced by Patch::cur_tex(), OGLTexture::draw_id_ref(), OGLTexture::draw_id_triangles(), OGLTexture::draw_vis_ref(), get_tex(), and Patch::get_tex_index(). |
|
Returns an index for a texture.
Definition at line 422 of file patch.H. References Patch::_textures, ARRAY< T >::get_index(), and Patch::get_tex(). Referenced by Patch::get_texture(), Patch::read_texture(), and Patch::set_texture(). |
|
Reimplemented from APPEAR. Definition at line 887 of file patch.C. References Patch::_textures, DATA_ITEM::decode(), ERR_LEV_SPAM, err_mesg(), err_msg(), and Patch::get_tex_index(). Referenced by Patch::tags(). |
|
Definition at line 160 of file appear.H. References APPEAR::_has_transp, and APPEAR::_transp. Referenced by GEOM::tags(). |
|
Non-accumulated z.
Definition at line 511 of file patch.H. References Patch::_z. |
|
Definition at line 215 of file patch.H. References Patch::_textures. |
|
Definition at line 98 of file appear.H. References APPEAR::_has_ambient_color. |
|
Reimplemented from APPEAR. Definition at line 827 of file patch.C. References APPEAR::has_color(). Referenced by KeyLineTexture::draw(), patch_color(), Patch::put_color(), and Patch::set_color(). |
|
Definition at line 125 of file appear.H. References APPEAR::_has_shininess. |
|
Definition at line 116 of file appear.H. References APPEAR::_has_specular_color. |
|
Definition at line 145 of file appear.H. References APPEAR::_has_texture. Referenced by Patch::apply_texture(), OGLTexture::check_patch_texture_map(), SmoothShadeTexture::draw(), FlatShadeTexture::draw(), and Patch::write_stream(). |
|
Reimplemented from APPEAR. Definition at line 855 of file patch.C. References APPEAR::has_transp(). Referenced by GTexture::alpha(). |
|
Definition at line 333 of file patch.H. References Patch::_mesh, and BMESH::inv_xform(). Referenced by XToonTexture::update_lights(), and ToonTexture_1D::update_lights(). |
|
Definition at line 90 of file lpatch.H. References _parent. Referenced by draw(), and put_parent_patch(). |
|
Definition at line 214 of file data_item.H. References IS. Referenced by BMESH::operator=(). |
|
Definition at line 40 of file lpatch.H. References Patch::_faces. |
|
Definition at line 33 of file lpatch.H. References Patch::_mesh. Referenced by control_mesh(), cur_edges(), cur_level(), cur_verts(), get_child(), get_parent_patch(), put_parent_patch(), and set_parent(). |
|
Definition at line 527 of file patch.H. References Patch::_lod_t. Referenced by HalftoneShader::set_uniform_variables(), GLSLPaperShader::set_uniform_variables(), and DotsShader::set_uniform_variables(). |
|
Definition at line 528 of file patch.H. References Patch::_lod_u. Referenced by HalftoneShader::set_uniform_variables(), GLSLPaperShader::set_uniform_variables(), and DotsShader::set_uniform_variables(). |
|
Definition at line 529 of file patch.H. References Patch::_lod_v. Referenced by HalftoneShader::set_uniform_variables(), GLSLPaperShader::set_uniform_variables(), and DotsShader::set_uniform_variables(). |
|
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(). |
|
Definition at line 41 of file lpatch.H. References Patch::_tri_strips. Referenced by clear_subdiv_strips(). |
|
|
Definition at line 191 of file patch.H. References Patch::_name. Referenced by Patch::read_patchname(), and Patch::read_texture(). |
|
Definition at line 600 of file patch.H. References Patch::_name. Referenced by Patch::tags(). |
|
Definition at line 428 of file patch.C. References Patch::_cur_tex_i, Patch::_textures, and ARRAY< T >::num(). Referenced by next_texture(). |
|
Definition at line 202 of file patch.H. References Patch::_edge_strips, and ARRAY< T >::num(). Referenced by OGLTexture::draw_vert_and_edge_strips(). |
|
For BMESH patch: returns number of faces in patch. For LMESH patch: returns number of faces at current subdiv level.
Reimplemented from Patch. |
|
Definition at line 203 of file patch.H. References Patch::_tri_strips, and ARRAY< T >::num(). Referenced by write_strips(). |
|
Definition at line 201 of file patch.H. References Patch::_vert_strips, and ARRAY< T >::num(). Referenced by OGLTexture::draw_vert_and_edge_strips(). |
|
Definition at line 334 of file patch.H. References Patch::_mesh, and BMESH::obj_to_ndc(). |
|
Definition at line 36 of file lpatch.H. References _parent. Referenced by put_parent_patch(). |
|
Definition at line 336 of file patch.H. References Patch::_mesh, and BMESH::pix_size(). |
|
Definition at line 198 of file patch.H. References Patch::_pixels. |
|
Reimplemented from APPEAR. Definition at line 605 of file patch.H. References Patch::color(), Patch::has_color(), and TAGformat::id(). Referenced by Patch::tags(). |
|
Definition at line 961 of file patch.C. References Patch::_faces, TAGformat::end_id(), err_msg(), Patch::faces(), TAGformat::id(), Bface::index(), ARRAY< T >::num(), and Bface::patch(). Referenced by Patch::tags(). |
|
Definition at line 230 of file lpatch.C. References TAGformat::end_id(), Config::get_var_bool(), TAGformat::id(), is_ctrl_patch(), lmesh(), BMESH::npatches(), parent(), and LMESH::parent_mesh(). Referenced by tags(). |
|
Definition at line 32 of file appear.C. References APPEAR::_has_texture, APPEAR::_tex_xform, APPEAR::_texture, TAGformat::end_id(), TAGformat::id(), and Config::JOT_ROOT(). Referenced by GEOM::tags(). |
|
Definition at line 917 of file patch.C. References Patch::_textures, DATA_ITEM::class_name(), TAGformat::end_id(), ERR_LEV_SPAM, err_mesg(), TAGformat::id(), and ARRAY< T >::num(). Referenced by Patch::tags(). |
|
Definition at line 164 of file appear.H. References APPEAR::_has_transp, APPEAR::_transp, and TAGformat::id(). Referenced by GEOM::tags(). |
|
Definition at line 721 of file patch.C. References ARRAY< T >::clear(), and Patch::set_color(). Referenced by Patch::read_stream(). |
|
Definition at line 745 of file patch.C. References ARRAY< T >::clear(), Patch::name(), and Patch::set_name(). Referenced by Patch::read_stream(). |
|
Definition at line 595 of file patch.C. References Patch::_cur_tex_i, Patch::_mesh, Patch::_textures, Patch::add(), BMESH::bf(), Patch::changed(), ARRAY< T >::clear(), IOBlock::consume(), debug, GTexture_list::delete_all(), err_msg(), Config::get_var_bool(), IOBlockList, BMESH::nfaces(), nfaces, ARRAY< T >::num(), Patch::num_faces(), Patch::read_color(), Patch::read_patchname(), Patch::read_texture(), and Patch::read_texture_map(). Referenced by BMESH::read_patch(). |
|
Definition at line 686 of file patch.C. References Patch::_textures, ARRAY< T >::clear(), Patch::get_tex_index(), Patch::name(), and GTexture::read_stream(). Referenced by Patch::read_stream(). |
|
Definition at line 733 of file patch.C. References Patch::_texture_file, and ARRAY< T >::clear(). Referenced by Patch::read_stream(). |
|
Reimplemented from DATA_ITEM. Definition at line 930 of file patch.C. References Patch::_faces, Patch::_mesh, Patch::add(), BMESH::bf(), ARRAY< T >::empty(), and nfaces. |
|
The mesh edit level, relative to this patch (filled in by Lpatch).
Definition at line 302 of file patch.H. References Patch::_mesh, BMESH::edit_level(), and Patch::subdiv_level(). Referenced by ControlFrameTexture::draw(). |
|
The level of this Patch relative to its control Patch (filled in by Lpatch).
Reimplemented from Patch. Definition at line 93 of file lpatch.H. References ctrl_patch(), and Patch::subdiv_level(). |
|
Definition at line 285 of file patch.C. References Patch::_edge_strips, Patch::changed(), EdgeStrip::patch(), EdgeStrip::patch_index(), ARRAY< T >::remove(), EdgeStrip::set_patch(), EdgeStrip::set_patch_index(), and ARRAY< T >::valid_index(). |
|
Definition at line 260 of file patch.C. References Patch::_vert_strips, Patch::changed(), VertStrip::patch(), VertStrip::patch_index(), ARRAY< T >::remove(), VertStrip::set_patch(), VertStrip::set_patch_index(), and ARRAY< T >::valid_index(). |
|
Definition at line 231 of file patch.C. References Patch::_faces, err_msg(), Bface::patch(), Bface::patch_index(), ARRAY< T >::remove(), Bface::set_patch(), Bface::set_patch_index(), Patch::triangulation_changed(), and ARRAY< T >::valid_index(). Referenced by Patch::add(), Bface::~Bface(), and VertStrip::~VertStrip(). |
|
|
|
Definition at line 521 of file patch.H. References Patch::_o. Referenced by HalftoneShader::set_uniform_variables(), GLSLPaperShader::set_uniform_variables(), DotsShader_EX::set_uniform_variables(), and DotsShader::set_uniform_variables(). |
|
Definition at line 524 of file patch.H. References Patch::_scale. |
|
Definition at line 522 of file patch.H. References Patch::_o, and Patch::_u_o. Referenced by HalftoneShader::set_uniform_variables(), GLSLPaperShader::set_uniform_variables(), DotsShader::set_uniform_variables(), and Patch::update_dynamic_samples(). |
|
Definition at line 523 of file patch.H. References Patch::_o, and Patch::_v_o. Referenced by HalftoneShader::set_uniform_variables(), GLSLPaperShader::set_uniform_variables(), DotsShader::set_uniform_variables(), and Patch::update_dynamic_samples(). |
|
Definition at line 94 of file appear.H. References APPEAR::_ambient_color, and APPEAR::_has_ambient_color. |
|
Reimplemented from APPEAR. Definition at line 833 of file patch.C. References Patch::color(), Patch::has_color(), and APPEAR::set_color(). Referenced by Patch::get_color(), and Patch::read_color(). |
|
Definition at line 205 of file patch.H. References Patch::_data. |
|
Definition at line 218 of file data_item.H. References DATA_ITEM::_decode_unknown. |
|
Definition at line 518 of file patch.H. References Patch::_do_lod. |
|
Definition at line 190 of file patch.H. References Patch::_mesh, and Patch::changed(). Referenced by BMESH::_merge(). |
|
Definition at line 192 of file patch.H. References Patch::_name. Referenced by OBJReaderImpl::add_patches(), Patch::Patch(), and Patch::read_patchname(). |
|
Definition at line 78 of file lpatch.C. References _child, _parent, lmesh(), and LMESH::subdiv_mesh(). Referenced by get_child(), and get_parent_patch(). |
|
Definition at line 121 of file appear.H. References APPEAR::_has_shininess, and APPEAR::_shininess. |
|
Definition at line 112 of file appear.H. References APPEAR::_has_specular_color, and APPEAR::_specular_color. |
|
Definition at line 196 of file patch.H. References Patch::_tex_coord_gen. Referenced by FlatShadeTexture::draw(). |
|
Definition at line 152 of file appear.H. References APPEAR::_tex_xform. |
|
Set normal texture map.
Reimplemented from APPEAR. Definition at line 873 of file patch.C. References Patch::changed(), and APPEAR::set_texture(). |
|
Definition at line 421 of file patch.C. References Patch::_cur_tex_i, and Patch::get_tex_index(). |
|
Definition at line 409 of file patch.C. References Patch::_cur_tex_i, Patch::_textures, ARRAY< T >::add_uniquely(), err_msg(), and ARRAY< T >::get_index(). Referenced by OGLTexture::check_patch_texture_map(). |
|
Definition at line 194 of file patch.H. References Patch::_texture_file. Referenced by OGLTexture::check_patch_texture_map(). |
|
Reimplemented from APPEAR. Definition at line 861 of file patch.C. References APPEAR::set_transp(). |
|
Definition at line 127 of file appear.H. References APPEAR::_has_shininess, APPEAR::_shininess, and Config::get_var_dbl(). Referenced by SmoothShadeTexture::draw(), and GtexUtil::setup_material(). |
|
Simple accessor -- no checks for updating.
Definition at line 269 of file patch.H. References Patch::_sils. Referenced by BMESH::build_sil_strips(). |
|
Definition at line 118 of file appear.H. References APPEAR::_has_specular_color, APPEAR::_specular_color, and COLOR::white. Referenced by SmoothShadeTexture::draw(), and GtexUtil::setup_material(). |
|
Reimplemented from Patch. Definition at line 119 of file lpatch.H. References ctrl_patch(). |
|
Definition at line 44 of file ref_img_client.H. References RET_STAT_STR. Referenced by BMESH::operator=(). |
|
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(). |
|
Definition at line 208 of file patch.H. References Patch::_next_stencil_id, and Patch::_stencil_id. |
|
Definition at line 21 of file lpatch.C. References _child, _parent, get_child(), and sub_patch(). Referenced by cur_patch(), and sub_patch(). |
|
The level of this Patch in the subdivision hierarchy (control mesh is 0, next level is 1, etc.).
Definition at line 294 of file patch.H. References Patch::_mesh, and BMESH::subdiv_level(). Referenced by cur_edges(), cur_patch(), Patch::rel_edit_level(), and rel_subdiv_level(). |
|
Reimplemented from Patch. Definition at line 206 of file lpatch.C. References _lpatch_tags, get_parent_patch(), put_parent_patch(), and Patch::tags(). |
|
Definition at line 195 of file patch.H. References Patch::_tex_coord_gen. Referenced by FlatShadeTexture::draw(), SmoothShadeStripCB::faceCB(), FlatShadeStripCB::faceCB(), UV_attrib::get_attrib(), and Bedge::is_texture_seam(). |
|
Definition at line 150 of file appear.H. References APPEAR::_tex_xform. |
|
Definition at line 147 of file appear.H. References APPEAR::_texture. |
|
Definition at line 193 of file patch.H. References Patch::_texture_file. Referenced by OGLTexture::check_patch_texture_map(). |
|
Reimplemented from APPEAR. Definition at line 849 of file patch.C. References APPEAR::transp(). Referenced by GTexture::alpha(). |
|
Reimplemented from Patch. Definition at line 15 of file lpatch.C. References Patch::triangulation_changed(). |
|
Reimplemented from Patch. |
|
Definition at line 96 of file appear.H. References APPEAR::_has_ambient_color. |
|
Reimplemented from APPEAR. Definition at line 843 of file patch.C. References APPEAR::unset_color(). |
|
Definition at line 123 of file appear.H. References APPEAR::_has_shininess. |
|
Definition at line 114 of file appear.H. References APPEAR::_has_specular_color. |
|
Unset normal texture map.
Reimplemented from APPEAR. Definition at line 880 of file patch.C. References Patch::changed(), and APPEAR::unset_texture(). |
|
Reimplemented from APPEAR. Definition at line 867 of file patch.C. References APPEAR::unset_transp(). |
|
|
Reimplemented from RefImageClient. Definition at line 759 of file patch.C. References Patch::cur_tex(), VIEW::peek(), RefImageClient::REF_IMG_NONE, and RefImageClient::use_ref_image(). |
|
Heavyweight: builds the lists and returns by copying (returns vertices and edges of this patch).
Definition at line 182 of file patch.C. References Patch::_faces, Patch::_mesh, Bface_list::get_verts(), BMESH::is_points(), BMESH::is_polylines(), BMESH::nfaces(), ARRAY< T >::num(), and BMESH::verts(). Referenced by Patch::cur_verts(). |
|
Definition at line 520 of file patch.C. References APPEAR::_color, Patch::_cur_tex_i, Patch::_faces, APPEAR::_has_color, Patch::_mesh, Patch::_name, APPEAR::_texture, Patch::_textures, Patch::cur_faces(), ARRAY< T >::empty(), get_ctrl_patch(), APPEAR::has_texture(), int(), BMESH::nfaces(), NULL_STR, ARRAY< T >::num(), and GTexture_list::write_stream(). Referenced by Patch_list::write_stream(). |
|
Definition at line 332 of file patch.H. References Patch::_mesh, and BMESH::xform(). Referenced by XToonTexture::draw(), ToonTexture_1D::draw(), and Patch::update_dynamic_samples(). |
|
Definition at line 271 of file patch.H. References Patch::_zx_sils. Referenced by BMESH::build_zcross_strips(). |
|
|
|
|
|
Ambient color.
Definition at line 40 of file appear.H. Referenced by APPEAR::ambient_color(), and APPEAR::set_ambient_color(). |
|
border edges (maybe derived type)
Definition at line 548 of file patch.H. Referenced by Patch::borders(), Patch::borders_changed(), Patch::build_borders(), and Patch::~Patch(). |
|
Definition at line 139 of file lpatch.H. Referenced by child(), delete_child(), get_child(), set_parent(), and sub_patch(). |
|
Diffuse color.
Definition at line 42 of file appear.H. Referenced by APPEAR::color(), Patch::color_(), TEXT2D::draw(), GEOM::draw(), APPEAR::get_color(), APPEAR::put_color(), APPEAR::set_color(), and Patch::write_stream(). |
|
Definition at line 197 of file data_item.H. Referenced by DATA_ITEM::Decode(). |
|
crease edges (maybe derived type)
Definition at line 547 of file patch.H. Referenced by Patch::build_creases(), Patch::creases(), Patch::creases_changed(), and Patch::~Patch(). |
|
index of current texture
Definition at line 553 of file patch.H. Referenced by Patch::cur_tex(), Patch::cur_tex_i_(), Patch::next_texture(), Patch::read_stream(), Patch::set_texture(), and Patch::write_stream(). |
|
optional custom data
Definition at line 567 of file patch.H. Referenced by Patch::get_data(), and Patch::set_data(). |
|
Definition at line 198 of file data_item.H. Referenced by DATA_ITEM::tags(). |
|
Definition at line 588 of file patch.H. Referenced by Patch::do_dynamic_stuff(), Patch::get_do_dynamic_stuff(), and Patch::update_dynamic_samples(). |
|
Definition at line 589 of file patch.H. Referenced by Patch::get_do_lod(), Patch::set_do_lod(), and Patch::update_dynamic_samples(). |
|
Definition at line 587 of file patch.H. Referenced by Patch::update_dynamic_samples(). |
|
edges to be rendered as line strips
Definition at line 549 of file patch.H. Referenced by Patch::add(), Patch::draw_edge_strips(), Patch::num_edge_strips(), and Patch::remove(). |
|
unordered faces
Definition at line 542 of file patch.H. Referenced by Patch::add(), Patch::build_tri_strips(), cur_edges(), Patch::cur_faces(), cur_verts(), Patch::draw_tri_strips(), Patch::edges(), Patch::faces(), lface(), Patch::num_faces(), Patch::put_faces(), Patch::recompute(), Patch::remove(), Patch::tris_per_strip(), Patch::verts(), Patch::write_stream(), and Patch::~Patch(). |
|
true if it has ambient color
Definition at line 41 of file appear.H. Referenced by APPEAR::ambient_color(), APPEAR::has_ambient_color(), APPEAR::set_ambient_color(), and APPEAR::unset_ambient_color(). |
|
true if it has diffuse color
Definition at line 43 of file appear.H. Referenced by APPEAR::color(), TEXT2D::draw(), GEOM::draw(), APPEAR::get_color(), APPEAR::has_color(), APPEAR::put_color(), APPEAR::set_color(), APPEAR::unset_color(), and Patch::write_stream(). |
|
true if it has shininess
Definition at line 47 of file appear.H. Referenced by APPEAR::has_shininess(), APPEAR::set_shininess(), APPEAR::shininess(), and APPEAR::unset_shininess(). |
|
true if it has specular color
Definition at line 45 of file appear.H. Referenced by APPEAR::has_specular_color(), APPEAR::set_specular_color(), APPEAR::specular_color(), and APPEAR::unset_specular_color(). |
|
true if we are textured
Definition at line 51 of file appear.H. Referenced by APPEAR::get_texture(), APPEAR::has_texture(), APPEAR::put_texture(), APPEAR::set_texture(), and APPEAR::unset_texture(). |
|
true if it has transparency
Definition at line 49 of file appear.H. Referenced by GEOM::draw(), APPEAR::get_transp(), APPEAR::has_transp(), APPEAR::put_transp(), APPEAR::set_transp(), APPEAR::transp(), and APPEAR::unset_transp(). |
|
Function to use for initializing a fade from one GTexture to another.
Definition at line 502 of file patch.H. Referenced by Patch::draw(). |
|
Definition at line 590 of file patch.H. Referenced by Patch::lod_t(), and Patch::update_dynamic_samples(). |
|
Definition at line 591 of file patch.H. Referenced by Patch::lod_u(), and Patch::update_dynamic_samples(). |
|
Definition at line 592 of file patch.H. Referenced by Patch::lod_v(), and Patch::update_dynamic_samples(). |
|
Definition at line 129 of file lpatch.H. Referenced by tags(). |
|
|
last recorded mesh version
Definition at line 560 of file patch.H. Referenced by Patch::stamp(). |
|
name
Definition at line 563 of file patch.H. Referenced by Patch::name(), Patch::name_(), Patch::set_name(), and Patch::write_stream(). |
|
sample's center in the current frame
Definition at line 577 of file patch.H. Referenced by Patch::get_sample_center(), and Patch::update_dynamic_samples(). |
|
Definition at line 570 of file patch.H. Referenced by Patch::stencil_id(). |
|
|
|
These are used when growing new faces, chaced values of the first quad, so that given a new UV point can figure out new location of the points Definition at line 584 of file patch.H. Referenced by Patch::sample_origin(), Patch::sample_u_vec(), Patch::sample_v_vec(), and Patch::update_dynamic_samples(). |
|
sample's center in the last frame
Definition at line 576 of file patch.H. Referenced by Patch::get_old_sample_center(), and Patch::update_dynamic_samples(). |
|
old sample positions (in pixel space)
Definition at line 574 of file patch.H. Referenced by Patch::create_dynamic_samples(), Patch::get_samples(), and Patch::update_dynamic_samples(). |
|
Definition at line 138 of file lpatch.H. Referenced by ctrl_patch(), get_parent_patch(), is_ctrl_patch(), parent(), set_parent(), and sub_patch(). |
|
XXX testing...
Definition at line 580 of file patch.H. Referenced by Patch::get_patch_center(). |
|
Definition at line 598 of file patch.H. Referenced by Patch::tags(). |
|
pixels on patch
Definition at line 558 of file patch.H. Referenced by Patch::add_pixel(), Patch::draw(), and Patch::pixels(). |
|
last GTexture used
Definition at line 556 of file patch.H. Referenced by Patch::draw(). |
|
total accumulated scale...
Definition at line 579 of file patch.H. Referenced by Patch::sample_scale(), and Patch::update_dynamic_samples(). |
|
Specular shininess.
Definition at line 46 of file appear.H. Referenced by APPEAR::set_shininess(), and APPEAR::shininess(). |
|
silhouette edges (as strip)
Definition at line 545 of file patch.H. Referenced by Patch::build_sils(), and Patch::sils(). |
|
Specular color.
Definition at line 44 of file appear.H. Referenced by APPEAR::set_specular_color(), and APPEAR::specular_color(). |
|
version number
Definition at line 559 of file patch.H. Referenced by Patch::changed(), and Patch::stamp(). |
|
Definition at line 569 of file patch.H. Referenced by Patch::stencil_id(). |
|
for generating texture coordinates
Definition at line 566 of file patch.H. Referenced by Patch::set_tex_coord_gen(), and Patch::tex_coord_gen(). |
|
Texture transformation.
Definition at line 52 of file appear.H. Referenced by Patch::apply_texture(), APPEAR::get_texture(), APPEAR::put_texture(), APPEAR::set_tex_xform(), and APPEAR::tex_xform(). |
|
What the texture is.
Reimplemented in ICON2D. Definition at line 50 of file appear.H. Referenced by Patch::apply_texture(), APPEAR::get_texture(), APPEAR::put_texture(), APPEAR::set_texture(), APPEAR::texture(), and Patch::write_stream(). |
|
name of texture map image file
Definition at line 564 of file patch.H. Referenced by Patch::read_texture_map(), Patch::set_texture_file(), and Patch::texture_file(). |
|
list of textures
Definition at line 552 of file patch.H. Referenced by Patch::cur_tex(), Patch::find_tex(), Patch::get_tex(), Patch::get_tex_index(), Patch::get_texture(), Patch::gtextures(), Patch::next_texture(), Patch::Patch(), Patch::put_textures(), Patch::read_stream(), Patch::read_texture(), Patch::set_texture(), Patch::write_stream(), and Patch::~Patch(). |
|
transparency (AKA alpha, in OpenGL)
Definition at line 48 of file appear.H. Referenced by GEOM::draw(), APPEAR::get_transp(), APPEAR::put_transp(), APPEAR::set_transp(), and APPEAR::transp(). |
|
faces organized into tri strips
Definition at line 543 of file patch.H. Referenced by Patch::build_tri_strips(), clear_subdiv_strips(), Patch::draw_tri_strips(), lstrip(), Patch::num_tri_strips(), Patch::tris_per_strip(), and Patch::~Patch(). |
|
used to rebuild _tri_strips
Definition at line 561 of file patch.H. Referenced by Patch::build_tri_strips(), clear_subdiv_strips(), and Patch::triangulation_changed(). |
|
Definition at line 585 of file patch.H. Referenced by Patch::sample_u_vec(), and Patch::update_dynamic_samples(). |
|
Definition at line 586 of file patch.H. Referenced by Patch::sample_v_vec(), and Patch::update_dynamic_samples(). |
|
vertices to be rendered as points
Definition at line 550 of file patch.H. Referenced by Patch::add(), Patch::draw_vert_strips(), Patch::num_vert_strips(), and Patch::remove(). |
|
non-accumulated z
Definition at line 578 of file patch.H. Referenced by Patch::get_z(), and Patch::update_dynamic_samples(). |
|
zero_crossing sils
Definition at line 546 of file patch.H. Referenced by Patch::build_zx_sils(), and Patch::zx_sils(). |