C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Input data for lofted solid operation. More...

#include <op_shell_parameter.h>

+ Collaboration diagram for MbLoftedSolidParams:

Public Member Functions

 MbLoftedSolidParams (const std::vector< MbPlacement3D > &places, const c3d::PlaneContoursSPtrVector &planeConours, const c3d::ConstSpaceCurveSPtr &spine, const LoftedValues &params, const c3d::SpaceCurvesSPtrVector *guideCurves, const c3d::SpacePointsVector *guidePoints, const MbSNameMaker &operName, const c3d::SNamesMakerSPtrVector &contourNames, IProgressIndicator *prog=nullptr)
 Constructor by the operation parameters. More...
 
 MbLoftedSolidParams (const c3d::SurfacesSPtrVector &surfaces, const c3d::PlaneContoursSPtrVector &planeConours, const c3d::ConstSpaceCurveSPtr &spine, const LoftedValues &params, const c3d::SpaceCurvesSPtrVector *guideCurves, const c3d::SpacePointsVector *guidePoints, const MbSNameMaker &operName, const c3d::SNamesMakerSPtrVector &contourNames, IProgressIndicator *prog=nullptr)
 Constructor by the operation parameters. More...
 
 MbLoftedSolidParams (const std::vector< MbPlacement3D > &places, const c3d::PlaneContoursSPtrVector &planeConours, const c3d::ConstSpaceCurveSPtr &spine, const LoftedValues &params, const OperationType oType, const c3d::SpaceCurvesSPtrVector *guideCurves, const c3d::SpacePointsVector *guidePoints, const MbSNameMaker &operName, const c3d::SNamesMakerSPtrVector &contourNames, IProgressIndicator *prog=nullptr)
 Constructor by the operation parameters. More...
 
 MbLoftedSolidParams (const c3d::SurfacesSPtrVector &surfaces, const c3d::PlaneContoursSPtrVector &planeConours, const c3d::ConstSpaceCurveSPtr &spine, const LoftedValues &params, const OperationType oType, const c3d::SpaceCurvesSPtrVector *guideCurves, const c3d::SpacePointsVector *guidePoints, const MbSNameMaker &operName, const c3d::SNamesMakerSPtrVector &contourNames, IProgressIndicator *prog=nullptr)
 Constructor by the operation parameters. More...
 
 ~MbLoftedSolidParams ()
 Destructor.
 
const c3d::ConstSpaceCurveSPtrGetSpine () const
 Get the guide curve. If it is not set then nullptr will be returned.
 
const MbNameMakerGetContourName (const size_t idx) const
 Get the object defining the name of the generating contours with given index.
 
const MbSNameMakerGetOperationName () const
 Get the object defining names generation in the operation.
 
const LoftedValuesGetLoftParameters () const
 Get the operation parameters.
 
size_t GetSectionsCount () const
 Get number of the sections.
 
const MbSurfaceGetSectionSurface (const size_t idx) const
 Get the surface of generating contour with given index.
 
const MbContourGetSectionCurve (const size_t idx) const
 Get the generating contour with given index.
 
void GetSections (c3d::SurfacesSPtrVector &surfaces, c3d::PlaneContoursSPtrVector &contours) const
 Get the arrays of sections' elements (planar contour and surfaces, which it is created on).
 
void GetGuides (c3d::SpaceCurvesSPtrVector *guideCurves, c3d::SpacePointsVector *guidePoints) const
 Get the arrays of guide items (curves and chain points). They can be requested separately if correspond pointer is nullptr.
 
template<class NamesPointers >
void GetContoursNames (NamesPointers &contourNames) const
 Get the objects defining the names of generating contours. NamesPointers is a vector of pointers (SPtr is available, too) to MbSNameMaker.
 
OperationType GetBooleanOperationType () const
 A boolean operation type.
 

Public Attributes

IProgressIndicator_progress
 A progress indicator of the operation.
 

Protected Attributes

c3d::ContourOnSurfaceSPtrVector _surfaceSections
 An array of generating contours.
 
c3d::SpaceCurvesSPtrVector _guideCurves
 An array of the guide curves that determines the trajectories of the corresponding points of the contours.
 
c3d::SpacePointsVector _guidePoints
 A point array on the generating contours which determines the corresponding points of the contours (chains of points).
 
c3d::SNamesMakerSPtrVector _sectionsNames
 The objects defining the names of generating contours.
 
c3d::ConstSpaceCurveSPtr _spine
 A guide curve (can be nullptr).
 
c3d::SNameMakerSPtr _operName
 An object defining names generation in the operation.
 
LoftedValues _loftParams
 The operation parameters.
 
OperationType _operType
 A boolean operation type.
 

Detailed Description

Input data for lofted solid operation.

