#include <Segmentation.h>
|
bool | AllowVisit (const MeshFacet &face, const MeshFacet &, FacetIndex, unsigned long, unsigned short neighbourIndex) |
| Test before a facet will be flagged as VISIT, return false means: go on with visiting the facets but not this one and set not the VISIT flag. More...
|
|
| MeshSurfaceVisitor (MeshSurfaceSegment &segm, std::vector< FacetIndex > &indices) |
|
bool | Visit (const MeshFacet &face, const MeshFacet &, FacetIndex ulFInd, unsigned long) |
| Needs to be implemented in sub-classes. More...
|
|
virtual | ~MeshSurfaceVisitor () |
|
virtual bool | AllowVisit (const MeshFacet &rclFacet, const MeshFacet &rclFrom, FacetIndex ulFInd, unsigned long ulLevel, unsigned short neighbourIndex) |
| Test before a facet will be flagged as VISIT, return false means: go on with visiting the facets but not this one and set not the VISIT flag. More...
|
|
| MeshFacetVisitor () |
| Construction. More...
|
|
virtual bool | Visit (const MeshFacet &rclFacet, const MeshFacet &rclFrom, FacetIndex ulFInd, unsigned long ulLevel)=0 |
| Needs to be implemented in sub-classes. More...
|
|
virtual | ~MeshFacetVisitor () |
| Denstruction. More...
|
|
◆ MeshSurfaceVisitor()
◆ ~MeshSurfaceVisitor()
MeshSurfaceVisitor::~MeshSurfaceVisitor |
( |
| ) |
|
|
virtual |
◆ AllowVisit()
bool MeshSurfaceVisitor::AllowVisit |
( |
const MeshFacet & |
rclFacet, |
|
|
const MeshFacet & |
rclFrom, |
|
|
FacetIndex |
ulFInd, |
|
|
unsigned long |
ulLevel, |
|
|
unsigned short |
neighbourIndex |
|
) |
| |
|
virtual |
◆ Visit()
Needs to be implemented in sub-classes.
rclFacet is the currently visited facet with the index ulFInd, rclFrom is the last visited facet and ulLevel indicates the ring number around the start facet. If true is returned the next iteration is done if there are still facets to visit. If false is returned the calling method stops immediately visiting further facets.
Implements MeshCore::MeshFacetVisitor.
References MeshCore::MeshSurfaceSegment::AddFacet(), and segm.
◆ indices
std::vector<FacetIndex>& MeshCore::MeshSurfaceVisitor::indices |
|
protected |
◆ segm
The documentation for this class was generated from the following files:
- FreeCAD/src/Mod/Mesh/App/Core/Segmentation.h
- FreeCAD/src/Mod/Mesh/App/Core/Segmentation.cpp