Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
wmtk::components::tetwild::orig::MeshRefinement Class Reference

Public Member Functions

 MeshRefinement (SampleEnvelope &env_surf, SampleEnvelope &env_bound, const Args &ar, State &st)
 
void prepareData (bool is_init=true)
 
void round ()
 
void clear ()
 
int doOperations (EdgeSplitter &splitter, EdgeCollapser &collapser, EdgeRemover &edge_remover, VertexSmoother &smoother, const std::array< bool, 4 > &ops={{true, true, true, true}})
 
int doOperationLoops (EdgeSplitter &splitter, EdgeCollapser &collapser, EdgeRemover &edge_remover, VertexSmoother &smoother, int max_pass, const std::array< bool, 4 > &ops={{true, true, true, true}})
 
void refine (const std::array< bool, 4 > &ops={{true, true, true, true}}, bool is_pre=true, bool is_post=true, int scalar_update=3)
 
void refine_pre (EdgeSplitter &splitter, EdgeCollapser &collapser, EdgeRemover &edge_remover, VertexSmoother &smoother)
 
void refine_post (EdgeSplitter &splitter, EdgeCollapser &collapser, EdgeRemover &edge_remover, VertexSmoother &smoother)
 
void updateScalarField (bool is_clean_up_unrounded, bool is_clean_up_local, double filter_energy, bool is_lock=false)
 
int getInsideVertexSize ()
 
void markInOut (std::vector< bool > &tmp_t_is_removed)
 
void getSurface (Eigen::MatrixXd &V, Eigen::MatrixXi &F)
 
void getTrackedSurface (Eigen::MatrixXd &V, Eigen::MatrixXi &F)
 
void getTrackedSurface_continuous (Eigen::MatrixXd &V, Eigen::MatrixXi &F)
 

Public Attributes

const Argsargs
 
Statestate
 
SampleEnvelopeenv_sf
 
SampleEnvelopeenv_b
 
std::vector< TetVertextet_vertices
 
std::vector< std::array< int, 4 > > tets
 
std::vector< bool > v_is_removed
 
std::vector< bool > t_is_removed
 
std::vector< TetQualitytet_qualities
 
std::vector< std::array< int, 4 > > is_surface_fs
 
igl::Timer igl_timer
 
int old_pass = 0
 
int sf_id = 0
 
bool is_dealing_unrounded = false
 
bool is_dealing_local = false
 
double min_adaptive_scale
 
bool is_hit_min = false
 
int mid_result = 0
 

Member Function Documentation

◆ refine()

void wmtk::components::tetwild::orig::MeshRefinement::refine ( const std::array< bool, 4 > &  ops = {{true, true, true, true}},
bool  is_pre = true,
bool  is_post = true,
int  scalar_update = 3 
)

apply the local operations


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