MeshKit  1.0
OneDefectPatch Class Reference

#include <QuadCleanUp.hpp>

List of all members.

Public Member Functions

 OneDefectPatch (Mesh *m)
 OneDefectPatch (Mesh *m, Vertex *v)
void set_initial_path (const NodeSequence &sq)
size_t getSize (int e) const
const NodeSequenceget_irregular_nodes_removed ()
bool isBoundaryEven () const
size_t count_irregular_nodes (int where)
int build_remeshable_boundary ()
double get_isoperimetic_quotient () const
void getFaces (FaceSequence &result) const
const NodeSequencegetBoundaryNodes () const
bool operator< (const OneDefectPatch &rhs) const
Vertexget_new_defective_node ()
int remesh ()
void setAttributes ()
void clear ()

Static Public Attributes

static size_t MAX_FACES_ALLOWED = 500
static size_t num_boundaries = 0
static double exec_time = 0.0
static size_t num_3_patches = 0
static size_t num_4_patches = 0
static size_t num_5_patches = 0
static size_t disk_remeshable = 0

Private Member Functions

bool isSafe ()
int getPosOf (const Vertex *v) const
void get_bound_nodes (const Vertex *src, const Vertex *dst, NodeSequence &s)
bool has_irregular_node_on_first_segment () const
void start_boundary_loop_from (Vertex *v)
int reorient_4_sided_loop ()
int init_blob ()
int update_boundary ()
int finalize_boundary ()
int expand_blob (Vertex *v)
int expand_blob ()
int get_topological_outer_angle (Vertex *v)
bool is_simply_connected ()
bool is_quad_breakable_at (const Vertex *v)
bool is_4_sided_convex_loop_quad_meshable ()
void set_boundary_segments ()
void rollback ()
void pre_remesh ()
int remesh_3_sided_patch ()
int remesh_4_sided_patch ()
int remesh_5_sided_patch ()
void local_smoothing ()
void post_remesh ()
double getArea () const
double getPerimeter () const

Private Attributes

Meshmesh
Vertexapex
NodeSequence nodepath
FaceSet faces
FaceSet inner_faces
std::map< Vertex *, FaceSetrelations02
std::map< Vertex *, FaceSet >
::iterator 
miter
Vertexnew_defective_node
Vertexquad_splitting_node
int quad_splitting_node_degree
NodeSet corners
NodeSet nodes
NodeSequence inner_nodes
NodeSequence bound_nodes
NodeSequence irregular_nodes_removed
vector< Edgeboundary
vector< int > cornerPos
vector< int > segSize
int partSegments [10]
TriRemeshTemplate template3
QuadRemeshTemplate template4
PentaRemeshTemplate template5
NodeSequence anodes
NodeSequence bnodes
NodeSequence cnodes
NodeSequence dnodes
NodeSequence enodes
NodeSequence a1nodes
NodeSequence a2nodes
NodeSequence b1nodes
NodeSequence c0nodes
NodeSequence c1nodes
NodeSequence c2nodes
NodeSequence abnodes
NodeSequence canodes
NodeSequence bcnodes
NodeSequence d1nodes
NodeSequence newnodes
NodeSequence nnodes
FaceSequence newfaces
FaceSequence nfaces

Detailed Description

Definition at line 207 of file QuadCleanUp.hpp.


Constructor & Destructor Documentation

OneDefectPatch ( Mesh m) [inline]

Definition at line 218 of file QuadCleanUp.hpp.

OneDefectPatch ( Mesh m,
Vertex v 
) [inline]

Definition at line 225 of file QuadCleanUp.hpp.


Member Function Documentation

Definition at line 1225 of file OneDefectRemeshing.cpp.

void clear ( ) [inline]

Definition at line 293 of file QuadCleanUp.hpp.

size_t count_irregular_nodes ( int  where)

Definition at line 1000 of file OneDefectRemeshing.cpp.

int expand_blob ( Vertex v) [private]

Definition at line 1179 of file OneDefectRemeshing.cpp.

