HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_CleanTools Namespace Reference

Enumerations

enum  gu_Action { GU_IGNORE_PROBLEM = 0, GU_MARK_PROBLEM = 1, GU_REPAIR_PROBLEM = 2 }
 

Functions

GU_API void processBadOrientation (GU_Detail *gdp, gu_Action bad_orientation_actn, const GA_PrimitiveGroup *process, GA_PrimitiveGroup *marked_polys)
 
GU_API void precomputePolyAreas (GU_Detail *gdp, UT_ValArray< fpreal > &arr_poly_area, const GA_PrimitiveGroup *process)
 
GU_API void processLocallySmallAreas (GU_Detail *gdp, gu_Action loc_small_area_actn, fpreal area_loc_threshold, uint random_seed, const UT_ValArray< fpreal > &arr_poly_area, const GA_PrimitiveGroup *process, GA_PrimitiveGroup *marked_polys, GA_PointGroup *marked_pts, GA_PrimitiveGroup *prims_to_remove, GA_PointGroup *pts_to_remove)
 
GU_API void processGloballySmallAreas (GU_Detail *gdp, gu_Action glo_small_area_actn, fpreal area_glo_threshold, uint random_seed, const UT_ValArray< fpreal > &arr_poly_area, const GA_PrimitiveGroup *process, GA_PrimitiveGroup *marked_polys, GA_PointGroup *marked_pts, GA_PrimitiveGroup *prims_to_remove, GA_PointGroup *pts_to_remove)
 
GU_API void processLocallySmallEdges (GU_Detail *gdp, gu_Action loc_small_edge_actn, fpreal edge_size_loc_threshold, const GA_PrimitiveGroup *process, GA_PrimitiveGroup *marked_polys, GA_PointGroup *marked_pts, GA_PrimitiveGroup *prims_to_remove, GA_PointGroup *pts_to_remove)
 
GU_API void processGloballySmallEdges (GU_Detail *gdp, gu_Action glo_small_edge_actn, fpreal edge_size_glo_threshold, const GA_PrimitiveGroup *process, GA_PrimitiveGroup *marked_polys, GA_PointGroup *marked_pts, GA_PrimitiveGroup *prims_to_remove, GA_PointGroup *pts_to_remove)
 
GU_API void processNonUniform (gu_Action non_uniform_actn, fpreal uni_threshold, GA_PrimitiveGroup *process, GA_PrimitiveGroup *marked_polys, GA_PointGroup *marked_pts, GA_PrimitiveGroup *prims_to_remove, GA_PointGroup *pts_to_remove, GU_Detail *gdp)
 
GU_API void processConsecutiveDoubleVertices (GU_Detail *gdp, gu_Action actn, const GA_PrimitiveGroup *process, GA_PrimitiveGroup *marked_polys, GA_PointGroup *marked_pts, GA_PrimitiveGroup *prims_to_remove)
 
GU_API void processIllFormed (GU_Detail *gdp, gu_Action ill_formed_actn, GA_PrimitiveGroup *process, GA_PrimitiveGroup *marked_polys, GA_PointGroup *marked_pts, GA_PrimitiveGroup *prims_to_remove)
 
GU_API void processDisconnectedPts (GU_Detail *gdp, GA_PointGroup *marked_pts)
 
GU_API void processSelfIntersecting (GU_Detail *gdp, fpreal intersection_threshold, const GA_PrimitiveGroup *process, GA_PrimitiveGroup *marked_polys, GA_PointGroup *marked_pts)
 
GU_API void processManyEdges (gu_Action many_edges_actn, GA_PrimitiveGroup *process, GA_PrimitiveGroup *marked_polys, GU_Detail *gdp)
 
GU_API void processNonConvex (int actn, GA_PrimitiveGroup *process, GA_PrimitiveGroup *marked_polys, GA_PointGroup *marked_pts, GU_Detail *gdp)
 
GU_API void processOverlapping (const GA_PrimitiveGroup *process, GA_PrimitiveGroup *prims_to_remove, bool pairoverlaps, GU_Detail *gdp)
 
GU_API void processTopology (GA_PointGroup *marked_pts, GA_PointGroup *repaired_pts, gu_Action nonmanifold_pts_actn, bool prefer_large_angles, bool ignore_windings, bool visualize_maximal_manifolds, bool export_manifold_numbers, bool fix_windings, int min_manifold_size, GU_Detail *gdp, UT_String &msg)
 

Enumeration Type Documentation

Enumerator
GU_IGNORE_PROBLEM 
GU_MARK_PROBLEM 
GU_REPAIR_PROBLEM 

Definition at line 27 of file GU_CleanTools.h.

Function Documentation