Input data for lofted solid operation.
At that, making some Boolean operation with already existing solids is possible. Following types of Boolean operation are supported:

  • bo_Union - union,
  • bo_Intersect - intersection,
  • bo_Difference - subtraction. The default value: bo_Base (no boolean operation will be made).

Constructor & Destructor Documentation

◆ MbLoftedSolidParams() [1/4]

MbLoftedSolidParams::MbLoftedSolidParams ( const std::vector< MbPlacement3D > &  places,
const c3d::PlaneContoursSPtrVector &  planeConours,
const c3d::ConstSpaceCurveSPtr spine,
const LoftedValues params,
const c3d::SpaceCurvesSPtrVector *  guideCurves,
const c3d::SpacePointsVector guidePoints,
const MbSNameMaker operName,
const c3d::SNamesMakerSPtrVector &  contourNames,
IProgressIndicator prog = nullptr 
)

Constructor by the operation parameters.

Constructor by the operation parameters.

Parameters
[in]places- An array of generating contours coordinate systems.
[in]planeConours- An array of generating contours.
[in]spine- A guide curve (can be nullptr).
[in]params- The operation parameters.
[in]guideCurves- An array of the guide curves that determines the trajectories of the corresponding points of the contours.
[in]guidePoints- A point array on the generating contours which determines the corresponding points of the contours (chains of points).
[in]operName- An object defining names generation in the operation.
[in]contourNames- The objects defining the names of generating contours.

◆ MbLoftedSolidParams() [2/4]

MbLoftedSolidParams::MbLoftedSolidParams ( const c3d::SurfacesSPtrVector &  surfaces,
const c3d::PlaneContoursSPtrVector &  planeConours,
const c3d::ConstSpaceCurveSPtr spine,
const LoftedValues params,
const c3d::SpaceCurvesSPtrVector *  guideCurves,
const c3d::SpacePointsVector guidePoints,
const MbSNameMaker operName,
const c3d::SNamesMakerSPtrVector &  contourNames,
IProgressIndicator prog = nullptr 
)

Constructor by the operation parameters.

Constructor by the operation parameters.

Parameters
[in]surfaces- An array of surfaces of generating contours.
[in]planeConours- An array of generating contours.
[in]spine- A guide curve (can be nullptr).
[in]params- The operation parameters.
[in]guideCurves- An array of the guide curves that determines the trajectories of the corresponding points of the contours.
[in]guidePoints- A point array on the generating contours which determines the corresponding points of the contours (chains of points).
[in]operName- An object defining names generation in the operation.
[in]contourNames- The objects defining the names of generating contours.

◆ MbLoftedSolidParams() [3/4]

MbLoftedSolidParams::MbLoftedSolidParams ( const std::vector< MbPlacement3D > &  places,
const c3d::PlaneContoursSPtrVector &  planeConours,
const c3d::ConstSpaceCurveSPtr spine,
const LoftedValues params,
const OperationType  oType,
const c3d::SpaceCurvesSPtrVector *  guideCurves,
const c3d::SpacePointsVector guidePoints,
const MbSNameMaker operName,
const c3d::SNamesMakerSPtrVector &  contourNames,
IProgressIndicator prog = nullptr 
)

Constructor by the operation parameters.

Constructor by the operation parameters.

Parameters
[in]places- An array of generating contours coordinate systems.
[in]planeConours- An array of generating contours.
[in]spine- A guide curve (can be nullptr).
[in]params- The operation parameters.
[in]oType- A boolean operation type.
[in]guideCurves- An array of the guide curves that determines the trajectories of the corresponding points of the contours.
[in]guidePoints- A point array on the generating contours which determines the corresponding points of the contours (chains of points).
[in]operName- An object defining names generation in the operation.
[in]contourNames- The objects defining the names of generating contours.

◆ MbLoftedSolidParams() [4/4]

MbLoftedSolidParams::MbLoftedSolidParams ( const c3d::SurfacesSPtrVector &  surfaces,
const c3d::PlaneContoursSPtrVector &  planeConours,
const c3d::ConstSpaceCurveSPtr spine,
const LoftedValues params,
const OperationType  oType,
const c3d::SpaceCurvesSPtrVector *  guideCurves,
const c3d::SpacePointsVector guidePoints,
const MbSNameMaker operName,
const c3d::SNamesMakerSPtrVector &  contourNames,
IProgressIndicator prog = nullptr 
)

Constructor by the operation parameters.

Constructor by the operation parameters.

Parameters
[in]surfaces- An array of surfaces of generating contours.
[in]planeConours- An array of generating contours.
[in]spine- A guide curve (can be nullptr).
[in]params- The operation parameters.
[in]oType- A boolean operation type.
[in]guideCurves- An array of the guide curves that determines the trajectories of the corresponding points of the contours.
[in]guidePoints- A point array on the generating contours which determines the corresponding points of the contours (chains of points).
[in]operName- An object defining names generation in the operation.
[in]contourNames- The objects defining the names of generating contours.

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