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

Public Member Functions

 EdgeSplitter (LocalOperations lo, double ideal_w)
 
void init ()
 
void split ()
 
int getOverRefineScale (int v1_id, int v2_id)
 
bool splitAnEdge (const std::array< int, 2 > &edge)
 
bool isSplittable_cd1 (double weight)
 
bool isSplittable_cd1 (int v1_id, int v2_id, double weight)
 
void getNewTetSlots (int n, std::vector< int > &new_conn_tets)
 
void getMesh_ui (const std::vector< std::array< int, 4 > > &tets, Eigen::MatrixXd &V, Eigen::MatrixXi &F)
 
- 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

bool is_check_quality = false
 
bool is_cal_quality_end = false
 
std::priority_queue< ElementInQueue_es, std::vector< ElementInQueue_es >, cmp_eses_queue
 
int t_empty_start = 0
 
int v_empty_start = 0
 
double max_weight = 0
 
double ideal_weight = 0
 
bool is_over_refine = false
 
unsigned int budget = 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
 

Member Function Documentation

◆ getMesh_ui()

void wmtk::components::tetwild::orig::EdgeSplitter::getMesh_ui ( const std::vector< std::array< int, 4 > > &  tets,
Eigen::MatrixXd &  V,
Eigen::MatrixXi &  F 
)

get V, F, C


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