#include "mesh/bmesh.H"
Include dependency graph for sps.H:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | OctreeNode |
class | QuadtreeNode |
Functions | |
void | generate_samples (BMESHptr mesh, Bface_list &flist, ARRAY< Wvec > &blist, int height=6, double min_dist=0.35, double regularity=20) |
void | generate_samples (BMESHptr mesh, double min_spacing, Bface_list &flist, ARRAY< Wvec > &blist) |
OctreeNode * | sps (BMESHptr mesh, int height, double regularity, double min_dist, Bface_list &flist, ARRAY< Wvec > &blist) |
void | visit (OctreeNode *node, double regularity, Bface_list &flist, ARRAY< Wvec > &blist) |
void | remove_nodes (Bface_list &flist, ARRAY< Wvec > &blist, double min_dist, ARRAY< OctreeNode * > &t) |
void | assign_weights (ARRAY< QuadtreeNode * > &fs, double regularity, Wpt &pt) |
int | pick_triangle (ARRAY< QuadtreeNode * > &fs) |
|
|
|
Definition at line 37 of file sps.C. References OctreeNode::build_octree(), ARRAY< T >::clear(), debug, err_adv(), OctreeNode::intersects(), BBOX::max(), BBOX::min(), ARRAY< T >::num(), remove_nodes(), OctreeNode::set_disp(), OctreeNode::set_leaf(), OctreeNode::set_neibors(), OctreeNode::set_terms(), OctreeNode::terms(), and visit(). |
|
Definition at line 23 of file sps.C. References sps(). |
|
|
|
|
|
Definition at line 81 of file sps.C. References OctreeNode::build_octree(), ARRAY< T >::clear(), debug, BBOX::dim(), err_adv(), OctreeNode::intersects(), mlib::Vec3< V >::length(), BBOX::max(), BBOX::min(), ARRAY< T >::num(), remove_nodes(), OctreeNode::set_disp(), OctreeNode::set_leaf(), OctreeNode::set_neibors(), OctreeNode::set_terms(), OctreeNode::terms(), and visit(). Referenced by Collide::_update_scene(), generate_samples(), and TestSPSapp::load_scene(). |
|
Definition at line 286 of file sps.C. References assign_weights(), QuadtreeNode::build_quadtree(), BBOX::center(), ARRAY< T >::clear(), OctreeNode::get_children(), OctreeNode::get_disp(), OctreeNode::get_leaf(), OctreeNode::intersects(), ARRAY< T >::last(), Bvert::loc(), ARRAY< T >::num(), pick(), QuadtreeNode::set_terms(), Bface::v1(), Bface::v2(), Bface::v3(), and visit(). Referenced by generate_samples(), sps(), and visit(). |