Plugins
|
Classes | |
class | ug::promesh::Box |
class | ug::promesh::Mesh |
class | ug::promesh::ProMeshRegistry |
Register functions for ug-script and ProMesh through this class. More... | |
Enumerations | |
enum | ug::promesh::CSGOperation { ug::promesh::CSG_UNION , ug::promesh::CSG_INTERSECTION , ug::promesh::CSG_DIFFERENCE } |
enum | ug::promesh::RegistryTargets { ug::promesh::RT_NONE = 0 , ug::promesh::RT_UGSCRIPT = 1 , ug::promesh::RT_PROMESH = 1 << 1 , ug::promesh::RT_DEFAULT = RT_UGSCRIPT | RT_PROMESH , ug::promesh::RT_NO_PROMESH = RT_UGSCRIPT , ug::promesh::RT_NO_UGSCRIPT = RT_PROMESH } |
This plugin provides an interface to lib_grid's meshing algorithms.
void ug::promesh::AdjustEdgeLengthExtended | ( | Mesh * | obj, |
number | minEdgeLen, | ||
number | maxEdgeLen, | ||
number | approximation, | ||
number | triQuality, | ||
int | numIterations, | ||
bool | automarkBoundaries | ||
) |
References ug::promesh::AdjustEdgeLength(), ug::AdjustEdgeLengthDesc::approximation, ug::GridSubsetHandler::assign_subset(), ug::promesh::CopySubsetIndicesToSides(), ug::promesh::Mesh::crease_handler(), ug::promesh::Mesh::grid(), grid(), ug::IsBoundaryEdge2D(), ug::AdjustEdgeLengthDesc::maxEdgeLen, ug::AdjustEdgeLengthDesc::minEdgeLen, ug::REM_CREASE, ug::promesh::Mesh::subset_handler(), and ug::AdjustEdgeLengthDesc::triQuality.
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::AdjustEdgeOrientation | ( | Mesh * | obj | ) |
void ug::promesh::AdjustSubsetsForUG3 | ( | Mesh * | obj, |
bool | keepIntfSubs | ||
) |
References ug::AdjustSubsetsForLgmNg(), ug::promesh::Mesh::grid(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterSubsetTools().
void ug::promesh::AdjustSubsetsForUG4 | ( | Mesh * | obj, |
bool | preserveExistingSubsets | ||
) |
References ug::AdjustSubsetsForSimulation(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterSubsetTools().
void ug::promesh::AssignNewSubset | ( | Mesh * | obj, |
const char * | name, | ||
bool | vertices, | ||
bool | edges, | ||
bool | faces, | ||
bool | volumes | ||
) |
References ug::GridSubsetHandler::assign_subset(), ug::Selector::begin(), ug::Selector::end(), ug::SubsetInfo::name, ug::ISubsetHandler::num_subsets(), ug::promesh::Mesh::selector(), ug::promesh::Mesh::subset_handler(), ug::ISubsetHandler::subset_info(), and vertices().
Referenced by ug::promesh::RegisterSubsetTools().
void ug::promesh::AssignSubset | ( | Mesh * | obj, |
int | newIndex | ||
) |
void ug::promesh::AssignSubset | ( | Mesh * | obj, |
int | newIndex, | ||
bool | vertices, | ||
bool | edges, | ||
bool | faces, | ||
bool | volumes | ||
) |
void ug::promesh::AssignSubsetColors | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::subset_handler().
void ug::promesh::AssignSubsetsByAspectRatio | ( | Mesh * | msh, |
int | numHistoSecs, | ||
bool | eraseOldSubsets | ||
) |
References ug::GridSubsetHandler::assign_subset(), ug::AssignSubsetColorsBlueToGreen(), ug::Grid::attach_to(), ug::Grid::begin(), ug::Selector::begin(), ug::ISubsetHandler::clear(), ug::Grid::detach_from(), ug::Selector::end(), ug::Grid::end(), ug::GetAspectRatioHistogram(), ug::promesh::Mesh::grid(), mkstr, ug::SubsetInfo::name, ug::Selector::num(), ug::Grid::num(), ug::ISubsetHandler::num_subsets(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::selector(), ug::promesh::Mesh::subset_handler(), ug::ISubsetHandler::subset_info(), Table< std::stringstream >::to_string(), and UG_LOG.
void ug::promesh::AssignSubsetsByElementType | ( | Mesh * | obj | ) |
void ug::promesh::AssignSubsetsByQuality | ( | Mesh * | obj, |
int | numSections | ||
) |
void ug::promesh::AssignSubsetsFromRaster | ( | Mesh * | obj, |
const char * | rasterFileName, | ||
int | rasterDimension, | ||
bool | vertices, | ||
bool | edges, | ||
bool | faces, | ||
bool | volumes | ||
) |
References UG_THROW, and vertices().
Referenced by ug::promesh::RegisterSubsetTools().
References ug::Selector::begin(), ug::Selector::end(), ug::promesh::Mesh::selector(), and ug::promesh::Mesh::volume_constraint_accessor().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::ClearMarks | ( | Mesh * | obj | ) |
References ug::ISubsetHandler::clear(), and ug::promesh::Mesh::crease_handler().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::ClearSelection | ( | Mesh * | obj | ) |
References ug::Selector::clear(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::ClearVolumeConstraints | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::clear_volume_constraints().
Referenced by ug::promesh::RegisterMeshingTools().
References make_sp().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::CloseSelection | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::selector().
Referenced by ug::promesh::CreateTKD(), ug::promesh::CreateTKDWithOuterLayer(), ug::promesh::Retriangulate(), and ug::promesh::TriangleFill().
void ug::promesh::CollapseEdge | ( | Mesh * | obj | ) |
References ug::Selector::begin(), CollectEdges(), CollectFaces(), ug::promesh::Mesh::grid(), grid(), ug::ISelector::is_selected(), ug::Selector::num(), ug::Face::num_edges(), ug::promesh::Mesh::position_accessor(), ug::ISelector::select(), ug::promesh::Mesh::selector(), VecAdd(), VecScale(), and ug::EdgeVertices::vertex().
void ug::promesh::ConvertToQuadrilaterals | ( | Mesh * | obj | ) |
References ug::Selector::begin(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), ug::Selector::num(), ug::promesh::Mesh::position_accessor(), ug::ReplaceByQuadrilaterals_EdgeBased(), ug::ReplaceByQuadrilaterals_FaceBased(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::ConvertToTetrahedra | ( | Mesh * | obj | ) |
void ug::promesh::ConvertToTriangles | ( | Mesh * | obj | ) |
References ug::GridSubsetHandler::assign_subset(), ug::Grid::attach_to_vertices(), ug::Selector::begin(), ug::SubsetInfo::color, ug::promesh::Mesh::crease_handler(), ug::Grid::create_by_cloning(), ug::Grid::detach_from_vertices(), ug::Selector::end(), ug::ISubsetHandler::get_subset_index(), ug::promesh::Mesh::grid(), ug::SubsetInfo::name, ug::ISubsetHandler::num_subsets(), ug::promesh::Mesh::position_accessor(), ug::SelectAssociatedGridObjects(), ug::promesh::Mesh::selector(), ug::promesh::Mesh::subset_handler(), and ug::ISubsetHandler::subset_info().
Referenced by ug::promesh::CSGFaceOperation().
void ug::promesh::CopySubsetIndicesToSides | ( | Mesh * | obj, |
bool | selectionOnly, | ||
bool | toUnassignedOnly | ||
) |
References ug::Selector::get_grid_objects(), ug::promesh::Mesh::selector(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::AdjustEdgeLength(), ug::promesh::AdjustEdgeLengthExtended(), ug::promesh::Retetrahedralize(), ug::promesh::Retriangulate(), ug::promesh::Tetrahedralize(), and ug::promesh::TriangleFill().
void ug::promesh::CreateBox | ( | Mesh * | obj, |
const vector3 & | boxMin, | ||
const vector3 & | boxMax, | ||
int | subsetInd, | ||
bool | fill | ||
) |
References ug::GridSubsetHandler::assign_subset(), ug::ISelector::autoselection_enabled(), ug::Selector::begin(), ug::Selector::clear(), ug::Hexahedron::create_face(), ug::ISelector::enable_autoselection(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), ug::Hexahedron::num_faces(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::selector(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::CreateCircle | ( | Mesh * | obj, |
const vector3 & | center, | ||
number | radius, | ||
int | numRimVertices, | ||
int | subsetInd, | ||
bool | fill | ||
) |
References ug::GridSubsetHandler::assign_subset(), ug::ISelector::autoselection_enabled(), ug::Selector::begin(), ug::Selector::clear(), ug::ISelector::enable_autoselection(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), ug::PI, ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::selector(), ug::promesh::Mesh::subset_handler(), ug::VecAdd(), and ug::VecScale().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::CreateHexahedraFromSelectedPrisms | ( | Mesh * | obj | ) |
References ug::Selector::begin(), ug::Selector::clear(), CreateHexahedronFromPrisms(), ug::ISelector::deselect(), ug::Selector::end(), ug::promesh::EraseSelectedElements(), ug::promesh::Mesh::grid(), grid(), ug::ISelector::select(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::CreatePlane | ( | Mesh * | obj, |
const vector3 & | upLeft, | ||
const vector3 & | upRight, | ||
const vector3 & | lowLeft, | ||
const vector3 & | lowRight, | ||
int | subsetInd, | ||
bool | fill | ||
) |
References ug::GridSubsetHandler::assign_subset(), ug::ISelector::autoselection_enabled(), ug::Selector::begin(), ug::Selector::clear(), ug::ISelector::enable_autoselection(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::selector(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::CreatePlane().
void ug::promesh::CreatePlane | ( | Mesh * | obj, |
number | width, | ||
number | height, | ||
const vector3 & | center, | ||
int | subsetInd, | ||
bool | fill | ||
) |
References ug::promesh::CreatePlane().
void ug::promesh::CreatePrism | ( | Mesh * | obj, |
int | subsetInd, | ||
bool | fill | ||
) |
References ug::GridSubsetHandler::assign_subset(), ug::ISelector::autoselection_enabled(), ug::Selector::begin(), ug::Selector::clear(), ug::Prism::create_face(), ug::ISelector::enable_autoselection(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), ug::Prism::num_faces(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::selector(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::CreatePyramid | ( | Mesh * | obj, |
int | subsetInd, | ||
bool | fill | ||
) |
References ug::GridSubsetHandler::assign_subset(), ug::ISelector::autoselection_enabled(), ug::Selector::begin(), ug::Selector::clear(), ug::Pyramid::create_face(), ug::ISelector::enable_autoselection(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), ug::Pyramid::num_faces(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::selector(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::CreateShrinkElements | ( | Mesh * | obj, |
number | scale, | ||
TElemIter | elemsBegin, | ||
TElemIter | elemsEnd | ||
) |
For each element of type TElem in obj this method creates a new element with separate corners. The new element will be scaled by 'scale'. All original elements will be deleted before the method terminates. It should thus be called for 'Volumes' first, then for 'Faces' and finally for 'Edges'.
References ug::CalculateCenter(), ug::CustomVertexGroup::clear(), ug::Grid::create_by_cloning(), ug::Grid::erase(), ug::promesh::Mesh::grid(), ug::promesh::Mesh::position_accessor(), ug::CustomVertexGroup::push_back(), and ug::VecScaleAdd().
Referenced by ug::promesh::CreateShrinkGeometry().
For each element in obj this method creates a new element with separate corners. The new element will be scaled by 'scale'. All original elements will be deleted before the method terminates.
References ug::promesh::Mesh::begin(), ug::Grid::begin(), ug::promesh::CreateShrinkElements(), ug::Grid::end(), and ug::promesh::Mesh::grid().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::CreateSphere | ( | Mesh * | obj, |
const vector3 & | center, | ||
number | radius, | ||
int | numRefinements, | ||
int | subsetInd | ||
) |
References ug::GridSubsetHandler::assign_subset(), ug::Selector::begin(), ug::Selector::end(), ug::GenerateIcosphere(), ug::promesh::Mesh::grid(), grid(), ug::promesh::Mesh::position_attachment(), ug::promesh::Mesh::selector(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::CreateTetrahedron | ( | Mesh * | obj, |
int | subsetInd, | ||
bool | fill | ||
) |
References ug::GridSubsetHandler::assign_subset(), ug::ISelector::autoselection_enabled(), ug::Selector::begin(), ug::Selector::clear(), ug::Tetrahedron::create_face(), ug::ISelector::enable_autoselection(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), ug::Tetrahedron::num_faces(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::selector(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterMeshingTools().
References ug::AssignSelectionToSubset(), ug::Selector::clear(), ug::promesh::CloseSelection(), ug::promesh::Mesh::grid(), grid(), ug::TKDInfo::num_inner_elements(), ug::TKDInfo::NUM_INNER_ELEMENTS, ug::promesh::Mesh::position_attachment(), ug::ISelector::select(), ug::promesh::Mesh::selector(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::CreateTKDWithOuterLayer | ( | Mesh * | obj, |
int | innerSubsetInd, | ||
int | outerSubsetInd, | ||
number | a, | ||
number | w, | ||
number | h, | ||
number | d | ||
) |
References ug::AssignSelectionToSubset(), ug::Selector::clear(), ug::promesh::CloseSelection(), ug::promesh::Mesh::grid(), grid(), ug::TKDInfo::NUM_ELEMENTS, ug::TKDInfo::num_inner_elements(), ug::TKDInfo::num_outer_elements(), ug::promesh::Mesh::position_attachment(), ug::ISelector::select(), ug::promesh::Mesh::selector(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterMeshingTools().
References ug::aPosition, ug::GridSubsetHandler::assign_subset(), ug::Selector::begin(), ug::CheckOrientation(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), ug::Selector::num(), ug::promesh::Mesh::selector(), ug::VolumeDescriptor::set_vertex(), ug::promesh::Mesh::subset_handler(), and UG_LOG.
void ug::promesh::CSGFaceDifference | ( | Mesh * | obj, |
int | subsetIndex0, | ||
int | subsetIndex1, | ||
number | snapThreshold | ||
) |
References ug::promesh::CSG_DIFFERENCE, and ug::promesh::CSGFaceOperation().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::CSGFaceIntersection | ( | Mesh * | obj, |
int | subsetIndex0, | ||
int | subsetIndex1, | ||
number | snapThreshold | ||
) |
References ug::promesh::CSG_INTERSECTION, and ug::promesh::CSGFaceOperation().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::CSGFaceOperation | ( | Mesh * | obj, |
CSGOperation | op, | ||
int | subsetIndex0, | ||
int | subsetIndex1, | ||
number | snapThreshold | ||
) |
References AttachmentAccessor< Vertex, TAttachment >::access(), ug::Grid::attach_to_vertices(), ug::Grid::begin(), ug::GridSubsetHandler::begin(), ug::CalculateCenter(), ug::Selector::clear(), ug::promesh::CopySelection(), ug::promesh::CSG_DIFFERENCE, ug::promesh::CSG_UNION, ug::Grid::end(), ug::GridSubsetHandler::end(), ug::promesh::EraseSelectedElements(), ug::promesh::Mesh::grid(), grid(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::position_attachment(), ug::RayElementIntersections(), ug::promesh::ResolveSelfIntersections(), ug::ISelector::select(), ug::promesh::Mesh::selector(), ug::SMALL, ug::RayElemIntersectionRecord< class >::smax, ug::RayElemIntersectionRecord< class >::smin, ug::promesh::Mesh::subset_handler(), ug::Triangulate(), ug::VecLengthSq(), and ug::VecNormalize().
Referenced by ug::promesh::CSGFaceDifference(), ug::promesh::CSGFaceIntersection(), and ug::promesh::CSGFaceUnion().
void ug::promesh::CSGFaceUnion | ( | Mesh * | obj, |
int | subsetIndex0, | ||
int | subsetIndex1, | ||
number | snapThreshold | ||
) |
References ug::promesh::CSG_UNION, and ug::promesh::CSGFaceOperation().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::DeselectAllEdges | ( | Mesh * | obj | ) |
References ug::ISelector::deselect(), ug::Selector::edges_begin(), ug::Selector::edges_end(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::DeselectAllFaces | ( | Mesh * | obj | ) |
References ug::ISelector::deselect(), ug::Selector::faces_begin(), ug::Selector::faces_end(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::DeselectAllVertices | ( | Mesh * | obj | ) |
References ug::ISelector::deselect(), ug::promesh::Mesh::selector(), ug::Selector::vertices_begin(), and ug::Selector::vertices_end().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::DeselectAllVolumes | ( | Mesh * | obj | ) |
References ug::ISelector::deselect(), ug::promesh::Mesh::selector(), ug::Selector::volumes_begin(), and ug::Selector::volumes_end().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::EdgeSelectionFill | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::EraseEmptySubsets | ( | Mesh * | obj | ) |
void ug::promesh::EraseSelectedElements | ( | Mesh * | obj, |
bool | eraseUnusedVrts, | ||
bool | eraseUnusedEdges, | ||
bool | eraseUnusedFaces | ||
) |
References ug::Selector::begin(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), SelectAssociatedEdges(), SelectAssociatedFaces(), SelectAssociatedVolumes(), SelectInnerSelectionEdges(), SelectInnerSelectionFaces(), SelectInnerSelectionVertices(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::CreateHexahedraFromSelectedPrisms(), ug::promesh::CSGFaceOperation(), and ug::promesh::RegisterMeshingTools().
void ug::promesh::EraseSubset | ( | Mesh * | obj, |
int | si, | ||
bool | eraseGeometry | ||
) |
bool ug::promesh::ExportToUG3 | ( | Mesh * | obj, |
const char * | filenamePrefix, | ||
const char * | lgmName, | ||
const char * | problemName | ||
) |
References ug::GridSubsetHandler::assign_subset(), ug::GridSubsetHandler::begin(), ug::GridSubsetHandler::end(), ug::ExportGridToUG(), ug::ExportGridToUG_2D(), ug::promesh::Mesh::grid(), ug::ISubsetHandler::num_subsets(), ug::Grid::num_volumes(), ug::SHE_FACE, ug::SHE_VOLUME, and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterMisc().
void ug::promesh::ExtendSelection | ( | Mesh * | obj, |
int | neighborhoodSize | ||
) |
References ug::promesh::Mesh::selector().
void ug::promesh::ExtendSelectionInDirection | ( | Mesh * | obj, |
int | neighborhoodSize, | ||
const vector3 & | dir, | ||
number | minAngle, | ||
number | maxAngle | ||
) |
References ug::promesh::Mesh::position_accessor(), and ug::promesh::Mesh::selector().
void ug::promesh::ExtrudeAlongNormal | ( | Mesh * | obj, |
number | totalLength, | ||
int | numSteps, | ||
bool | createFaces, | ||
bool | createVolumes | ||
) |
References ug::CalculateNormal(), ug::Selector::clear(), ug::Selector::edges_begin(), ug::Selector::edges_end(), ug::ISubsetHandler::enable_strict_inheritance(), ug::EO_CREATE_FACES, ug::EO_CREATE_VOLUMES, ug::Extrude(), ug::Selector::faces_begin(), ug::Selector::faces_end(), ug::promesh::Mesh::grid(), grid(), ug::ISelector::is_selected(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::position_attachment(), ug::ISelector::select(), ug::SelectAssociatedGridObjects(), ug::promesh::Mesh::selector(), ug::PointerConstArray< class >::size(), ug::ISubsetHandler::strict_inheritance_enabled(), ug::promesh::Mesh::subset_handler(), ug::VecLengthSq(), ug::VecNormalize(), ug::VecScaleAdd(), ug::VecSubtract(), ug::EdgeVertices::vertex(), ug::Selector::vertices_begin(), and ug::Selector::vertices_end().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::ExtrudeAndMove | ( | Mesh * | obj, |
const vector3 & | totalDir, | ||
int | numSteps, | ||
bool | createFaces, | ||
bool | createVolumes | ||
) |
References ug::Selector::clear(), ug::Selector::edges_begin(), ug::Selector::edges_end(), ug::ISubsetHandler::enable_strict_inheritance(), ug::EO_CREATE_FACES, ug::EO_CREATE_VOLUMES, ug::Extrude(), ug::Selector::faces_begin(), ug::Selector::faces_end(), ug::promesh::Mesh::grid(), grid(), ug::promesh::Mesh::position_attachment(), ug::ISelector::select(), ug::SelectAssociatedGridObjects(), ug::promesh::Mesh::selector(), ug::ISubsetHandler::strict_inheritance_enabled(), ug::promesh::Mesh::subset_handler(), ug::VecScale(), ug::Selector::vertices_begin(), and ug::Selector::vertices_end().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::ExtrudeAndScale | ( | Mesh * | obj, |
number | totalScale, | ||
bool | scaleAroundPivot, | ||
int | numSteps, | ||
bool | createFaces, | ||
bool | createVolumes | ||
) |
References ug::CalculateCenter(), ug::Selector::clear(), ug::Selector::edges_begin(), ug::Selector::edges_end(), ug::ISubsetHandler::enable_strict_inheritance(), ug::EO_CREATE_FACES, ug::EO_CREATE_VOLUMES, ug::Extrude(), ug::Selector::faces_begin(), ug::Selector::faces_end(), ug::promesh::Mesh::grid(), grid(), ug::promesh::Mesh::pivot(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::position_attachment(), ug::ISelector::select(), ug::SelectAssociatedGridObjects(), ug::promesh::Mesh::selector(), ug::ISubsetHandler::strict_inheritance_enabled(), ug::promesh::Mesh::subset_handler(), ug::VecScaleAdd(), ug::VecSubtract(), ug::Selector::vertices_begin(), and ug::Selector::vertices_end().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::ExtrudeCylinders | ( | Mesh * | obj, |
number | height, | ||
number | radius, | ||
number | snapThreshold | ||
) |
References ug::Selector::begin(), ug::CalculateVertexNormal(), ug::Selector::end(), ug::ExtrudeCylinder(), ug::promesh::Mesh::grid(), ug::ISubsetHandler::num_subsets(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::selector(), ug::promesh::Mesh::subset_handler(), and UG_LOG.
Referenced by ug::promesh::RegisterMeshingTools().
References ug::GridSubsetHandler::assign_subset(), ug::ISelector::autoselection_enabled(), ug::Selector::begin(), ug::GridSubsetHandler::begin(), ug::CalculateCenter(), ug::CalculateTriangleNormal(), ug::Selector::clear(), ug::Tetrahedron::create_face(), ug::ISelector::enable_autoselection(), ug::Selector::end(), ug::GridSubsetHandler::end(), ug::FaceArea(), ug::promesh::Mesh::grid(), grid(), ug::Tetrahedron::num_faces(), ug::FaceVertices::num_vertices(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::selector(), ug::promesh::Mesh::subset_handler(), UG_LOG, ug::VecAdd(), and ug::FaceVertices::vertex().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::ExtrudeLayers | ( | Mesh * | obj, |
RasterLayers & | layers, | ||
bool | allowForTetsAndPyras | ||
) |
void ug::promesh::ExtrudeLayersAndAddProjector | ( | Mesh * | obj, |
SPRasterLayers | layers, | ||
bool | allowForTetsAndPyras | ||
) |
References ug::promesh::ExtrudeLayers(), ug::promesh::Mesh::geometry(), ug::promesh::Mesh::grid(), make_sp(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::projection_handler(), ug::ProjectionHandler::set_default_projector(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::ExtrudeToThickness | ( | Mesh * | obj, |
number | thickness, | ||
int | numSteps, | ||
bool | createFaces, | ||
bool | createVolumes | ||
) |
References ug::CalculateCenter(), ug::CalculateNormal(), ug::Selector::clear(), ug::Selector::edges_begin(), ug::Selector::edges_end(), ug::ISubsetHandler::enable_strict_inheritance(), ug::EO_CREATE_FACES, ug::EO_CREATE_VOLUMES, ug::Extrude(), ug::Selector::faces_begin(), ug::Selector::faces_end(), ug::promesh::Mesh::grid(), grid(), ug::ISelector::is_selected(), p, ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::position_attachment(), ug::ISelector::select(), ug::SelectAssociatedGridObjects(), ug::promesh::Mesh::selector(), ug::PointerConstArray< class >::size(), ug::ISubsetHandler::strict_inheritance_enabled(), ug::promesh::Mesh::subset_handler(), ug::VecDot(), ug::VecNormalize(), ug::VecScaleAdd(), ug::VecSubtract(), ug::EdgeVertices::vertex(), ug::Selector::vertices_begin(), and ug::Selector::vertices_end().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::FaceSelectionFill | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::FixFaceOrientation | ( | Mesh * | obj | ) |
References ug::Selector::begin(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::FixFaceSubsetOrientations(), and ug::promesh::RegisterMeshingTools().
void ug::promesh::FixFaceSubsetOrientations | ( | Mesh * | obj | ) |
int ug::promesh::FixVolumeOrientation | ( | Mesh * | obj | ) |
References ug::Selector::begin(), ug::Selector::end(), FindClosestPlane(), p, ug::promesh::Mesh::position_accessor(), ProjectPointToPlane(), ug::promesh::Mesh::selector(), VecScaleAdd(), and CustomQuadrilateral< Quadrilateral, Face, Triangle, Quadrilateral >::vertex().
Referenced by ug::promesh::RegisterCoordinateTransformTools().
UG_API ProMeshRegistry & ug::promesh::GetProMeshRegistry | ( | ) |
References ug::promesh::g_promeshRegistry.
Referenced by ug::InitUGPlugin_ProMesh().
References CalculateCenter(), ug::promesh::Mesh::position_accessor(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::MoveSelectionTo(), and ug::promesh::RegisterCoordinateTransformTools().
void ug::promesh::HangingNodeRefine | ( | Mesh * | obj, |
bool | anisotropic | ||
) |
void ug::promesh::HangingNodeRefine | ( | Mesh * | obj, |
bool | strictSubsetInheritance, | ||
bool | anisotropic | ||
) |
References ug::Selector::edges_begin(), ug::Selector::edges_end(), ug::ISubsetHandler::enable_strict_inheritance(), ug::Selector::faces_begin(), ug::Selector::faces_end(), ug::promesh::Mesh::grid(), grid(), ug::HangingNodeRefiner_Grid::mark(), ug::IRefiner::refine(), RM_ANISOTROPIC, RM_REFINE, ug::promesh::Mesh::selector(), ug::IRefiner::set_adjusted_marks_debug_filename(), ug::ISubsetHandler::strict_inheritance_enabled(), ug::promesh::Mesh::subset_handler(), UG_LOG, ug::Selector::volumes_begin(), and ug::Selector::volumes_end().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::InsertCenter | ( | Mesh * | obj | ) |
void ug::promesh::InsertCenter | ( | Mesh * | obj, |
bool | strictSubsetInheritance | ||
) |
References aPosition, ug::Selector::begin(), CalculateCenter(), ug::ISubsetHandler::enable_strict_inheritance(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), InsertCenterVertex(), ug::Selector::num(), ug::promesh::Mesh::selector(), ug::ISubsetHandler::strict_inheritance_enabled(), ug::promesh::Mesh::subset_handler(), and UG_LOG.
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::InvertFaceOrientation | ( | Mesh * | obj | ) |
References ug::Selector::begin(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), InvertOrientation(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::InvertSelection | ( | Mesh * | obj, |
bool | invVrts, | ||
bool | invEdges, | ||
bool | invFaces, | ||
bool | invVols | ||
) |
References ug::promesh::Mesh::grid(), grid(), and ug::promesh::Mesh::selector().
void ug::promesh::JoinSubsets | ( | Mesh * | obj, |
int | target, | ||
int | si1, | ||
int | si2, | ||
bool | eraseUnused | ||
) |
References ug::ISubsetHandler::join_subsets(), ug::promesh::Mesh::subset_handler(), and target().
Referenced by ug::promesh::RegisterSubsetTools().
bool ug::promesh::LoadMesh | ( | Mesh * | obj, |
const char * | filename | ||
) |
References ug::promesh::Mesh::crease_handler(), ug::FindFileInStandardPaths(), ug::promesh::Mesh::grid(), ug::GridReaderUGX::grid(), ug::LoadGridFromFile(), ug::GridReaderUGX::num_grids(), ug::GridReaderUGX::num_projection_handlers(), ug::GridReaderUGX::num_selectors(), ug::GridReaderUGX::num_subset_handlers(), ug::GridReaderUGX::parse_file(), ug::promesh::Mesh::position_attachment(), ug::promesh::Mesh::projection_handler(), ug::GridReaderUGX::projection_handler(), ug::promesh::Mesh::selector(), ug::GridReaderUGX::selector(), ug::promesh::Mesh::subset_handler(), ug::GridReaderUGX::subset_handler(), and UG_LOG.
Referenced by ug::promesh::RegisterMisc().
void ug::promesh::MarkSelection | ( | Mesh * | obj | ) |
References ug::Grid::begin(), ug::CalculateVolume(), ug::Grid::end(), ug::promesh::Mesh::grid(), and ug::promesh::Mesh::position_accessor().
Referenced by ug::promesh::RegisterMisc().
References ug::Grid::begin(), ug::CalculateVolume(), ug::Grid::end(), ug::promesh::Mesh::grid(), and ug::promesh::Mesh::position_accessor().
Referenced by ug::promesh::RegisterMisc().
References ug::Grid::begin(), ug::CalculateVolume(), ug::Grid::end(), ug::promesh::Mesh::grid(), and ug::promesh::Mesh::position_accessor().
Referenced by ug::promesh::RegisterMisc().
References ug::Selector::begin(), ug::CalculateVolume(), ug::Selector::end(), ug::promesh::Mesh::position_accessor(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterMisc().
References ug::Selector::begin(), ug::CalculateVolume(), ug::Selector::end(), ug::promesh::Mesh::position_accessor(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterMisc().
References ug::Selector::begin(), ug::CalculateVolume(), ug::Selector::end(), ug::promesh::Mesh::position_accessor(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterMisc().
void ug::promesh::MergeAtCenter | ( | Mesh * | obj | ) |
References CalculateCenter(), ug::promesh::Mesh::grid(), grid(), MergeMultipleVertices(), ug::promesh::Mesh::position_accessor(), SelectAssociatedGridObjects(), ug::promesh::Mesh::selector(), ug::Selector::vertices_begin(), and ug::Selector::vertices_end().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::MergeAtFirst | ( | Mesh * | obj | ) |
void ug::promesh::MergeAtLast | ( | Mesh * | obj | ) |
References ug::Selector::begin(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), MergeMultipleVertices(), ug::promesh::Mesh::position_accessor(), SelectAssociatedGridObjects(), ug::promesh::Mesh::selector(), ug::Selector::vertices_begin(), and ug::Selector::vertices_end().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::MeshLayerBoundaries | ( | Mesh * | m, |
const RasterLayers & | layers | ||
) |
References ug::promesh::Mesh::grid(), ug::promesh::Mesh::position_accessor(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::MeshLayers | ( | Mesh * | m, |
const RasterLayers & | layers | ||
) |
References ug::promesh::Mesh::grid(), ug::promesh::Mesh::position_accessor(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterMeshingTools().
References ug::Grid::begin(), CollectVerticesTouchingSelection(), ug::promesh::Mesh::grid(), p, ug::promesh::Mesh::position_accessor(), ProjectPointToPlane(), ug::promesh::Mesh::selector(), UG_COND_THROW, VecAdd(), VecLengthSq(), VecNormalize(), and VecSubtract().
Referenced by ug::promesh::RegisterCoordinateTransformTools().
References ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::selector(), and TranslateSelection().
Referenced by ug::promesh::RegisterCoordinateTransformTools().
References CalculateNormal(), CollectVerticesTouchingSelection(), ug::promesh::Mesh::grid(), grid(), p, ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::selector(), ug::PointerConstArray< class >::size(), VecAdd(), VecNormalize(), and VecScaleAdd().
Referenced by ug::promesh::RegisterCoordinateTransformTools().
void ug::promesh::MoveSubset | ( | Mesh * | obj, |
int | oldIndex, | ||
int | newIndex | ||
) |
References ug::ISubsetHandler::move_subset(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterSubsetTools().
References end_for, for_each_in_vec, ug::promesh::Mesh::grid(), grid(), ug::ISelector::is_selected(), lg_end_for, lg_for_each, ug::Selector::num(), ug::promesh::Mesh::position_accessor(), ug::PointerConstArray< class >::reserve(), ug::promesh::Mesh::selector(), VecAppend(), VecScaleAppend(), VecSubtract(), and ug::EdgeVertices::vertex().
Referenced by ug::promesh::RegisterCoordinateTransformTools().
References end_for, for_each_in_vec, ug::promesh::Mesh::grid(), grid(), ug::ISelector::is_selected(), lg_end_for, lg_for_each, ug::Selector::num(), ug::promesh::Mesh::position_accessor(), ug::PointerConstArray< class >::reserve(), ug::promesh::Mesh::selector(), VecAppend(), VecLength(), VecScaleAppend(), VecSubtract(), and ug::EdgeVertices::vertex().
Referenced by ug::promesh::RegisterCoordinateTransformTools().
void ug::promesh::MoveVerticesToProjectedEdgeLength | ( | Mesh * | obj, |
number | projEdgeLen, | ||
const vector3 & | projNormal | ||
) |
References end_for, for_each_in_vec, ug::promesh::Mesh::grid(), grid(), ug::ISelector::is_selected(), lg_end_for, lg_for_each, ug::Selector::num(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::selector(), VecAppend(), VecDot(), VecLength(), VecNormalize(), VecScale(), VecScaleAppend(), VecSubtract(), and ug::EdgeVertices::vertex().
Referenced by ug::promesh::RegisterCoordinateTransformTools().
References CutEdgesWithPlane(), p, and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::ProjectToLayer | ( | Mesh * | obj, |
RasterLayers & | layers, | ||
int | layerIndex | ||
) |
References ug::promesh::Mesh::grid(), and ug::promesh::Mesh::position_accessor().
Referenced by ug::promesh::ProjectToTopLayer(), and ug::promesh::RegisterMeshingTools().
void ug::promesh::ProjectToLimitPLoop | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), and ug::promesh::Mesh::position_attachment().
void ug::promesh::ProjectToLimitSmoothBoundary | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), ug::promesh::Mesh::position_attachment(), and ProjectToLimitSubdivBoundary().
Referenced by ug::promesh::RegisterCoordinateTransformTools().
void ug::promesh::ProjectToTopLayer | ( | Mesh * | obj, |
RasterLayers & | layers | ||
) |
References ug::Selector::begin(), ug::Selector::end(), ug::Selector::get_grid_objects(), ug::promesh::Mesh::grid(), grid(), ug::promesh::Mesh::position_attachment(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterMeshingTools(), ug::promesh::ResolveEdgeIntersection(), ug::promesh::ResolveSelfIntersections(), and ug::promesh::ResolveTriangleIntersections().
void ug::promesh::Refine | ( | Mesh * | obj | ) |
void ug::promesh::Refine | ( | Mesh * | obj, |
bool | strictSubsetInheritance, | ||
bool | useSnapPoints | ||
) |
void ug::promesh::RefineSmooth | ( | Mesh * | obj | ) |
void ug::promesh::RefineSmooth | ( | Mesh * | obj, |
bool | strictSubsetInheritance | ||
) |
References aPosition, ug::Selector::begin(), ug::promesh::Mesh::crease_handler(), ug::ISubsetHandler::enable_strict_inheritance(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), MakeGeometry3d(), ug::promesh::Refine(), REM_CREASE, ug::promesh::Mesh::selector(), ug::ISubsetHandler::strict_inheritance_enabled(), ug::promesh::Mesh::subset_handler(), and Triangulate().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::RefineWithSnapPoints | ( | Mesh * | obj | ) |
References ug::promesh::Refine().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::RefineWithSnapPointsOrtho | ( | Mesh * | obj | ) |
References ug::Grid::associated_elements(), ug::TElemSelector< class >::begin(), ug::Selector::begin(), CalculateCenter(), ug::ISelector::enable_autoselection(), ug::Selector::end(), ug::promesh::Mesh::grid(), ug::ISelector::is_selected(), ug::Selector::num(), ug::FaceVertices::num_vertices(), p, ug::promesh::Mesh::position_accessor(), ProjectPointToRay(), ug::promesh::Refine(), ug::promesh::Mesh::selector(), ug::PointerConstArray< class >::size(), UG_COND_THROW, VecSubtract(), ug::EdgeVertices::vertex(), and ug::FaceVertices::vertex().
Referenced by ug::promesh::RegisterMeshingTools().
References ug::promesh::Mesh::grid(), and ug::Grid::num().
Referenced by ug::promesh::RegisterMeshingTools().
size_t ug::promesh::RemoveDoubleEdges | ( | Mesh * | obj | ) |
References ug::Selector::begin(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), RemoveDuplicates(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterMeshingTools().
size_t ug::promesh::RemoveDoubleFaces | ( | Mesh * | obj | ) |
References ug::Selector::begin(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), RemoveDuplicates(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterMeshingTools().
returns the number of removed vertices
References ug::Selector::begin(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), ug::promesh::Mesh::position_attachment(), and ug::promesh::Mesh::selector().
References ug::Selector::begin(), ug::Selector::end(), ug::Selector::get_grid_objects(), ug::promesh::Mesh::grid(), grid(), ug::promesh::IntersectCloseEdges(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::position_attachment(), ug::promesh::ProjectVerticesToCloseEdges(), SelectAssociatedVertices(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterMeshingTools().
References ug::Selector::begin(), ug::Selector::end(), ug::Selector::get_grid_objects(), ug::promesh::Mesh::grid(), grid(), ug::promesh::IntersectCloseEdges(), ug::Selector::num(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::position_attachment(), ug::promesh::ProjectVerticesToCloseEdges(), ug::promesh::ProjectVerticesToCloseFaces(), ug::ResolveTriangleIntersections(), SelectAssociatedEdges(), SelectAssociatedVertices(), ug::promesh::Mesh::selector(), and Triangulate().
Referenced by ug::promesh::CSGFaceOperation(), and ug::promesh::RegisterMeshingTools().
References ug::Selector::begin(), ug::Selector::end(), ug::Selector::get_grid_objects(), ug::promesh::Mesh::grid(), grid(), ug::promesh::Mesh::position_attachment(), ug::promesh::ProjectVerticesToCloseEdges(), ug::ResolveTriangleIntersections(), SelectAssociatedEdges(), SelectAssociatedVertices(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterMeshingTools().
void ug::promesh::RestrictSelectionToSubset | ( | Mesh * | obj, |
int | si | ||
) |
References ug::promesh::Mesh::selector(), and ug::promesh::Mesh::subset_handler().
References ug::Selector::begin(), ug::promesh::CloseSelection(), ug::promesh::CopySubsetIndicesToSides(), ug::promesh::Mesh::crease_handler(), ug::Selector::end(), ug::promesh::Mesh::grid(), ug::promesh::Mesh::position_accessor(), ug::QualityGridGeneration(), ug::promesh::Mesh::selector(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterMeshingTools().
bool ug::promesh::SaveMesh | ( | Mesh * | obj, |
const char * | filename | ||
) |
References ug::GridWriterUGX::add_grid(), ug::GridWriterUGX::add_projection_handler(), ug::GridWriterUGX::add_selector(), ug::GridWriterUGX::add_subset_handler(), ug::promesh::Mesh::crease_handler(), ug::promesh::Mesh::grid(), ug::promesh::Mesh::position_attachment(), ug::promesh::Mesh::projection_handler(), ug::SaveGridToFile(), ug::promesh::Mesh::selector(), ug::promesh::Mesh::subset_handler(), and ug::GridWriterUGX::write_to_file().
Referenced by ug::promesh::RegisterMisc().
void ug::promesh::SelectAll | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), ug::ISelector::select(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectAllEdges | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), ug::ISelector::select(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectAllFaces | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), ug::ISelector::select(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectAllVertices | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), ug::ISelector::select(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectAllVolumes | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), ug::ISelector::select(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectAssociatedEdges | ( | Mesh * | obj | ) |
References ug::Selector::begin(), ug::Selector::end(), and ug::promesh::Mesh::selector().
void ug::promesh::SelectAssociatedFaces | ( | Mesh * | obj | ) |
References ug::Selector::begin(), ug::Selector::end(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::SelectLinkedManifoldFaces().
void ug::promesh::SelectAssociatedVertices | ( | Mesh * | obj | ) |
References ug::Selector::begin(), ug::Selector::end(), and ug::promesh::Mesh::selector().
void ug::promesh::SelectBoundaryEdges | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), SelectBoundaryElements(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectBoundaryFaces | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), SelectBoundaryElements(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectBoundaryVertices | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), ug::SelectBoundaryElements(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
References DistancePointToLine(), ug::Face::edge_desc(), ug::promesh::Mesh::grid(), grid(), ug::Face::num_edges(), ug::FaceVertices::num_vertices(), p, ug::promesh::Mesh::position_accessor(), ug::ISelector::select(), ug::promesh::Mesh::selector(), VecDistanceSq(), ug::FaceVertices::vertex(), and ug::EdgeVertices::vertex().
Referenced by ug::promesh::RegisterSelectionTools().
bool ug::promesh::SelectEdgeByIndex | ( | Mesh * | obj, |
int | index | ||
) |
References ug::promesh::Mesh::grid(), grid(), ug::ISelector::select(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectEdgesByDirection | ( | Mesh * | m, |
const vector3 & | dir, | ||
number | minDeviationAngle, | ||
number | maxDeviationAngle, | ||
bool | selectFlipped | ||
) |
References ug::promesh::Mesh::position_accessor(), and ug::promesh::Mesh::selector().
TElem* ug::promesh::SelectElemByCylindricalCoordinate | ( | Mesh * | obj, |
number | rho, | ||
number | phi, | ||
number | z | ||
) |
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 | ||
) |
References ug::promesh::Mesh::grid(), normal, ug::promesh::Mesh::position_accessor(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectElementsInBox | ( | Mesh * | obj, |
const vector3 & | min, | ||
const vector3 & | max | ||
) |
Selects elements whose center lie in a box.
References ug::BoxBoundProbe(), ug::CalculateCenter(), ug::promesh::Mesh::grid(), grid(), ug::promesh::Mesh::position_accessor(), ug::ISelector::select(), and ug::promesh::Mesh::selector().
void ug::promesh::SelectElementsInCoordinateRange | ( | Mesh * | mesh, |
number | min, | ||
number | max, | ||
bool | vrts, | ||
bool | edges, | ||
bool | faces, | ||
bool | vols | ||
) |
void ug::promesh::SelectElementsInCylinder | ( | Mesh * | obj, |
const vector3 & | cylBase, | ||
const vector3 & | cylTop, | ||
number | radius | ||
) |
Selects elements whose center lie in a cylinder.
References ug::CalculateCenter(), ug::promesh::Mesh::grid(), grid(), p, ug::promesh::Mesh::position_accessor(), ug::ProjectPointToRay(), s, ug::ISelector::select(), ug::promesh::Mesh::selector(), ug::SMALL, ug::sq(), ug::VecDistanceSq(), and ug::VecSubtract().
bool ug::promesh::SelectFaceByIndex | ( | Mesh * | obj, |
int | index | ||
) |
References ug::promesh::Mesh::grid(), grid(), ug::ISelector::select(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectFacesByNormal | ( | Mesh * | obj, |
const vector3 & | refNormal, | ||
number | maxDeviationAngle | ||
) |
References aPosition, CalculateNormal(), deg_to_rad(), ug::promesh::Mesh::grid(), grid(), ug::ISelector::select(), ug::promesh::Mesh::selector(), VecDot(), and VecNormalize().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectInnerEdges | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), SelectInnerElements(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectInnerFaces | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), SelectInnerElements(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectInnerVertices | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), SelectInnerElements(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectInterfaceElements | ( | Mesh * | obj, |
bool | regardSelectedNbrsOnly | ||
) |
void ug::promesh::SelectIntersectingTriangles | ( | Mesh * | obj | ) |
References ug::node_tree::Traverser_IntersectFaces::clear_ignore_list(), CollectNeighbors(), CreateOctree(), ug::promesh::Mesh::grid(), grid(), ug::node_tree::Traverser_IntersectFaces::ignore_element(), ug::node_tree::Traverser_IntersectFaces::intersect_tri(), NHT_VERTEX_NEIGHBORS, ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::position_attachment(), ug::ISelector::select(), ug::promesh::Mesh::selector(), UG_LOG, SmartPtr< class, FreePolicy >::valid(), and CustomTriangle< Triangle, Face, Triangle, Quadrilateral >::vertex().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectLinkedBoundaryEdges | ( | Mesh * | obj, |
bool | stopAtSelectedVrts | ||
) |
References ug::promesh::Mesh::grid(), grid(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectLinkedBoundaryFaces | ( | Mesh * | obj, |
bool | stopAtSelectedEdges | ||
) |
References ug::promesh::Mesh::grid(), grid(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectLinkedElements | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::selector().
void ug::promesh::SelectLinkedManifoldFaces | ( | Mesh * | obj | ) |
References CollectEdges(), ug::Selector::edges_begin(), ug::Selector::edges_end(), ug::Selector::faces_begin(), ug::Selector::faces_end(), GetAssociatedFaces(), ug::promesh::Mesh::grid(), grid(), ug::ISelector::is_selected(), ug::ISelector::select(), ug::promesh::SelectAssociatedFaces(), ug::promesh::Mesh::selector(), ug::Selector::vertices_begin(), ug::Selector::vertices_end(), ug::Selector::volumes_begin(), and ug::Selector::volumes_end().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectMarkedEdges | ( | Mesh * | obj | ) |
void ug::promesh::SelectMarkedFaces | ( | Mesh * | obj | ) |
void ug::promesh::SelectMarkedVertices | ( | Mesh * | obj | ) |
void ug::promesh::SelectNonManifoldEdges | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), NumAssociatedFaces(), ug::ISelector::select(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectSelectionBoundary | ( | Mesh * | obj | ) |
References ug::Selector::begin(), ug::Selector::end(), ug::Selector::num(), SelectAreaBoundary(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
References ug::promesh::Mesh::position_accessor(), and ug::promesh::Mesh::selector().
void ug::promesh::SelectSmoothEdgePath | ( | Mesh * | obj, |
number | maxDeviation, | ||
number | normalWeight, | ||
bool | stopAtSelectedVrts | ||
) |
References ug::promesh::Mesh::selector().
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 | ||
) |
size_t ug::promesh::SelectSubsetKinkVertices | ( | Mesh * | obj, |
int | subsetIndex, | ||
number | thresholdAngle, | ||
bool | selectDarts | ||
) |
References ug::Selector::begin(), ug::GridSubsetHandler::begin(), ug::GridSubsetHandler::end(), ug::promesh::Mesh::grid(), grid(), ug::Selector::num(), ug::promesh::Mesh::position_accessor(), SelectKinkVertices(), ug::promesh::Mesh::selector(), ug::promesh::Mesh::subset_handler(), and ug::EdgeVertices::vertex().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectUnassignedElements | ( | Mesh * | obj, |
bool | selVrts, | ||
bool | selEdges, | ||
bool | selFaces, | ||
bool | selVols | ||
) |
References ug::promesh::Mesh::grid(), grid(), ug::promesh::Mesh::selector(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterSelectionTools().
size_t ug::promesh::SelectUnconnectedVertices | ( | Mesh * | obj, |
bool | edgeCons, | ||
bool | faceCons, | ||
bool | volCons | ||
) |
References ug::promesh::Mesh::grid(), grid(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
int ug::promesh::SelectUnorientableVolumes | ( | Mesh * | obj | ) |
References aPosition, CheckOrientation(), ug::promesh::Mesh::grid(), grid(), ug::ISelector::select(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
bool ug::promesh::SelectVertexByIndex | ( | Mesh * | obj, |
int | index | ||
) |
References ug::promesh::Mesh::grid(), grid(), ug::ISelector::select(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
bool ug::promesh::SelectVolumeByIndex | ( | Mesh * | obj, |
int | index | ||
) |
References ug::promesh::Mesh::grid(), grid(), ug::ISelector::select(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
void ug::promesh::SelectVolumesByType | ( | Mesh * | obj, |
bool | selHexahedra, | ||
bool | selOctahedra, | ||
bool | selPrisms, | ||
bool | selPyramids, | ||
bool | selTetrahedra | ||
) |
References ug::promesh::Mesh::grid(), grid(), ug::ISelector::select(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().
References ug::GridSubsetHandler::assign_subset(), ug::Grid::begin(), ug::Grid::begin_marking(), ug::CollectAssociated(), ug::deg_to_rad(), ug::Grid::end(), ug::Grid::end_marking(), ug::ISubsetHandler::get_subset_index(), ug::promesh::Mesh::grid(), ug::Grid::is_marked(), ug::IsDegenerated(), ug::IsVolumeBoundaryFace(), ug::Grid::mark(), ug::ISubsetHandler::num_subsets(), ug::promesh::Mesh::position_accessor(), ug::SMALL, ug::promesh::Mesh::subset_handler(), ug::VecDistanceSq(), ug::VecDot(), ug::VecNormalize(), ug::VecSubtract(), and ug::EdgeVertices::vertex().
Referenced by ug::promesh::RegisterSubsetTools().
void ug::promesh::SeparateFacesByEdgeSubsets | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterSubsetTools().
void ug::promesh::SeparateFacesBySelectedEdges | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), ug::promesh::Mesh::selector(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterSubsetTools().
void ug::promesh::SeparateFaceSubsetByNormal | ( | Mesh * | obj, |
int | si | ||
) |
void ug::promesh::SeparateFaceSubsetsByNormal | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), ug::SeparateFaceSubsetsByNormal(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::SeparateFaceSubsetByNormal().
void ug::promesh::SeparateIrregularManifoldSubsets | ( | Mesh * | obj | ) |
References ug::ISubsetHandler::num_subsets(), ug::SplitIrregularManifoldSubset(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterSubsetTools().
void ug::promesh::SeparateVolumesByFaceSubsets | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterSubsetTools().
void ug::promesh::SeparateVolumesBySelectedFaces | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::grid(), grid(), ug::promesh::Mesh::selector(), and ug::promesh::Mesh::subset_handler().
Referenced by ug::promesh::RegisterSubsetTools().
References ug::promesh::Mesh::set_pivot().
Referenced by ug::promesh::RegisterCoordinateTransformTools().
void ug::promesh::SetPivotToMeshCenter | ( | Mesh * | obj | ) |
void ug::promesh::SetPivotToSelectionCenter | ( | Mesh * | obj | ) |
void ug::promesh::SetSubsetName | ( | Mesh * | obj, |
int | si, | ||
const char * | name | ||
) |
References ug::SubsetInfo::name, ug::promesh::Mesh::subset_handler(), and ug::ISubsetHandler::subset_info().
Referenced by ug::promesh::RegisterSubsetTools().
void ug::promesh::SnapToHorizontalRaster | ( | Mesh * | obj, |
SPRasterLayers | layers | ||
) |
References ug::promesh::Mesh::grid(), and ug::promesh::Mesh::position_accessor().
Referenced by ug::promesh::RegisterMeshingTools().
References ug::Selector::begin(), ug::KDTreeStatic< class, numDimensions, class >::create_from_grid(), ug::Selector::end(), ug::KDTreeStatic< class, numDimensions, class >::get_neighbourhood(), ug::promesh::Mesh::grid(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::position_attachment(), and ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterCoordinateTransformTools().
void ug::promesh::SplitEdge | ( | Mesh * | obj | ) |
void ug::promesh::SwapEdge | ( | Mesh * | obj | ) |
void ug::promesh::SwapSubsets | ( | Mesh * | obj, |
int | oldIndex, | ||
int | newIndex | ||
) |
References ug::ISubsetHandler::num_subsets(), ug::promesh::Mesh::subset_handler(), and ug::ISubsetHandler::swap_subsets().
Referenced by ug::promesh::RegisterSubsetTools().
void ug::promesh::Tetrahedralize | ( | Mesh * | obj, |
number | quality, | ||
bool | preserveOuter, | ||
bool | preserveAll, | ||
bool | separateVolumes, | ||
bool | appendSubsetsAtEnd, | ||
int | verbosity | ||
) |
References ug::GridSubsetHandler::assign_subset(), ug::promesh::CopySubsetIndicesToSides(), ug::promesh::Mesh::grid(), grid(), ug::SubsetInfo::name, ug::ISubsetHandler::num_subsets(), ug::promesh::Mesh::position_attachment(), ug::promesh::Mesh::subset_handler(), ug::ISubsetHandler::subset_info(), ug::Tetrahedralize(), and UG_LOG.
References ug::ISelector::autoselection_enabled(), ug::TElemSelector< class >::begin(), ug::Selector::begin(), ug::Selector::clear(), ug::promesh::CloseSelection(), ug::promesh::CopySubsetIndicesToSides(), ug::Selector::edges_begin(), ug::Selector::edges_end(), ug::ISelector::enable_autoselection(), ug::TElemSelector< class >::end(), ug::Selector::end(), ug::promesh::Mesh::grid(), grid(), ug::Selector::num(), ug::promesh::Mesh::position_accessor(), ug::promesh::Mesh::position_attachment(), ug::QualityGridGeneration(), ug::RemoveDuplicates(), ug::ISelector::select(), ug::promesh::Mesh::selector(), ug::promesh::Mesh::subset_handler(), ug::TriangleFill_SweepLine(), and UG_LOG.
void ug::promesh::UnassignSubsets | ( | Mesh * | obj, |
bool | vertices, | ||
bool | edges, | ||
bool | faces, | ||
bool | volumes | ||
) |
References ug::promesh::AssignSubset(), and vertices().
Referenced by ug::promesh::RegisterSubsetTools().
void ug::promesh::UnmarkSelection | ( | Mesh * | obj | ) |
void ug::promesh::VolumeSelectionFill | ( | Mesh * | obj | ) |
References ug::promesh::Mesh::selector().
Referenced by ug::promesh::RegisterSelectionTools().