int expand_blob ( ) [private]

Definition at line 1202 of file OneDefectRemeshing.cpp.

int finalize_boundary ( ) [private]

Definition at line 1099 of file OneDefectRemeshing.cpp.

void get_bound_nodes ( const Vertex src,
const Vertex dst,
NodeSequence s 
) [private]

Definition at line 534 of file OneDefectRemeshing.cpp.

Definition at line 242 of file QuadCleanUp.hpp.

double get_isoperimetic_quotient ( ) const [inline]

Definition at line 255 of file QuadCleanUp.hpp.

Definition at line 285 of file QuadCleanUp.hpp.

int get_topological_outer_angle ( Vertex v) [private]

Definition at line 1164 of file OneDefectRemeshing.cpp.

double getArea ( ) const [inline, private]

Definition at line 408 of file QuadCleanUp.hpp.

const NodeSequence& getBoundaryNodes ( ) const [inline]

Definition at line 277 of file QuadCleanUp.hpp.

void getFaces ( FaceSequence result) const [inline]

Definition at line 263 of file QuadCleanUp.hpp.

double getPerimeter ( ) const [inline, private]

Definition at line 418 of file QuadCleanUp.hpp.

int getPosOf ( const Vertex v) const [inline, private]

Definition at line 363 of file QuadCleanUp.hpp.

size_t getSize ( int  e) const [inline]

Definition at line 236 of file QuadCleanUp.hpp.

bool has_irregular_node_on_first_segment ( ) const [private]

Definition at line 553 of file OneDefectRemeshing.cpp.

int init_blob ( ) [private]

Definition at line 969 of file OneDefectRemeshing.cpp.

Definition at line 865 of file OneDefectRemeshing.cpp.

bool is_quad_breakable_at ( const Vertex v) [private]

Definition at line 836 of file OneDefectRemeshing.cpp.

bool is_simply_connected ( ) [private]

Definition at line 566 of file OneDefectRemeshing.cpp.

bool isBoundaryEven ( ) const [inline]

Definition at line 246 of file QuadCleanUp.hpp.

bool isSafe ( ) [private]

Definition at line 503 of file OneDefectRemeshing.cpp.

void local_smoothing ( ) [private]
bool operator< ( const OneDefectPatch rhs) const [inline]

Definition at line 281 of file QuadCleanUp.hpp.

void post_remesh ( ) [private]

Definition at line 1391 of file OneDefectRemeshing.cpp.

void pre_remesh ( ) [private]

Definition at line 1368 of file OneDefectRemeshing.cpp.

int remesh ( )

Definition at line 1452 of file OneDefectRemeshing.cpp.

int remesh_3_sided_patch ( ) [private]

Definition at line 673 of file OneDefectRemeshing.cpp.

int remesh_4_sided_patch ( ) [private]

Definition at line 697 of file OneDefectRemeshing.cpp.

int remesh_5_sided_patch ( ) [private]

Definition at line 806 of file OneDefectRemeshing.cpp.

int reorient_4_sided_loop ( ) [private]

Definition at line 600 of file OneDefectRemeshing.cpp.

void rollback ( ) [private]

Definition at line 1344 of file OneDefectRemeshing.cpp.

void set_boundary_segments ( ) [private]

Definition at line 1138 of file OneDefectRemeshing.cpp.

void set_initial_path ( const NodeSequence sq) [inline]

Definition at line 232 of file QuadCleanUp.hpp.

void setAttributes ( )

Definition at line 467 of file OneDefectRemeshing.cpp.

void start_boundary_loop_from ( Vertex v) [private]

Definition at line 519 of file OneDefectRemeshing.cpp.

int update_boundary ( ) [private]

Definition at line 1024 of file OneDefectRemeshing.cpp.


Member Data Documentation

NodeSequence a1nodes [private]

Definition at line 355 of file QuadCleanUp.hpp.

NodeSequence a2nodes [private]

Definition at line 355 of file QuadCleanUp.hpp.

NodeSequence abnodes [private]

