Plugins
selection_tools.cpp File Reference

Namespaces

 ug
 
 ug::promesh
 

Functions

void ug::promesh::ClearMarks (Mesh *obj)
 
void ug::promesh::ClearSelection (Mesh *obj)
 
void ug::promesh::CloseSelection (Mesh *obj)
 
void ug::promesh::DeselectAllEdges (Mesh *obj)
 
void ug::promesh::DeselectAllFaces (Mesh *obj)
 
void ug::promesh::DeselectAllVertices (Mesh *obj)
 
void ug::promesh::DeselectAllVolumes (Mesh *obj)
 
void ug::promesh::EdgeSelectionFill (Mesh *obj)
 
void ug::promesh::ExtendSelection (Mesh *obj, int neighborhoodSize)
 
void ug::promesh::ExtendSelectionInDirection (Mesh *obj, int neighborhoodSize, const vector3 &dir, number minAngle, number maxAngle)
 
void ug::promesh::FaceSelectionFill (Mesh *obj)
 
void ug::promesh::InvertSelection (Mesh *obj, bool invVrts, bool invEdges, bool invFaces, bool invVols)
 
void ug::promesh::MarkCornersOfMarkedEdges (Mesh *obj, number angle)
 
void ug::promesh::MarkCreaseEdges (Mesh *obj, number minAngle, bool clearMarks)
 
void ug::promesh::MarkSelection (Mesh *obj)
 
void ug::promesh::RestrictSelectionToSubset (Mesh *obj, int si)
 
template<class TElem >
void ug::promesh::RestrictSelectionToSubset (Selector &sel, const SubsetHandler &sh, int si)
 
void ug::promesh::SelectAll (Mesh *obj)
 
void ug::promesh::SelectAllEdges (Mesh *obj)
 
void ug::promesh::SelectAllFaces (Mesh *obj)
 
void ug::promesh::SelectAllVertices (Mesh *obj)
 
void ug::promesh::SelectAllVolumes (Mesh *obj)
 
void ug::promesh::SelectAssociatedEdges (Mesh *obj)
 
void ug::promesh::SelectAssociatedFaces (Mesh *obj)
 
void ug::promesh::SelectAssociatedVertices (Mesh *obj)
 
size_t ug::promesh::SelectBentQuadrilaterals (Mesh *obj, number dotThreshold)
 
void ug::promesh::SelectBoundaryEdges (Mesh *obj)
 
void ug::promesh::SelectBoundaryFaces (Mesh *obj)
 
void ug::promesh::SelectBoundaryVertices (Mesh *obj)
 
Edgeug::promesh::SelectClosestEdge (Mesh *m, const vector3 &coord)
 
void ug::promesh::SelectCreaseEdges (Mesh *obj, number minAngle)
 
void ug::promesh::SelectDegenerateFaces (Mesh *obj, number maxHeight)
 
bool ug::promesh::SelectEdgeByIndex (Mesh *obj, int index)
 
void ug::promesh::SelectEdgesByDirection (Mesh *m, const vector3 &dir, number minDeviationAngle, number maxDeviationAngle, bool selectFlipped)
 
void ug::promesh::SelectElementsByIndexRange (Mesh *obj, const char *vrtRanges, const char *edgeRanges, const char *faceRanges, const char *volRanges, bool clearSelection)
 
void ug::promesh::SelectElementsBySplitPlane (Mesh *obj, bool selectVrts, bool selectEdges, bool selectFaces, bool selectVols, const vector3 &pivot, const vector3 &normal)
 
template<class elem_t , class vector_t , class AAPos >
static void ug::promesh::SelectElementsBySplitPlane_IMPL (Grid &g, Selector &sel, const vector_t &pivot, const vector_t &normal, AAPos aaPos)
 
bool ug::promesh::SelectFaceByIndex (Mesh *obj, int index)
 
void ug::promesh::SelectFacesByNormal (Mesh *obj, const vector3 &refNormal, number maxDeviationAngle)
 
