#include <bedge.H>
Inheritance diagram for Bedge:
Public Types | |
enum | { CREASE_BIT = Bsimplex::NEXT_AVAILABLE_BIT, PATCH_BOUNDARY_BIT, CONVEX_BIT, CONVEX_VALID_BIT, WEAK_BIT, NEXT_AVAILABLE_BIT } |
Public Member Functions | |
Bedge (Bvert *u, Bvert *v) | |
virtual | ~Bedge () |
Bvert * | v1 () const |
Bvert * | v2 () const |
Bvert * | v (int k) const |
Bface * | f1 () const |
Bface * | f2 () const |
int | nfaces () const |
int | num_all_faces () const |
Bface_list | get_all_faces () const |
Bface * | f (int k) const |
Patch * | patch () const |
uint | sil_stamp () const |
void | set_sil_stamp (uint s) |
void | clear_flag02 () |
Wvec | vec () const |
double | length () const |
Wline | line () const |
PIXELline | pix_line () const |
Wpt | mid_pt () const |
Wpt & | mid_pt (mlib::Wpt &v) const |
Wvec | norm () const |
double | dot () const |
double | avg_area () const |
double | dihedral_angle () const |
Wpt | interp (double s) const |
bool | is_convex () const |
Bvert * | opposite_vert (CBface *f) const |
Bvert * | opposite_vert1 () const |
Bvert * | opposite_vert2 () const |
Bvert * | other_vertex (CBvert *v) const |
int | vindex (CBvert *v) const |
Bvert * | shared_vert (CBedge *e) const |
bool | contains (CBvert *v) const |
bool | contains (CBface *f) const |
bool | same_verts (CBvert *u, CBvert *v) const |
Bface * | other_face (CBface *f) const |
Bface * | frontfacing_face () const |
Bface * | lookup_face (CBvert *v) const |
Bface * | lookup_face (CBedge *e) const |
Bface * | ccw_face (CBvert *v) const |
Bface * | cw_face (CBvert *v) const |
Bface * | ccw_face () const |
Bface * | cw_face () const |
int | num_quads () const |
int | nfaces_satisfy (CSimplexFilter &f) const |
Bface_list * | adj () const |
virtual bool | can_promote () const |
bool | promote (Bface *f) |
bool | demote (Bface *f) |
bool | is_multi () const |
bool | is_multi (CBface *f) const |
void | fix_multi () |
bool | is_primary () const |
bool | is_secondary () const |
bool | is_interior () const |
bool | is_border () const |
bool | is_polyline () const |
bool | is_crease () const |
bool | is_weak () const |
bool | is_strong () const |
bool | is_poly_crease () const |
bool | is_strong_poly_crease () const |
bool | is_patch_boundary () const |
bool | is_texture_seam () const |
bool | is_sil () const |
bool | is_stressed () const |
bool | is_crossable () const |
bool | consistent_orientation () const |
bool | oriented_ccw (Bface *=0) const |
bool | is_polyline_end () const |
bool | is_crease_end () const |
bool | is_chain_tip (CSimplexFilter &filter) const |
void | set_patch_boundary (int b=1) |
void | compute_crease (double dot) |
virtual void | set_crease (unsigned short=USHRT_MAX) |
virtual unsigned short | crease_val () const |
void | inc_crease (ushort max_val=USHRT_MAX) |
void | dec_crease (ushort max_val=USHRT_MAX) |
virtual uint | rel_level () const |
bool | operator+= (Bface *face) |
bool | operator-= (Bface *face) |
int | detach () |
virtual int | redefine (Bvert *v, Bvert *u) |
virtual void | set_new_vertices (Bvert *v1, Bvert *v2) |
bool | swapable (Bface *&, Bface *&, Bvert *&, Bvert *&, Bvert *&, Bvert *&, bool favor_degree_six=0) |
bool | swap_is_legal () const |
virtual bool | do_swap () |
virtual bool | redef2 (Bvert *v, Bvert *u) |
bool | ndc_intersect (CNDCpt &p, mlib::CNDCpt &q, mlib::NDCpt &ret) const |
int | which_side (CWplane &plane) const |
virtual void | notify_split (Bsimplex *) |
virtual void | geometry_changed () |
virtual void | normal_changed () |
virtual void | crease_changed () |
virtual void | faces_changed () |
virtual int | dim () const |
virtual int | index () const |
virtual bool | view_intersect (CNDCpt &, Wpt &, double &, double &, Wvec &n) const |
virtual Bface * | get_face () const |
virtual bool | on_face (CBface *f) const |
Bface * | screen_face (CSimplexFilter &filter) const |
virtual void | project_barycentric (CWpt &p, mlib::Wvec &bc) const |
virtual void | bc2pos (CWvec &bc, mlib::Wpt &pos) const |
virtual Bsimplex * | bc2sim (CWvec &bc) const |
virtual Bsimplex_list | neighbors () const |
virtual bool | local_search (Bsimplex *&end, Wvec &final_bc, CWpt &target, mlib::Wpt &reached, Bsimplex *repeater=0, int iters=30) |
virtual NDCpt | nearest_pt_ndc (mlib::CNDCpt &p, mlib::Wvec &bc, int &is_on_simplex) const |
virtual Wpt | nearest_pt (mlib::CWpt &p, mlib::Wvec &bc, bool &is_on_simplex) const |
void | set_mesh (BMESH *mesh) |
BMESH * | mesh () const |
uint | key () const |
uint | flag () const |
void | clear_flag () |
void | set_flag (uchar b=1) |
void | inc_flag (uint i) |
bool | is_set (uint b) const |
bool | is_clear (uint b) const |
void | clear_bit (uint b) |
void | set_bit (uint b, int x=1) |
bool | is_selected () const |
SimplexData * | find_data (uint key) const |
SimplexData * | find_data (Cstr_ptr &s) const |
SimplexData * | find_data (void *key) const |
void | add_simplex_data (SimplexData *sd) |
void | rem_simplex_data (SimplexData *sd) |
const SimplexDataList * | data_list () const |
virtual void | notify_xform (CWtransf &xf) |
Wpt | bc2pos (mlib::CWvec &bc) const |
Wpt & | project_to_simplex (mlib::CWpt &pos, mlib::Wpt &ret) |
virtual bool | near_point (CNDCpt &p, mlib::Wpt &hit) const |
Bsimplex * | walk_to_target (CWpt &target, CSimplexFilter &filter=SimplexFilter()) const |
Bsimplex * | walk_to_target (CWpt &target, Wpt &near_pt, Wvec &near_bc, CSimplexFilter &filter=SimplexFilter()) const |
double | dist (CWpt &p) const |
double | dist (CWpt &p, mlib::Wvec &bc) const |
virtual Wpt | nearest_pt (mlib::CWpt &p, mlib::Wvec &bc) const |
virtual Wpt | nearest_pt (mlib::CWpt &p) const |
virtual bool | on_face (const Bface *f) const =0 |
Static Public Member Functions | |
static Bsimplex * | lookup (uint k) |
static void | clamp_barycentric (Wvec &bc) |
Protected Types | |
enum | { FLAG_MASK = ((1 << FLAG_BITS) - 1) } |
Protected Member Functions | |
void | allocate_adj () |
virtual bool | add_multi (Bface *f) |
virtual bool | add_primary (Bface *f) |
void | set_convex () |
uint | generate_key () |
Static Protected Member Functions | |
static uint | mask (uint b) |
Protected Attributes | |
Bvert * | _v1 |
Bvert * | _v2 |
Bface * | _f1 |
Bface * | _f2 |
Bface_list * | _adj |
uint | _sil_stamp |
uint | _key |
uint | _flag |
BMESH * | _mesh |
SimplexDataList * | _data_list |
Static Protected Attributes | |
static IDtable | _table |
Friends | |
ostream & | operator<< (ostream &os, CBedge &e) |
Related Functions | |
(Note that these are not member functions.) | |
Patch * | get_patch (CBsimplex *s) |
Returns the Patch of a Bsimplex. | |
Patch * | get_ctrl_patch (CBsimplex *s) |
Similar to get_patch(CBsimplex*), but returns the control Patch. |
Definition at line 23 of file bedge.H.
|
Reimplemented from Bsimplex. |
|
Definition at line 265 of file bsimplex.H. |
|
|
|
Definition at line 27 of file bedge.C. References _adj, _f1, _f2, Bsimplex::_mesh, MeshGlobal::deselect(), detach(), err_msg(), Bsimplex::is_selected(), and BMESH::remove_face(). |
|
Reimplemented in Ledge. Definition at line 408 of file bedge.C. References _adj, _f1, _f2, ARRAY< T >::add_uniquely(), allocate_adj(), Bface::contains(), demote(), and faces_changed(). Referenced by Ledge::add_multi(), demote(), and operator+=(). |
|
Reimplemented in Ledge. Definition at line 464 of file bedge.C. References _f1, _f2, Bface::contains(), demote(), and Bface::is_secondary(). Referenced by Ledge::add_primary(), and promote(). |
|
Definition at line 90 of file bsimplex.C. References Bsimplex::_data_list, ARRAY< T >::add(), Bsimplex::find_data(), and SimplexData::id(). Referenced by SimplexData::set(). |
|
Definition at line 179 of file bedge.H. References _adj. Referenced by add_faces(), allocate_adjacent_child_faces(), check(), and mark_pushed_faces(). |
|
Definition at line 356 of file bedge.C. References _adj. Referenced by add_multi(). |
|
Definition at line 315 of file bedge.C. References _adj, _f1, _f2, RunningAvg< T >::add(), Bface::area(), RunningAvg< T >::num(), and RunningAvg< T >::val(). Referenced by Bvert::area_centroid(). |
|
Definition at line 146 of file bsimplex.H. References Bsimplex::bc2pos(). |
|
Implements Bsimplex. Definition at line 553 of file bedge.C. References _v1, _v2, and Bvert::loc(). |
|
Implements Bsimplex. Definition at line 381 of file bedge.H. Referenced by local_search(). |
|
Reimplemented in Ledge. Definition at line 430 of file bedge.C. References _f1, _f2, and Bface::is_secondary(). Referenced by Ledge::can_promote(). |
|
Definition at line 161 of file bedge.H. References _v1. Referenced by cw_face(), do_swap(), and swapable(). |
|
Definition at line 520 of file bedge.C. References _f1, _f2, contains(), and Bface::edge_from_vert(). Referenced by Bface::get_quad_verts(), and leading_faces(). |
|
Definition at line 162 of file bsimplex.H. References max(), and mlib::Vec3< V >::set(). Referenced by Bsimplex::project_to_simplex(). |
|
|
Definition at line 92 of file bsimplex.H. References Bsimplex::_flag, and Bsimplex::FLAG_MASK. Referenced by Bface_list::clear_edge_flags(), Bvert::clear_flag02(), clear_flag02(), Bface_list::clear_vert_flags(), Bedge_list::clear_vert_flags(), BMESH::get_enclosed_verts(), get_parent_faces(), and Bsimplex::set_flag(). |
|
Definition at line 1000 of file bface.H. References _adj, _f1, _f2, Bsimplex::clear_flag(), and SimplexArray< L, T >::clear_flags(). Referenced by Bedge_list::clear_flag02(). |
|
Definition at line 843 of file bedge.C. References dot(), and set_crease(). Referenced by BMESH::compute_creases(), BMESH::operator=(), and recreate_creases(). |
|
Definition at line 533 of file bedge.C. References _f1, _f2, nfaces(), and Bface::orientation(). Referenced by TriStrip::backup_strip(), BMESH::grow_oriented_face_lists(), and is_crossable(). |
|
Definition at line 1052 of file bface.H. References _adj, _f1, _f2, and ARRAY< T >::contains(). |
|
Definition at line 133 of file bedge.H. Referenced by EdgeStrip::build(), EdgeStrip::build_line_strip(), ccw_face(), Ledge::get_subdiv_verts(), mark_pushed_faces(), on_face(), Bface::other_edge(), Bface::quad_opposite_vert(), redef2(), redefine(), same_verts(), and shared_vert(). |
|
Reimplemented in Ledge. Definition at line 1108 of file bedge.C. References _v1, _v2, and Bvert::crease_changed(). Referenced by Ledge::crease_changed(). |
|
Reimplemented in Ledge. Definition at line 283 of file bedge.H. References is_crease(). Referenced by dec_crease(), inc_crease(), notify_split(), BMESH::operator=(), and redefine(). |
|
Definition at line 162 of file bedge.H. References _v2, and ccw_face(). Referenced by do_swap(). |
|
Definition at line 157 of file bedge.H. References ccw_face(), and other_vertex(). Referenced by next_border_edge_cw(). |
|
Definition at line 132 of file bsimplex.H. References Bsimplex::_data_list. Referenced by num_data(). |
|
Definition at line 828 of file bedge.C. References crease_val(), and set_crease(). Referenced by Bedge_list::dec_crease_vals(). |
|
Definition at line 378 of file bedge.C. References _adj, _f1, _f2, add_multi(), ARRAY< T >::contains(), Bface::contains(), debug, err_msg(), Config::get_var_bool(), and MeshGlobal::select(). Referenced by add_multi(), add_primary(), demote(), operator+=(), and Ledge::push_multi(). |
|
Definition at line 147 of file bedge.C. References _v1, _v2, err_msg(), is_multi(), and nfaces(). Referenced by ~Bedge(). |
|
Definition at line 92 of file bedge.H. References mlib::Acos(), and dot(). |
|
Implements Bsimplex. Definition at line 348 of file bedge.H. Referenced by Bface::contains(). |
|
Definition at line 216 of file bsimplex.H. References mlib::Point3< P, V >::dist(), and Bsimplex::nearest_pt(). |
|
Definition at line 215 of file bsimplex.H. References mlib::Point3< P, V >::dist(), and Bsimplex::nearest_pt(). Referenced by Bface::contains(). |
|
Reimplemented in Ledge. Definition at line 1018 of file bedge.C. References _f1, _f2, _v1, _v2, ccw_face(), Bface::check(), cw_face(), debug, err_adv(), UVdata::get_uv(), Config::get_var_bool(), UVdata::has_uv(), UVdata::is_continuous(), Bface::other_vertex(), UVdata::set(), set_new_vertices(), swap_is_legal(), v1(), and v2(). Referenced by Ledge::do_swap(), and swap_edge(). |
|
Definition at line 350 of file bedge.C. References _f1, _f2, and Bface::norm(). Referenced by compute_crease(), dihedral_angle(), and nearest_pt_ndc(). |
|
Definition at line 80 of file bedge.C. References _adj, _f1, _f2, and ARRAY< T >::valid_index(). Referenced by OBJReaderImpl::add_creases(), BMESH::get_zcross_strips(), Bface_list::grow_connected(), BMESH::grow_mesh_equivalence_class(), Ledge::lf(), lookup_face(), Ledge::parallel_sub_edge(), and patch(). |
|
|
|
Reimplemented in Ledge. Definition at line 1124 of file bedge.C. References _v1, _v2, Bsimplex::clear_bit(), normal_changed(), and Bvert::VALID_NON_MANIFOLD_BIT. Referenced by add_multi(), operator+=(), and operator-=(). |
|
Definition at line 123 of file bsimplex.H. References Bsimplex::find_data(). |
|
Definition at line 122 of file bsimplex.H. References Bsimplex::find_data(). |
|
Definition at line 118 of file bsimplex.H. References Bsimplex::_data_list, and SimplexDataList::get_item(). Referenced by Bsimplex::add_simplex_data(), Bsimplex::find_data(), and UVdata::lookup(). |
|
Definition at line 493 of file bedge.C. References _adj, Bface::is_primary(), nfaces_satisfy(), ARRAY< T >::num(), and promote(). Referenced by BMESH::get_sec_faces(). |
|
|
Definition at line 861 of file bedge.C. References _f1, _f2, and Bface::front_facing(). Referenced by BMESH::build_sil_strips(), and patch(). |
|
Definition at line 20 of file bsimplex.C. References Bsimplex::_key, Bsimplex::_table, err_msg(), and ARRAY< T >::num(). |
|
Reimplemented from Bsimplex. Reimplemented in Ledge. Definition at line 1100 of file bedge.C. References Bsimplex::geometry_changed(). Referenced by Ledge::geometry_changed(), redef2(), redefine(), and set_new_vertices(). |
|
Definition at line 68 of file bedge.C. References _adj, _f1, _f2, and num_all_faces(). |
|
Implements Bsimplex. Definition at line 367 of file bedge.H. Referenced by BMESH::build_sil_strips(), UVdata::handle_subdiv_calc(), oriented_ccw(), and view_intersect(). |
|
Definition at line 813 of file bedge.C. References crease_val(), and set_crease(). Referenced by Bedge_list::inc_crease_vals(). |
|
Definition at line 96 of file bsimplex.H. References Bsimplex::flag(), Bsimplex::FLAG_BITS, and Bsimplex::set_flag(). |
|
Implements Bsimplex. Definition at line 48 of file bedge.C. References Bsimplex::_mesh, BMESH::edges(), and SimplexArray< L, T >::get_index(). |
|
Definition at line 465 of file bvert.H. References _v1, Bvert::loc(), and vec(). Referenced by EdgeFrame::o(). |
|
Definition at line 248 of file bedge.H. References nfaces(). Referenced by LoopCalc< COLOR >::centroid(), is_sil(), leading_faces(), Bface::local_search(), next_border_edge_cw(), and BMESH::try_collapse_edge(). |
|
Definition at line 694 of file bedge.C. References _v1, _v2, SimplexFilter::accept(), and Bvert::degree(). |
|
Definition at line 101 of file bsimplex.H. References Bsimplex::is_set(). Referenced by BitClearSimplexFilter::accept(), LMESH::add_dirty_vert(), Bface::is_primary(), Lface::subdiv_dirty(), Lvert::update_subdivision(), and Ledge::update_subdivision(). |
|
Definition at line 97 of file bedge.H. References CONVEX_BIT, CONVEX_VALID_BIT, and Bsimplex::is_set(). |
|
Definition at line 250 of file bedge.H. References CREASE_BIT, and Bsimplex::is_set(). Referenced by LoopCalc< COLOR >::centroid(), crease_val(), is_crease_end(), is_crossable(), is_poly_crease(), Ledge::is_smooth(), is_stressed(), notify_split(), Bvert::operator+=(), Bvert::operator-=(), BMESH::operator=(), BMESH::put_creases(), redefine(), Ledge::set_mask(), ZcrossPath::sil_walk_search(), ZcrossPath::start_sil(), swap_is_legal(), swapable(), toggle_crease(), and Bface::vert_normal(). |
|
Definition at line 688 of file bedge.C. References _v1, _v2, is_crease(), and Bvert::is_crease_end(). |
|
Definition at line 792 of file bedge.C. References consistent_orientation(), is_crease(), is_patch_boundary(), and is_texture_seam(). Referenced by TriStrip::backup_strip(), and Bface::next_strip_face(). |
|
Definition at line 247 of file bedge.H. References nfaces(). Referenced by Ledge::set_mask(), and swap_is_legal(). |
|
Definition at line 370 of file bedge.C. References _adj, ARRAY< T >::contains(), and Bface::contains(). |
|
Definition at line 362 of file bedge.C. References _adj, and ARRAY< T >::empty(). Referenced by BadEdgeFilter::accept(), EdgeStripFilter::accept(), allocate_adjacent_child_faces(), detach(), operator-=(), Ledge::push_multi(), swap_is_legal(), and swapable(). |
|
Definition at line 287 of file bedge.C. References _f1, _f2, Config::get_var_bool(), UVdata::is_continuous(), Bsimplex::is_set(), Bface::patch(), and PATCH_BOUNDARY_BIT. Referenced by is_crossable(), is_texture_seam(), BMESH::operator=(), swap_is_legal(), and swapable(). |
|
Definition at line 253 of file bedge.H. References is_crease(), and nfaces(). Referenced by is_strong_poly_crease(), HybridCalc< Wpt >::subdiv_val(), and CatmullClarkCalc< Wpt >::subdiv_val(). |
|
Definition at line 249 of file bedge.H. References nfaces(). Referenced by EdgeStripFilter::accept(), avg_face_edge_len(), LoopCalc< COLOR >::centroid(), is_polyline_end(), and BMESH::put_polylines(). |
|
Definition at line 682 of file bedge.C. References _v1, _v2, is_polyline(), and Bvert::is_polyline_end(). |
|
Definition at line 1033 of file bface.H. References _f1, _f2, and Bface::is_primary(). Referenced by EdgeStripFilter::accept(), and is_secondary(). |
|
Definition at line 224 of file bedge.H. References is_primary(). Referenced by NewSilEdgeFilter::accept(). |
|
Definition at line 114 of file bsimplex.H. References Bsimplex::is_set(), and Bsimplex::SELECTED_BIT. Referenced by SelectedSimplexFilter::accept(), MeshGlobal::deselect(), MeshGlobal::select(), MeshGlobal::toggle_select(), ~Bedge(), Bface::~Bface(), and Bvert::~Bvert(). |
|
|
Definition at line 703 of file bedge.C. References _f1, _f2, Bface::front_facing(), is_border(), Bface::is_quad(), is_weak(), Bface::norm(), Bface::quad_partner(), and swap(). Referenced by NewSilEdgeFilter::accept(), IDRefImage::find_all_neighbors(), IDRefImage::find_neighbor(), IDRefImage::is_patch_sil_edge(), and Bface::ndc_walk(). |
|
Definition at line 800 of file bedge.C. References _f1, _f2, is_crease(), and Bface::norm(). |
|
Definition at line 252 of file bedge.H. References is_weak(). Referenced by avg_strong_edge_len(), is_strong_poly_crease(), and Bvert::qr_centroid(). |
|
Definition at line 254 of file bedge.H. References is_poly_crease(), and is_strong(). Referenced by CatmullClarkCalc< Wpt >::crease_centroid(). |
|
Definition at line 762 of file bedge.C. References _f1, _f2, _v1, _v2, Config::get_var_bool(), UVdata::is_continuous(), is_patch_boundary(), patch(), Patch::tex_coord_gen(), and TexCoordGen::uv_from_vert(). Referenced by is_crossable(). |
|
Definition at line 251 of file bedge.H. References Bsimplex::is_set(), and WEAK_BIT. Referenced by Ledge::claim_child(), get_other_face(), is_sil(), is_strong(), Bface::num_weak_edges(), BMESH::operator=(), BMESH::put_weak_edges(), CatmullClarkCalc< Wpt >::smooth_subdiv_val(), SimpleUVCalc::subdiv_val(), SimpleCalc< UVpt >::subdiv_val(), swap_is_legal(), and Bface::weak_edge(). |
|
Definition at line 72 of file bsimplex.H. References Bsimplex::_key. Referenced by ColorIDStripCB::edgeCB(), ColorIDStripCB::faceCB(), and ColorIDStripCB::vertCB(). |
|
Definition at line 80 of file bedge.H. References mlib::Vec3< V >::length(), and vec(). Referenced by avg_edge_len(), avg_face_edge_len(), avg_strong_edge_len(), avg_strong_len(), Bedge_list::min_edge_len(), project_barycentric(), Bvert::qr_centroid(), and Bedge_list::total_length(). |
|
Definition at line 165 of file bedge.C. References _v1, _v2, and Bvert::loc(). |
|
Implements Bsimplex. Definition at line 1154 of file bedge.C. References bc2sim(), Bvert::e(), is_vert(), local_search(), nearest_pt(), and v(). Referenced by local_search(). |
|
Definition at line 73 of file bsimplex.H. References Bsimplex::_table, and ARRAY< T >::num(). Referenced by VisRefImage::debug(), and IDRefImage::simplex(). |
|
Definition at line 123 of file bedge.C. References _adj, _f1, _f2, Bface::contains(), and f(). |
|
Definition at line 99 of file bedge.C. References _adj, _f1, _f2, Bface::contains(), and f(). Referenced by Ledge::get_sub_faces(), and lookup_face(). |
|
Definition at line 268 of file bsimplex.H. Referenced by Bsimplex::clear_bit(), Bsimplex::is_set(), and Bsimplex::set_bit(). |
|
|
Definition at line 307 of file bedge.C. References _v1, _v2, and Bvert::loc(). |
|
Definition at line 1238 of file bedge.C. References _v1, _v2, and Bvert::loc(). Referenced by Ledge::allocate_subdiv_elements(), and BMESH::split_edge(). |
|
Definition at line 177 of file bedge.C. References _v1, _v2, and Bvert::ndc(). |
|
Definition at line 182 of file bsimplex.H. References Bsimplex::view_intersect(). |
|
Definition at line 232 of file bsimplex.H. References Bsimplex::nearest_pt(). |
|
Definition at line 228 of file bsimplex.H. References Bsimplex::nearest_pt(). |
|
Implements Bsimplex. Referenced by local_search(). |
|
Implements Bsimplex. Definition at line 1195 of file bedge.C. References _v1, _v2, dot(), mlib::gEpsZeroMath, mlib::Vec2< V >::length_sqrd(), Bvert::ndc(), and mlib::Vec3< V >::set(). |
|
Implements Bsimplex. |
|
Definition at line 91 of file bedge.C. Referenced by check(), consistent_orientation(), detach(), is_border(), is_interior(), is_poly_crease(), is_polyline(), norm_angle(), num_all_faces(), redefine(), set_new_vertices(), and view_intersect(). |
|
Definition at line 1244 of file bedge.C. References _adj, _f1, _f2, SimplexFilter::accept(), and SimplexArray< L, T >::num_satisfy(). Referenced by fix_multi(). |
|
Definition at line 336 of file bedge.C. References _f1, _f2, mlib::Vec3< V >::perpend(), Bface::qnorm(), and vec(). Referenced by view_intersect(). |
|
Reimplemented from Bsimplex. Reimplemented in Ledge. Definition at line 1115 of file bedge.C. References _sil_stamp, Bsimplex::clear_bit(), CONVEX_VALID_BIT, and Bsimplex::normal_changed(). Referenced by faces_changed(), Bface::geometry_changed(), and Ledge::normal_changed(). |
|
Reimplemented from Bsimplex. Definition at line 673 of file bedge.C. References crease_val(), Bsimplex::dim(), is_crease(), and Bsimplex::notify_split(). Referenced by BMESH::split_edge(). |
|
Definition at line 52 of file bsimplex.C. References Bsimplex::_data_list, and SimplexDataList::notify_simplex_xformed(). Referenced by Bvert::transform(). |
|
Definition at line 57 of file bedge.C. References _adj, nfaces(), and ARRAY< T >::num(). Referenced by get_all_faces(). |
|
Definition at line 1012 of file bface.H. References _f1, _f2, and Bface::is_quad(). Referenced by HybridCalc< Wpt >::subdiv_val(). |
|
Referenced by IDRefImage::is_face_visible(). |
|
Definition at line 368 of file bedge.H. References contains(). |
|
Definition at line 228 of file bedge.C. References _f1, _f2, _v1, _v2, add_multi(), Bface::contains(), demote(), faces_changed(), Bface::is_secondary(), and Bvert::star_changed(). |
|
Definition at line 266 of file bedge.C. References _adj, _f1, _f2, _v1, _v2, err_msg(), faces_changed(), is_multi(), ARRAY< T >::rem(), and Bvert::star_changed(). |
|
Definition at line 1041 of file bface.H. References _v1, _v2, other_face(), and Bface::other_vertex(). Referenced by opposite_vert1(), opposite_vert2(), Bface::quad_opposite_vert(), and Bface::quad_vert(). |
|
Definition at line 112 of file bedge.H. References _f2, and opposite_vert(). Referenced by is_near_tri(), swap_is_legal(), and BMESH::try_collapse_edge(). |
|
Definition at line 113 of file bedge.H. References _f1, and opposite_vert(). Referenced by is_near_tri(), swap_is_legal(), and BMESH::try_collapse_edge(). |
|
Definition at line 541 of file bedge.C. References get_face(), and Bface::orientation(). |
|
|
Definition at line 116 of file bedge.H. Referenced by EdgeStrip::build_ccw_boundaries(), EdgeStrip::build_line_strip(), ccw_face(), cw_face(), Bvert::get_ccw_edges(), Bvert::nbr(), Bvert::next_border_vert_cw(), Bface::quad_opposite_vert(), redef2(), and BMESH::try_collapse_edge(). |
|
Definition at line 328 of file bedge.C. References _f1, _f2, f(), frontfacing_face(), and Bface::patch(). Referenced by IDRefImage::find_all_neighbors(), IDRefImage::find_neighbor(), get_cur_sub_edges(), IDRefImage::is_patch_sil_edge(), and is_texture_seam(). |
|
Definition at line 171 of file bedge.C. References _v1, _v2, and Bvert::pix(). |
|
Implements Bsimplex. Definition at line 559 of file bedge.C. References _v1, length(), Bvert::loc(), mlib::Vec3< V >::set(), sqr(), and vec(). |
|
Definition at line 152 of file bsimplex.H. References Bsimplex::bc2pos(), Bsimplex::clamp_barycentric(), and Bsimplex::project_barycentric(). |
|
Definition at line 439 of file bedge.C. References _adj, _f1, _f2, add_primary(), ARRAY< T >::contains(), Bface::contains(), err_msg(), Config::get_var_bool(), ARRAY< T >::rem(), and MeshGlobal::select(). Referenced by fix_multi(), promote(), and Ledge::push_primary(). |
|
Definition at line 612 of file bedge.C. References _v1, _v2, contains(), debug, err_adv(), geometry_changed(), Config::get_var_bool(), Bvert::lookup_edge(), and other_vertex(). |
|
Reimplemented in Ledge. Definition at line 566 of file bedge.C. References _v1, _v2, contains(), crease_val(), geometry_changed(), is_crease(), Bvert::lookup_edge(), nfaces(), and set_crease(). Referenced by Ledge::redefine(), and BMESH::split_edge(). |
|
Reimplemented in Ledge. |
|
Definition at line 126 of file bsimplex.H. References Bsimplex::_data_list, and ARRAY< T >::rem(). Referenced by SimplexData::set(). |
|
Definition at line 137 of file bedge.H. References contains(). |
|
Definition at line 1021 of file bface.H. References _adj, _f1, _f2, SimplexFilter::accept(), and SimplexArray< L, T >::first_satisfies(). Referenced by EdgeStrip::build_ccw_boundaries(). |
|
|
Definition at line 851 of file bedge.C. References _f1, _f2, _v1, _v2, CONVEX_BIT, CONVEX_VALID_BIT, Bvert::loc(), Bface::norm(), Bface::other_vertex(), and Bsimplex::set_bit(). |
|
Reimplemented in Ledge. Referenced by OBJReaderImpl::add_creases(), BMESH::clear_creases(), compute_crease(), dec_crease(), inc_crease(), BMESH::operator=(), redefine(), Ledge::set_crease(), BMESH::set_crease(), and toggle_crease(). |
|
|
Definition at line 67 of file bsimplex.H. References Bsimplex::_mesh. Referenced by BMESH::add_edge(), BMESH::add_face(), and BMESH::add_vertex(). |
|
Reimplemented in Ledge. Definition at line 653 of file bedge.C. References _v1, _v2, geometry_changed(), Bvert::lookup_edge(), and nfaces(). Referenced by do_swap(), Ledge::set_new_vertices(), and BMESH::try_swap_edge(). |
|
Definition at line 274 of file bedge.H. References PATCH_BOUNDARY_BIT, and Bsimplex::set_bit(). Referenced by BMESH::operator=(), and BMESH::set_patch_boundary(). |
|
Definition at line 71 of file bedge.H. References _sil_stamp. Referenced by NewSilEdgeFilter::accept(). |
|
Definition at line 124 of file bedge.H. References _v1, _v2, and contains(). |
|
Definition at line 70 of file bedge.H. References _sil_stamp. Referenced by NewSilEdgeFilter::accept(). |
|
Definition at line 993 of file bedge.C. References _f1, _f2, debug, err_adv(), Config::get_var_bool(), UVdata::has_uv(), UVdata::is_continuous(), is_crease(), is_interior(), is_multi(), is_patch_boundary(), Bface::is_quad(), is_weak(), lookup_edge(), opposite_vert1(), and opposite_vert2(). Referenced by Ledge::do_swap(), and do_swap(). |
|
Definition at line 876 of file bedge.C. References _v1, _v2, mlib::Acos(), ccw_face(), mlib::cross(), debug, Bvert::degree(), err_adv(), Config::get_var_bool(), is_crease(), is_multi(), is_patch_boundary(), Bvert::loc(), Bvert::lookup_edge(), max(), Bface::norm(), mlib::Vec3< V >::normalized(), other_face(), Bface::other_vertex(), and vec(). Referenced by BMESH::try_swap_edge(). |
|
Definition at line 47 of file bedge.H. References _v1. Referenced by Ledge::get_subdiv_verts(), local_search(), Ledge::lv(), operator<<(), BMESH::put_creases(), BMESH::put_polylines(), BMESH::put_weak_edges(), and BMESH::try_collapse_edge(). |
|
|
|
Definition at line 158 of file bedge.C. References _v1, _v2, and Bvert::loc(). Referenced by interp(), length(), norm(), project_barycentric(), and swapable(). |
|
Implements Bsimplex. Definition at line 186 of file bedge.C. References Bsimplex::_mesh, _v1, _v2, mlib::Point3< P, V >::dist(), get_face(), BMESH::inv_xform(), Bvert::ndc(), nfaces(), Bface::norm(), norm(), mlib::Vec3< V >::normalized(), mlib::Line< L, P, V >::point(), and Bvert::wloc(). Referenced by Bface::view_intersect(). |
|
|
|
Definition at line 199 of file bsimplex.H. References Bsimplex::nearest_pt(), and Bsimplex::walk_to_target(). |
|
Referenced by Bsimplex::walk_to_target(). |
|
Definition at line 1140 of file bedge.C. References _v1, _v2, Bvert::loc(), and Sign(). Referenced by Bface::plane_walk(), and BMESH::split_tris(). |
|
Similar to get_patch(CBsimplex*), but returns the control Patch.
|
|
Returns the Patch of a Bsimplex.
|
|
|
|
Definition at line 406 of file bedge.H. Referenced by add_multi(), adj(), allocate_adj(), avg_area(), clear_flag02(), contains(), demote(), f(), fix_multi(), get_all_faces(), is_multi(), lookup_face(), neighbors(), nfaces_satisfy(), num_all_faces(), operator-=(), promote(), screen_face(), ~Bedge(), and Ledge::~Ledge(). |
|
|
Definition at line 404 of file bedge.H. Referenced by add_multi(), add_primary(), avg_area(), can_promote(), ccw_face(), clear_flag02(), Ledge::color_changed(), consistent_orientation(), contains(), demote(), do_swap(), dot(), f(), f1(), frontfacing_face(), get_all_faces(), get_face(), is_patch_boundary(), is_primary(), is_sil(), is_stressed(), is_texture_seam(), lookup_face(), neighbors(), nfaces(), nfaces_satisfy(), norm(), num_quads(), operator+=(), operator-=(), opposite_vert2(), other_face(), patch(), promote(), Ledge::push_primary(), screen_face(), set_convex(), swap_is_legal(), ~Bedge(), and Ledge::~Ledge(). |
|
Definition at line 405 of file bedge.H. Referenced by add_multi(), add_primary(), avg_area(), can_promote(), ccw_face(), clear_flag02(), Ledge::color_changed(), consistent_orientation(), contains(), demote(), do_swap(), dot(), f(), f2(), frontfacing_face(), get_all_faces(), get_face(), is_patch_boundary(), is_primary(), is_sil(), is_stressed(), is_texture_seam(), lookup_face(), neighbors(), nfaces(), nfaces_satisfy(), norm(), num_quads(), operator+=(), operator-=(), opposite_vert1(), other_face(), patch(), promote(), Ledge::push_primary(), screen_face(), set_convex(), swap_is_legal(), ~Bedge(), and Ledge::~Ledge(). |
|
Definition at line 246 of file bsimplex.H. Referenced by Bsimplex::clear_bit(), Bsimplex::clear_flag(), Bsimplex::flag(), Bsimplex::is_set(), Bsimplex::set_bit(), and Bsimplex::set_flag(). |
|
Definition at line 245 of file bsimplex.H. Referenced by Bsimplex::generate_key(), and Bsimplex::key(). |
|
|
Definition at line 410 of file bedge.H. Referenced by normal_changed(), set_sil_stamp(), and sil_stamp(). |
|
Definition at line 263 of file bsimplex.H. Referenced by Bsimplex::generate_key(), and Bsimplex::lookup(). |
|
Definition at line 402 of file bedge.H. Referenced by bc2pos(), bc2sim(), Bedge(), ccw_face(), contains(), crease_changed(), detach(), do_swap(), faces_changed(), interp(), is_chain_tip(), is_crease_end(), is_polyline_end(), is_texture_seam(), line(), mid_pt(), ndc_intersect(), nearest_pt_ndc(), neighbors(), operator+=(), operator-=(), opposite_vert(), other_vertex(), pix_line(), project_barycentric(), redef2(), redefine(), set_convex(), set_new_vertices(), shared_vert(), swapable(), Ledge::update_subdivision(), v(), v1(), vec(), view_intersect(), vindex(), and which_side(). |
|
Definition at line 403 of file bedge.H. Referenced by bc2pos(), bc2sim(), Bedge(), contains(), crease_changed(), cw_face(), detach(), do_swap(), faces_changed(), is_chain_tip(), is_crease_end(), is_polyline_end(), is_texture_seam(), line(), mid_pt(), ndc_intersect(), nearest_pt_ndc(), neighbors(), operator+=(), operator-=(), opposite_vert(), other_vertex(), pix_line(), redef2(), redefine(), set_convex(), set_new_vertices(), shared_vert(), swapable(), v2(), vec(), view_intersect(), vindex(), and which_side(). |