GU_API void GU_CleanTools::precomputePolyAreas ( GU_Detail gdp,
UT_ValArray< fpreal > &  arr_poly_area,
const GA_PrimitiveGroup process 
)
GU_API void GU_CleanTools::processBadOrientation ( GU_Detail gdp,
gu_Action  bad_orientation_actn,
const GA_PrimitiveGroup process,
GA_PrimitiveGroup marked_polys 
)
GU_API void GU_CleanTools::processConsecutiveDoubleVertices ( GU_Detail gdp,
gu_Action  actn,
const GA_PrimitiveGroup process,
GA_PrimitiveGroup marked_polys,
GA_PointGroup marked_pts,
GA_PrimitiveGroup prims_to_remove 
)
GU_API void GU_CleanTools::processDisconnectedPts ( GU_Detail gdp,
GA_PointGroup marked_pts 
)
GU_API void GU_CleanTools::processGloballySmallAreas ( GU_Detail gdp,
gu_Action  glo_small_area_actn,
fpreal  area_glo_threshold,
uint  random_seed,
const UT_ValArray< fpreal > &  arr_poly_area,
const GA_PrimitiveGroup process,
GA_PrimitiveGroup marked_polys,
GA_PointGroup marked_pts,
GA_PrimitiveGroup prims_to_remove,
GA_PointGroup pts_to_remove 
)
GU_API void GU_CleanTools::processGloballySmallEdges ( GU_Detail gdp,
gu_Action  glo_small_edge_actn,
fpreal  edge_size_glo_threshold,
const GA_PrimitiveGroup process,
GA_PrimitiveGroup marked_polys,
GA_PointGroup marked_pts,
GA_PrimitiveGroup prims_to_remove,
GA_PointGroup pts_to_remove 
)
GU_API void GU_CleanTools::processIllFormed ( GU_Detail gdp,
gu_Action  ill_formed_actn,
GA_PrimitiveGroup process,
GA_PrimitiveGroup marked_polys,
GA_PointGroup marked_pts,
GA_PrimitiveGroup prims_to_remove 
)
GU_API void GU_CleanTools::processLocallySmallAreas ( GU_Detail gdp,
gu_Action  loc_small_area_actn,
fpreal  area_loc_threshold,
uint  random_seed,
const UT_ValArray< fpreal > &  arr_poly_area,
const GA_PrimitiveGroup process,
GA_PrimitiveGroup marked_polys,
GA_PointGroup marked_pts,
GA_PrimitiveGroup prims_to_remove,
GA_PointGroup pts_to_remove 
)
GU_API void GU_CleanTools::processLocallySmallEdges ( GU_Detail gdp,
gu_Action  loc_small_edge_actn,
fpreal  edge_size_loc_threshold,
const GA_PrimitiveGroup process,
GA_PrimitiveGroup marked_polys,
GA_PointGroup marked_pts,
GA_PrimitiveGroup prims_to_remove,
GA_PointGroup pts_to_remove 
)
GU_API void GU_CleanTools::processManyEdges ( gu_Action  many_edges_actn,
GA_PrimitiveGroup process,
GA_PrimitiveGroup marked_polys,
GU_Detail gdp 
)
GU_API void GU_CleanTools::processNonConvex ( int  actn,
GA_PrimitiveGroup process,
GA_PrimitiveGroup marked_polys,
GA_PointGroup marked_pts,
GU_Detail gdp 
)
GU_API void GU_CleanTools::processNonUniform ( gu_Action  non_uniform_actn,
fpreal  uni_threshold,
GA_PrimitiveGroup process,
GA_PrimitiveGroup marked_polys,
GA_PointGroup marked_pts,
GA_PrimitiveGroup prims_to_remove,
GA_PointGroup pts_to_remove,
GU_Detail gdp 
)
GU_API void GU_CleanTools::processOverlapping ( const GA_PrimitiveGroup process,
GA_PrimitiveGroup prims_to_remove,
bool  pairoverlaps,
GU_Detail gdp 
)
GU_API void GU_CleanTools::processSelfIntersecting ( GU_Detail gdp,
fpreal  intersection_threshold,
const GA_PrimitiveGroup process,
GA_PrimitiveGroup marked_polys,
GA_PointGroup marked_pts 
)
GU_API void GU_CleanTools::processTopology ( GA_PointGroup marked_pts,
GA_PointGroup repaired_pts,
gu_Action  nonmanifold_pts_actn,
bool  prefer_large_angles,
bool  ignore_windings,
bool  visualize_maximal_manifolds,
bool  export_manifold_numbers,
bool  fix_windings,
int  min_manifold_size,
GU_Detail gdp,
UT_String msg 
)