Plugins
remeshing_tools.cpp File Reference
#include "remeshing_tools.h"
#include "lib_grid/algorithms/subset_util.h"
#include "../EigenForUG4/Eigen/Dense"

Namespaces

 ug
 
 ug::promesh
 

Functions

void ug::promesh::AdaptSurfaceToCylinder (Mesh *obj, number radius, number threshold)
 
void ug::promesh::AdjustEdgeLength (Mesh *obj, number minEdgeLen, number maxEdgeLen, int numIterations, bool adaptive, bool automarkBoundaries)
 
void ug::promesh::AdjustEdgeLengthExtended (Mesh *obj, number minEdgeLen, number maxEdgeLen, number approximation, number triQuality, int numIterations, bool automarkBoundaries)
 
void ug::promesh::AssignVolumeConstraints (Mesh *obj, number volConstraint)
 
void ug::promesh::ClearVolumeConstraints (Mesh *obj)
 
void ug::promesh::ConvertToQuadrilaterals (Mesh *obj)
 
void ug::promesh::ConvertToTetrahedra (Mesh *obj)
 
void ug::promesh::ConvertToTriangles (Mesh *obj)
 
void ug::promesh::CreateShrinkGeometry (Mesh *obj, number scale)
 
void ug::promesh::CSGFaceDifference (Mesh *obj, int subsetIndex0, int subsetIndex1, number snapThreshold)
 
void ug::promesh::CSGFaceIntersection (Mesh *obj, int subsetIndex0, int subsetIndex1, number snapThreshold)
 
void ug::promesh::CSGFaceOperation (Mesh *obj, CSGOperation op, int subsetIndex0, int subsetIndex1, number snapThreshold)
 
void ug::promesh::CSGFaceUnion (Mesh *obj, int subsetIndex0, int subsetIndex1, number snapThreshold)
 
void ug::promesh::Duplicate (Mesh *obj, const vector3 &offset, bool deselectOld, bool selectNew)
 
void ug::promesh::ExtrudeAlongNormal (Mesh *obj, number totalLength, int numSteps, bool createFaces, bool createVolumes)
 
void ug::promesh::ExtrudeAndMove (Mesh *obj, const vector3 &totalDir, int numSteps, bool createFaces, bool createVolumes)
 
void ug::promesh::ExtrudeAndScale (Mesh *obj, number totalScale, bool scaleAroundPivot, int numSteps, bool createFaces, bool createVolumes)
 
void ug::promesh::ExtrudeCylinders (Mesh *obj, number height, number radius, number snapThreshold)
 
void ug::promesh::ExtrudeFacesWithTets (Mesh *obj, int fromSi, int toSi, const number factor)
 
void ug::promesh::ExtrudeLayers (Mesh *obj, RasterLayers &layers, bool allowForTetsAndPyras)
 
void ug::promesh::ExtrudeLayersAndAddProjector (Mesh *obj, SPRasterLayers layers, bool allowForTetsAndPyras)
 
void ug::promesh::ExtrudeToThickness (Mesh *obj, number thickness, int numSteps, bool createFaces, bool createVolumes)
 
void ug::promesh::MeshLayerBoundaries (Mesh *m, const RasterLayers &layers)
 
void ug::promesh::MeshLayers (Mesh *m, const RasterLayers &layers)
 
void ug::promesh::ProjectToLayer (Mesh *obj, RasterLayers &layers, int layerIndex)
 
void ug::promesh::ProjectToTopLayer (Mesh *obj, RasterLayers &layers)
 
void ug::promesh::ReplaceLowValenceVertices (Mesh *obj, number maxSquaredHeightToBaseAreaRatio)
 
void ug::promesh::ReplaceValence3Vertices (Mesh *obj, number maxSquaredHeightToBaseAreaRatio)
 
void ug::promesh::Retetrahedralize (Mesh *obj, number quality, bool preserveOuter, bool preserveAll, bool applyVolumeConstraint, int verbosity)
 
void ug::promesh::Retriangulate (Mesh *obj, number minAngle)
 
void ug::promesh::SimplifyPolylines (Mesh *m, number curvatureThreshold)
 
void ug::promesh::SimplifySmoothedPolylines (Mesh *m, number curvatureThreshold, number smoothingAlpha, int smoothingIterations)
 
void ug::promesh::SnapToHorizontalRaster (Mesh *obj, SPRasterLayers layers)
 
void ug::promesh::Tetrahedralize (Mesh *obj, number quality, bool preserveOuter, bool preserveAll, bool separateVolumes, bool appendSubsetsAtEnd, int verbosity)
 
void ug::promesh::TriangleFill (Mesh *obj, bool qualityGeneration, number minAngle, int si)