void ug::promesh::SelectFacesByNormal (Mesh *obj, const vector3 &refNormal, number minDeviationAngle, number maxDeviationAngle, bool noInnerFaces)
 
void ug::promesh::SelectInnerEdges (Mesh *obj)
 
void ug::promesh::SelectInnerFaces (Mesh *obj)
 
void ug::promesh::SelectInnerVertices (Mesh *obj)
 
void ug::promesh::SelectIntersectingTriangles (Mesh *obj)
 
void ug::promesh::SelectLinkedBoundaryEdges (Mesh *obj, bool stopAtSelectedVrts)
 
void ug::promesh::SelectLinkedBoundaryFaces (Mesh *obj, bool stopAtSelectedEdges)
 
void ug::promesh::SelectLinkedFlatFaces (Mesh *obj, number maxDeviationAngle, bool ignoreOrientation, bool traverseDegeneratedFaces, bool stopAtSelectedEdges)
 
void ug::promesh::SelectLinkedManifoldFaces (Mesh *obj)
 
void ug::promesh::SelectLongEdges (Mesh *obj, number minLength)
 
void ug::promesh::SelectMarkedEdges (Mesh *obj)
 
void ug::promesh::SelectMarkedFaces (Mesh *obj)
 
void ug::promesh::SelectMarkedVertices (Mesh *obj)
 
void ug::promesh::SelectNonManifoldEdges (Mesh *obj)
 
void ug::promesh::SelectSelectionBoundary (Mesh *obj)
 
size_t ug::promesh::SelectSelectionKinkVertices (Mesh *obj, number thresholdAngle, bool selectDarts)
 
void ug::promesh::SelectShortEdges (Mesh *obj, number maxLength)
 
void ug::promesh::SelectShortPolychains (Mesh *m, number maxChainLength, bool closedChainsOnly)
 
int ug::promesh::SelectSlivers (Mesh *obj, number thresholdRatio)
 
void ug::promesh::SelectSmoothEdgePath (Mesh *obj, number maxDeviation, number normalWeight, bool stopAtSelectedVrts)
 
void ug::promesh::SelectSubset (Mesh *obj, int si, bool selVrts, bool selEdges, bool selFaces, bool selVols)
 
void ug::promesh::SelectSubsetBoundary (Mesh *obj, int si, bool edgeBnds, bool faceBnds, bool volBnds)
 
void ug::promesh::SelectSubsetEdgesByDirection (Mesh *m, int subsetIndex, const vector3 &dir, number minDeviationAngle, number maxDeviationAngle, bool selectFlipped)
 
size_t ug::promesh::SelectSubsetKinkVertices (Mesh *obj, int subsetIndex, number thresholdAngle, bool selectDarts)
 
void ug::promesh::SelectUnassignedElements (Mesh *obj, bool selVrts, bool selEdges, bool selFaces, bool selVols)
 
template<class TGeomObj >
static void ug::promesh::SelectUnassignedElementsHelper (Grid &grid, SubsetHandler &sh, Selector &sel)
 
size_t ug::promesh::SelectUnconnectedVertices (Mesh *obj, bool edgeCons, bool faceCons, bool volCons)
 
template<class TElem >
static size_t ug::promesh::SelectUnconnectedVerticesHelper (Grid &grid, Selector &sel)
 
int ug::promesh::SelectUnorientableVolumes (Mesh *obj)
 
bool ug::promesh::SelectVertexByIndex (Mesh *obj, int index)
 
bool ug::promesh::SelectVolumeByIndex (Mesh *obj, int index)
 
void ug::promesh::SelectVolumesByType (Mesh *obj, bool selHexahedra, bool selOctahedra, bool selPrisms, bool selPyramids, bool selTetrahedra)
 
void ug::promesh::UnmarkSelection (Mesh *obj)
 
void ug::promesh::VolumeSelectionFill (Mesh *obj)