#include <Segmentation.h>
Public Member Functions | |
void AddFacet (const MeshFacet &rclFacet) | |
const char * GetType () const | |
void Initialize (unsigned long) | |
MeshDistanceGenericSurfaceFitSegment (AbstractSurfaceFit *, const MeshKernel &mesh, unsigned long minFacets, float tol) | |
std::vector< float > Parameters () const | |
bool TestFacet (const MeshFacet &rclFacet) const | |
bool TestInitialFacet (unsigned long) const | |
virtual ~MeshDistanceGenericSurfaceFitSegment () | |
![]() | |
MeshDistanceSurfaceSegment (const MeshKernel &mesh, unsigned long minFacets, float tol) | |
![]() | |
void AddSegment (const std::vector< unsigned long > &) | |
MeshSegment FindSegment (unsigned long) const | |
const std::vector< MeshSegment > & GetSegments () const | |
MeshSurfaceSegment (unsigned long minFacets) | |
virtual ~MeshSurfaceSegment () | |
Protected Attributes | |
AbstractSurfaceFit * fitter | |
![]() | |
const MeshKernel & kernel | |
float tolerance | |
![]() | |
unsigned long minFacets | |
std::vector< MeshSegment > segments | |
Constructor & Destructor Documentation
◆ MeshDistanceGenericSurfaceFitSegment()
MeshDistanceGenericSurfaceFitSegment::MeshDistanceGenericSurfaceFitSegment | ( | AbstractSurfaceFit * | fit, |
const MeshKernel & | mesh, | ||
unsigned long | minFacets, | ||
float | tol | ||
) |
◆ ~MeshDistanceGenericSurfaceFitSegment()
|
virtual |
References fitter.
Member Function Documentation
◆ AddFacet()
|
virtual |
Reimplemented from MeshCore::MeshSurfaceSegment.
References MeshCore::AbstractSurfaceFit::AddTriangle(), fitter, MeshCore::MeshKernel::GetFacet(), and MeshCore::MeshDistanceSurfaceSegment::kernel.
◆ GetType()
|
virtual |
Implements MeshCore::MeshSurfaceSegment.
Referenced by ReverseEngineeringGui::Segmentation::accept().
◆ Initialize()
|
virtual |
Reimplemented from MeshCore::MeshSurfaceSegment.
References fitter, MeshCore::MeshKernel::GetFacet(), MeshCore::AbstractSurfaceFit::Initialize(), and MeshCore::MeshDistanceSurfaceSegment::kernel.
◆ Parameters()
std::vector< float > MeshDistanceGenericSurfaceFitSegment::Parameters | ( | ) | const |
References fitter, and MeshCore::AbstractSurfaceFit::Parameters().
Referenced by ReverseEngineeringGui::Segmentation::accept().
◆ TestFacet()
Implements MeshCore::MeshSurfaceSegment.
References MeshCore::AbstractSurfaceFit::Done(), MeshCore::AbstractSurfaceFit::Fit(), fitter, MeshCore::AbstractSurfaceFit::GetDistanceToSurface(), MeshCore::MeshKernel::GetFacet(), MeshCore::MeshDistanceSurfaceSegment::kernel, MeshCore::AbstractSurfaceFit::TestTriangle(), and MeshCore::MeshDistanceSurfaceSegment::tolerance.
◆ TestInitialFacet()
|
virtual |
Reimplemented from MeshCore::MeshSurfaceSegment.
References fitter, MeshCore::AbstractSurfaceFit::GetDistanceToSurface(), MeshCore::MeshKernel::GetFacet(), MeshCore::MeshDistanceSurfaceSegment::kernel, MeshCore::AbstractSurfaceFit::TestTriangle(), and MeshCore::MeshDistanceSurfaceSegment::tolerance.
Member Data Documentation
◆ fitter
|
protected |
Referenced by AddFacet(), Initialize(), Parameters(), TestFacet(), TestInitialFacet(), and ~MeshDistanceGenericSurfaceFitSegment().
The documentation for this class was generated from the following files:
- src/Mod/Mesh/App/Core/Segmentation.h
- src/Mod/Mesh/App/Core/Segmentation.cpp