C3D Toolkit  Kernel - 118057, Vision - 2.14.7.1821

Parameters of surface fitting. More...

#include <op_mesh_parameter.h>

Public Member Functions

 MbSurfaceFitToGridParameters (MbeSpaceType surfaceType, double tolerance, const c3d::IndicesVector &indicies)
 Constructor by parameters.
 
 MbSurfaceFitToGridParameters (MbeSpaceType surfaceType, double tolerance, const c3d::IndicesVector &indicies, MbeRejectOutliersType rejectType, double rejectValue)
 Constructor by parameters.
 
 MbSurfaceFitToGridParameters (MbeSpaceType surfaceType, double tolerance, const c3d::IndicesVector &indicies, MbeRejectOutliersType rejectType, double rejectValue, double angleConeMin, double angleConeMax, double radiusAnalyticShapeMax)
 Constructor by parameters for analytic surfaces fitting.
 
 MbSurfaceFitToGridParameters (MbeSpaceType surfaceType, double tolerance, const c3d::IndicesVector &indicies, size_t order, size_t countCpMax, double smoothCoef)
 Constructor by parameters for NURBs surface fitting.
 
MbeSpaceType GetSurfaceType () const
 Get surface type.
 
double GetTolerance () const
 Get fitting tolerance.
 
const c3d::IndicesVectorGetIndicies () const
 Get indicies of polygons.
 
size_t GetRegionIndex () const
 Get the index of a segmentation region.
 
void SetRegionIndex (size_t iRegion)
 Set the index of a segmentation region.
 
MbeRejectOutliersType GetOutliersRejectionMode () const
 Get outliers rejection mode.
 
double GetOutliersRejectionValue () const
 Get outliers rejection mode treshold value.
 
size_t GetNurbsOrder () const
 Get NURBs order.
 
size_t GetCountCpMax () const
 Get maximum allowed control points count.
 
double GetSmoothCoef () const
 Get smoothing coefficient.
 
double GetAngleDelta () const
 Get the rotation delta for isolines direction.
 
double GetAngleConeMin () const
 Get mininmum allowed cone half-angle.
 
double GetAngleConeMax () const
 Get maximum allowed cone half-angle.
 
double GetRadiusAnalyticShapeMax () const
 Get maximum allowed analytical shapes radial size.
 
const MbSurfaceFitConstraintGetFitConstraint () const
 Get the constraint.
 
MbSurfaceFitConstraintGetFitConstraint ()
 Get the constraint for editing.
 
size_t GetPointsFittingMax () const
 Get the maximum count of fitting points.
 
bool GetWithRefinement () const
 Get the flag of surface refinement by all the points.
 
bool GetClosed () const
 Get the flag of surface closedness.
 
void SetAnalyticBounds (double angleConeMin, double angleConeMax, double radiusAnalyticShapeMax)
 Set thresholds for analytical surfaces parameters.
 
void SetNurbsFitParams (size_t order, size_t countCpMax, double smoothCoef)
 Set NURBs surface fitting parameters.
 
void SetNurbsAngleDelta (double angleDelta)
 Set the rotation delta for isolines direction (in degrees) of a NURBS surface.
 
bool AddAxisConstraint (const MbVector3D &direction, double angle=0.)
 Add an axis constraint. More...
 
void AddCoaxialConstraint (const MbAxis3D &axis)
 Add a coaxial constraint. More...
 
bool AddCylinderRadiusConstraint (double radius)
 Fix cylinder radius. More...
 
bool AddSphereRadiusConstraint (double radius)
 Fix sphere radius. More...
 
bool AddConeAngleConstraint (double angle)
 Fix cone angle. More...
 
bool AddTorusRadiiConstraint (double majorRadius, double minorRadius)
 Fix torus radii. More...
 
MbResultType SetFitConstraintXYW (MbeSpaceType typeSurface, MbeDimensionalConstraintType typeDim, const MbConstraintFixedValues &fixedValues, const MbPlacement3D &place)
 Set the XYW-constraint. More...
 
MbResultType SetFitConstraintZ (MbeSpaceType typeSurface, MbeDimensionalConstraintType typeDim, const MbConstraintFixedValues &fixedValues, const MbPlacement3D &place)
 Set the Z-constraint. More...
 
MbResultType SetFitConstraintXYZ (MbeSpaceType typeSurface, MbeDimensionalConstraintType typeDim, const MbConstraintFixedValues &fixedValues, const MbPlacement3D &place)
 Set the XYZ-constraint. More...
 
MbResultType SetFitConstraintZW (MbeSpaceType typeSurface, MbeDimensionalConstraintType typeDim, const MbConstraintFixedValues &fixedValues, const MbPlacement3D &place)
 Set the ZW-constraint. More...
 
void SetPointsFittingMax (size_t value)
 Set the maximum count of fitting points.
 
void SetWithRefinement (bool value)
 Set the flag of surface refinement by all the points.
 
void SetClosed (bool closed)
 Set the flag of surface closedness.
 

Detailed Description

Parameters of surface fitting.


The documentation for this class was generated from the following file: