C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Class for creating a BRep shell by polygonal mesh. More...
#include <action_b_shaper.h>
Public Member Functions | |
virtual | ~MbMeshProcessor () |
Destructor. | |
virtual void | SetRelativeTolerance (double tolerance)=0 |
Set relative tolerance. More... | |
virtual void | SetTolerance (double tolerance)=0 |
Set tolerance. More... | |
virtual double | GetTolerance () const =0 |
Get tolerance. More... | |
virtual void | SetReconstructionMode (MbeSurfReconstructMode mode)=0 |
Set the surfaces reconstruction mode. More... | |
virtual void | SetBrepCreationMode (MbeCreateBRepMode mode)=0 |
Set the BRep creation mode. More... | |
virtual void | SetUseMeshSmoothing (bool useSmoothing)=0 |
Set flag to use smoothing of input mesh. More... | |
virtual const MbCollection & | GetSimplifiedMesh ()=0 |
Get fixed (simplified) copy of the input mesh. More... | |
virtual const MbCollection & | GetSegmentedMesh ()=0 |
Get segmented copy of the input mesh. More... | |
virtual const std::vector< MbCurvature > & | CalculateCurvatures ()=0 |
Calculate the principal curvatures and principal curvature directions at mesh points. More... | |
virtual MbResultType | SegmentMesh (bool createSurfaces=true)=0 |
Segment a polygonal mesh. More... | |
virtual MbResultType | CreateBRepShell (MbFaceShell *&pShell, bool smoothBoundaryEdges, double bondThresholdAngle)=0 |
Create shell. More... | |
virtual void | FitSurfaceToSegment (size_t idxSegment)=0 |
Fit surface to segment . More... | |
virtual void | FitSurfaceToSegment (size_t idxSegment, MbeSpaceType surfaceType)=0 |
Fit surface of a given type to a segment. More... | |
virtual const MbSurface * | GetSegmentSurface (size_t idxSegment) const =0 |
Get surface of segment. More... | |
virtual MbSurface * | SetSegmentSurface (size_t idxSegment)=0 |
Set surface of segment. More... | |
virtual void | ResetSegmentation ()=0 |
Reset segmentation of the polygonal mesh. More... | |
virtual bool | FindShortestVertexPath (uint v1, uint v2, std::vector< uint > &path)=0 |
Find shortest path between two vertices. More... | |
![]() | |
virtual MbeRefType | RefType () const |
Registration type (for copying, duplication). | |
refcount_t | GetUseCount () const |
Get count of references (get count of owners of an object). | |
refcount_t | AddRef () const |
Increase count of references by one. | |
refcount_t | DecRef () const |
Decrease count of references by one. | |
refcount_t | Release () const |
Decrease count of references by one and if count of references became zero, then remove itself. | |
Static Public Member Functions | |
static MbMeshProcessor * | Create (const MbCollection &collection) |
Create mesh processor by collection. More... | |
Protected Member Functions | |
MbMeshProcessor () | |
Constructor. | |
![]() | |
MbRefItem () | |
Constructor without parameters. | |
Class for creating a BRep shell by polygonal mesh.
Provide an interface for managing of "Mesh to BRep" conversion.