C3D Toolkit
Kernel - 117950, Vision - 2.7.5.29
|
Input data for lofted solid operation. More...
#include <op_shell_parameter.h>
Public Member Functions | |
MbLoftedSolidParams (const std::vector< MbPlacement3D > &places, const c3d::PlaneContoursSPtrVector &planeConours, const c3d::ConstSpaceCurveSPtr &spine, const LoftedValues ¶ms, 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 ¶ms, 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 ¶ms, 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 ¶ms, 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::ConstSpaceCurveSPtr & | GetSpine () const |
Get the guide curve. If it is not set then nullptr will be returned. | |
const MbNameMaker * | GetContourName (const size_t idx) const |
Get the object defining the name of the generating contours with given index. | |
const MbSNameMaker & | GetOperationName () const |
Get the object defining names generation in the operation. | |
const LoftedValues & | GetLoftParameters () const |
Get the operation parameters. | |
size_t | GetSectionsCount () const |
Get number of the sections. | |
const MbSurface * | GetSectionSurface (const size_t idx) const |
Get the surface of generating contour with given index. | |
const MbContour * | GetSectionCurve (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. | |
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:
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.
[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::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.
[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::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.
[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::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.
[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. |