Definition at line 355 of file QuadCleanUp.hpp.

NodeSequence anodes [private]

Definition at line 352 of file QuadCleanUp.hpp.

Vertex* apex [private]

Definition at line 315 of file QuadCleanUp.hpp.

NodeSequence b1nodes [private]

Definition at line 355 of file QuadCleanUp.hpp.

NodeSequence bcnodes [private]

Definition at line 355 of file QuadCleanUp.hpp.

NodeSequence bnodes [private]

Definition at line 352 of file QuadCleanUp.hpp.

Definition at line 339 of file QuadCleanUp.hpp.

vector<Edge> boundary [private]

Definition at line 342 of file QuadCleanUp.hpp.

NodeSequence c0nodes [private]

Definition at line 355 of file QuadCleanUp.hpp.

NodeSequence c1nodes [private]

Definition at line 355 of file QuadCleanUp.hpp.

NodeSequence c2nodes [private]

Definition at line 355 of file QuadCleanUp.hpp.

NodeSequence canodes [private]

Definition at line 355 of file QuadCleanUp.hpp.

NodeSequence cnodes [private]

Definition at line 352 of file QuadCleanUp.hpp.

vector<int> cornerPos [private]

Definition at line 343 of file QuadCleanUp.hpp.

NodeSet corners [private]

Definition at line 336 of file QuadCleanUp.hpp.

NodeSequence d1nodes [private]

Definition at line 355 of file QuadCleanUp.hpp.

size_t disk_remeshable = 0 [static]

Definition at line 216 of file QuadCleanUp.hpp.

NodeSequence dnodes [private]

Definition at line 352 of file QuadCleanUp.hpp.

NodeSequence enodes [private]

Definition at line 352 of file QuadCleanUp.hpp.

double exec_time = 0.0 [static]

Definition at line 212 of file QuadCleanUp.hpp.

FaceSet faces [private]

Definition at line 318 of file QuadCleanUp.hpp.

FaceSet inner_faces [private]

Definition at line 319 of file QuadCleanUp.hpp.

Definition at line 338 of file QuadCleanUp.hpp.

Definition at line 340 of file QuadCleanUp.hpp.

size_t MAX_FACES_ALLOWED = 500 [static]

Definition at line 209 of file QuadCleanUp.hpp.

Mesh* mesh [private]

Definition at line 314 of file QuadCleanUp.hpp.

std::map<Vertex*, FaceSet>::iterator miter [private]

Definition at line 327 of file QuadCleanUp.hpp.

Definition at line 330 of file QuadCleanUp.hpp.

Definition at line 360 of file QuadCleanUp.hpp.

Definition at line 359 of file QuadCleanUp.hpp.

FaceSequence nfaces [private]

Definition at line 360 of file QuadCleanUp.hpp.

NodeSequence nnodes [private]

Definition at line 359 of file QuadCleanUp.hpp.

Definition at line 316 of file QuadCleanUp.hpp.

NodeSet nodes [private]

Definition at line 337 of file QuadCleanUp.hpp.

size_t num_3_patches = 0 [static]

Definition at line 213 of file QuadCleanUp.hpp.

size_t num_4_patches = 0 [static]

Definition at line 214 of file QuadCleanUp.hpp.

size_t num_5_patches = 0 [static]

Definition at line 215 of file QuadCleanUp.hpp.

size_t num_boundaries = 0 [static]

Definition at line 211 of file QuadCleanUp.hpp.

int partSegments[10] [private]

Definition at line 345 of file QuadCleanUp.hpp.

Definition at line 333 of file QuadCleanUp.hpp.

Definition at line 334 of file QuadCleanUp.hpp.

std::map<Vertex*, FaceSet> relations02 [private]

Definition at line 326 of file QuadCleanUp.hpp.

vector<int> segSize [private]

Definition at line 344 of file QuadCleanUp.hpp.

Definition at line 347 of file QuadCleanUp.hpp.

Definition at line 348 of file QuadCleanUp.hpp.

Definition at line 349 of file QuadCleanUp.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines