Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
wmtk::components::tetwild::orig::EdgeRemover Class Reference
Inheritance diagram for wmtk::components::tetwild::orig::EdgeRemover:
wmtk::components::tetwild::orig::LocalOperations

Public Member Functions

 EdgeRemover (LocalOperations lo, double i_weight)
 
void init ()
 
void swap ()
 
bool removeAnEdge_32 (int v1_id, int v2_id, const std::vector< int > &old_t_ids)
 
bool removeAnEdge_44 (int v1_id, int v2_id, const std::vector< int > &old_t_ids)
 
bool removeAnEdge_56 (int v1_id, int v2_id, const std::vector< int > &old_t_ids)
 
bool isSwappable_cd1 (const std::array< int, 2 > &v_ids, std::vector< int > &t_ids, bool is_check_conn_tet_num=false)
 
bool isSwappable_cd1 (const std::array< int, 2 > &v_ids)
 
bool isEdgeValid (const std::array< int, 2 > &v_ids)
 
void getNewTetSlots (int n, std::vector< int > &new_conn_tets)
 
void addNewEdge (const std::array< int, 2 > &e)
 
- Public Member Functions inherited from wmtk::components::tetwild::orig::LocalOperations
 LocalOperations (std::vector< TetVertex > &t_vs, std::vector< std::array< int, 4 > > &ts, std::vector< std::array< int, 4 > > &is_sf_fs, std::vector< bool > &v_is_rm, std::vector< bool > &t_is_rm, std::vector< TetQuality > &tet_qs, const SampleEnvelope &geo_tree, const SampleEnvelope &b_t, const Args &ar, State &st)
 
void outputInfo (int op_type, double time, bool is_log=true)
 
void calTetQualities (const std::vector< std::array< int, 4 > > &new_tets, std::vector< TetQuality > &tet_qs)
 
double calEdgeLength (int v1_id, int v2_id)
 
void calTetQuality_AMIPS (const std::array< int, 4 > &tet, TetQuality &t_quality)
 
bool isFlip (const std::vector< std::array< int, 4 > > &new_tets)
 
bool isTetFlip (const std::array< int, 4 > &t)
 
bool isTetFlip (int t_id)
 
void getAvgMaxEnergy (double &avg_tq, double &max_tq)
 
double getMaxEnergy ()
 
void getCheckQuality (const std::vector< TetQuality > &tet_qs, TetQuality &tq)
 
void getCheckQuality (const std::vector< int > &t_ids, TetQuality &tq)
 
bool isEdgeOnSurface (int v1_id, int v2_id)
 
bool isEdgeOnBbox (int v1_id, int v2_id)
 
bool isEdgeOnSurface (int v1_id, int v2_id, const std::vector< int > &t_ids)
 
bool isEdgeOnBbox (int v1_id, int v2_id, const std::vector< int > &t_ids)
 
bool isEdgeOnBoundary (int v1_id, int v2_id)
 
bool isFaceOutEnvelop (const std::array< Vector3d, 3 > &tri)
 
bool isPointOutEnvelop (const Vector3d &p)
 
bool isPointOutBoundaryEnvelop (const Vector3d &p)
 
void getFaceConnTets (int v1_id, int v2_id, int v3_id, std::vector< int > &t_ids)
 
bool isIsolated (int v_id)
 
bool isBoundaryPoint (int v_id)
 
bool isLocked_ui (const std::array< int, 2 > &e)
 
bool isTetLocked_ui (int tid)
 

Public Attributes

std::priority_queue< ElementInQueue_er, std::vector< ElementInQueue_er >, cmp_erer_queue
 
double ideal_weight
 
int v_empty_start = 0
 
int t_empty_start = 0
 
int flag_cnt = 0
 
int num_32_cases = 0
 
int num_44_cases = 0
 
int num_56_cases = 0
 
int num_6_cases = 0
 
int equal_buget = 100
 
igl::Timer tmp_timer
 
double energy_time = 0
 
- Public Attributes inherited from wmtk::components::tetwild::orig::LocalOperations
const Argsargs
 
Statestate
 
std::vector< TetVertex > & tet_vertices
 
std::vector< std::array< int, 4 > > & tets
 
std::vector< std::array< int, 4 > > & is_surface_fs
 
std::vector< bool > & v_is_removed
 
std::vector< bool > & t_is_removed
 
std::vector< TetQuality > & tet_qualities
 
const SampleEnvelopegeo_sf_tree
 
const SampleEnvelopegeo_b_tree
 
int counter = 0
 
int suc_counter = 0
 
igl::Timer igl_timer0
 
int id_sampling = 0
 
int id_aabb = 1
 
int mid_id = 0
 

The documentation for this class was generated from the following files: