C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Shell cutting operation parameters. More...
#include <op_shell_parameter.h>
Classes | |
struct | ProlongState |
State of prolongation types of cutter surfaces. More... | |
Public Member Functions | |
MbShellCuttingParams (int part, const MbMergingFlags &mergingFlags, bool cutAsClosed, const MbSNameMaker &snMaker, IProgressIndicator *prog=nullptr) | |
Constructor. More... | |
MbShellCuttingParams (const MbPlacement3D &place, const MbContour &contour, bool sameContour, const MbVector3D &dir, int part, const MbMergingFlags &mergingFlags, bool cutAsClosed, const MbSNameMaker &snMaker, IProgressIndicator *prog=nullptr) | |
Constructor by a contour. More... | |
MbShellCuttingParams (const MbPlacement3D &place, const MbContour &contour, bool sameContour, const MbVector3D &dir, const MbMergingFlags &mergingFlags, bool cutAsClosed, const MbSNameMaker &snMaker, IProgressIndicator *prog=nullptr) | |
Constructor by a contour. More... | |
MbShellCuttingParams (const MbSurface &surface, bool sameSurface, int part, const MbMergingFlags &mergingFlags, bool cutAsClosed, const MbSNameMaker &snMaker, IProgressIndicator *prog=nullptr) | |
Constructor by a surface. More... | |
MbShellCuttingParams (const MbSurface &surface, bool sameSurface, const MbMergingFlags &mergingFlags, bool cutAsClosed, const MbSNameMaker &snMaker, IProgressIndicator *prog=nullptr) | |
Constructor by a surface. More... | |
MbShellCuttingParams (const MbSolid &solid, bool sameSolid, int part, const MbMergingFlags &mergingFlags, bool cutAsClosed, const MbSNameMaker &snMaker, IProgressIndicator *prog=nullptr) | |
Constructor by a shell. More... | |
MbShellCuttingParams (const MbShellCuttingParams &other, MbRegDuplicate *iReg) | |
Copy constructor. | |
bool | InitPlaneContour (const MbPlacement3D &place, const MbContour &contour, bool sameContour, const MbVector3D &dir, int part, const MbMergingFlags &mergingFlags, bool cutAsClosed, const MbSNameMaker &snMaker, IProgressIndicator *prog=nullptr) |
Initialize by a contour. More... | |
bool | InitPlaneContour (const MbPlacement3D &place, const MbContour &contour, bool sameContour, const MbVector3D &dir, IProgressIndicator *prog=nullptr) |
Initialize by a contour. More... | |
bool | InitSurface (const MbSurface &surface, bool sameSurface, int part, const MbMergingFlags &mergingFlags, bool cutAsClosed, const MbSNameMaker &snMaker, IProgressIndicator *prog=nullptr) |
Constructor by a surface. More... | |
bool | InitSurface (const MbSurface &surface, bool sameSurface, ProlongState prState, IProgressIndicator *prog=nullptr) |
Constructor by a surface. More... | |
bool | InitSolid (const MbSolid &solid, bool sameSolid, int part, const MbMergingFlags &mergingFlags, bool cutAsClosed, const MbSNameMaker &snMaker, IProgressIndicator *prog=nullptr) |
Constructor by a shell. More... | |
bool | InitSolid (const MbSolid &solid, bool sameSolid, IProgressIndicator *prog=nullptr) |
Constructor by a shell. More... | |
template<class CreatorsVector > | |
bool | InitSolid (const CreatorsVector &creators, bool sameCreators, IProgressIndicator *prog=nullptr) |
Constructor by a shell. More... | |
bool | IsCuttingByPlanarContour () const |
Is cutting by planar contour? | |
bool | IsCuttingBySurface () const |
Is cutting by surface? | |
bool | IsCuttingBySolid () const |
Is cutting by shell? | |
const MbSplitData & | GetCutterData () const |
Get cutter object(s) data. | |
const MbBooleanFlags & | GetBooleanFlags () const |
Get control flags of the Boolean operation. | |
MbBooleanFlags & | SetBooleanFlags () |
Get control flags of the Boolean operation. | |
const MbSNameMaker & | GetNameMaker () const |
Get the object defining names generation in the operation. | |
ThreeStates | GetRetainedPart () const |
Get retained part demand. | |
void | SetRetainedPart (int part) |
Set retained part demand. | |
const ProlongState & | GetProlongState () const |
Get cutter surface prolong type. | |
void | ResetProlongState () |
Reset cutter surface prolong type. | |
void | SetSurfaceProlongType (MbeSurfaceProlongType pt) |
Add cutter surface prolong type. | |
void | AddSurfaceProlongType (MbeSurfaceProlongType pt) |
Add cutter surface prolong type. | |
const MbPlacement3D & | GetSketchPlace () const |
Get the local coordinate system of two-dimensional curves. | |
const MbVector3D & | GetSketchDirection () const |
Get the extrusion direction vector of two-dimensional curves. | |
const MbContour * | GetSketchCurve () const |
Get two-dimensional curve. | |
const MbSurface * | GetSurface () const |
Get a surface. | |
bool | MergeFaces () const |
Whether to merge similar faces (true)? | |
bool | MergeEdges () const |
Whether to merge similar edges (true)? | |
bool | IsCuttingAsClosed () const |
Create a closed shell. | |
Public Attributes | |
IProgressIndicator * | progress |
A progress indicator of the operation. | |
Shell cutting operation parameters.
Shell cutting operation parameters.
The mutually exclusive state of flags is assumed when they are active in MbShellCuttingParams:
|
inline |
Constructor.
Constructor.
[in] | part | - A part of the source shell to be kept (+1, 0, -1), if 0 retain both parts. |
[in] | mergingFlags | - Control flags of shell items merging. |
[in] | cutAsClosed | - Create a closed shell. |
[in] | snMaker | - An object defining names generation in the operation. |
|
inline |
Constructor by a contour.
Constructor by a contour.
[in] | place | - A local coordinate system the two-dimensional contour is located in XY plane of. |
[in] | contour | - The two-dimensional contour of extrusion is located in XY plane of the local coordinate system. |
[in] | sameContour | - Use the source contour (true) or its copy (false). |
[in] | dir | - Extrusion direction of the contour. |
[in] | part | - A part of the source shell to be kept (+1, 0, -1), if 0 retain both parts. |
[in] | mergingFlags | - Control flags of shell items merging. |
[in] | cutAsClosed | - Create a closed shell. |
[in] | snMaker | - An object defining names generation in the operation. |
|
inline |
Constructor by a contour.
Constructor by a contour.
[in] | place | - A local coordinate system the two-dimensional contour is located in XY plane of. |
[in] | contour | - The two-dimensional contour of extrusion is located in XY plane of the local coordinate system. |
[in] | sameContour | - Use the source contour (true) or its copy (false). |
[in] | dir | - Extrusion direction of the contour. |
[in] | part | - A part of the source shell to be kept (+1, 0, -1), if 0 retain both parts. |
[in] | mergingFlags | - Control flags of shell items merging. |
[in] | cutAsClosed | - Create a closed shell. |
[in] | snMaker | - An object defining names generation in the operation. |
|
inline |
Constructor by a surface.
Constructor by a surface.
[in] | surface | - Cutting plane. |
[in] | sameSurface | - Use the source surface (true) or its copy (false). |
[in] | part | - A part of the source shell to be kept (+1, 0, -1), if 0 retain both parts. |
[in] | mergingFlags | - Control flags of shell items merging. |
[in] | cutAsClosed | - Create a closed shell. |
[in] | snMaker | - An object defining names generation in the operation. |
|
inline |
Constructor by a surface.
Constructor by a surface.
[in] | surface | - Cutting plane. |
[in] | sameSurface | - Use the source surface (true) or its copy (false). |
[in] | part | - A part of the source shell to be kept (+1, 0, -1), if 0 retain both parts. |
[in] | mergingFlags | - Control flags of shell items merging. |
[in] | cutAsClosed | - Create a closed shell. |
[in] | snMaker | - An object defining names generation in the operation. |
|
inline |
Constructor by a shell.
Constructor by a shell.
[in] | solid | - Cutting shell. |
[in] | sameSolid | - Use the source surface (true) or its copy (false). |
[in] | part | - A part of the source shell to be kept (+1, 0, -1), if 0 retain both parts. |
[in] | mergingFlags | - Control flags of shell items merging. |
[in] | cutAsClosed | - Create a closed shell. |
[in] | snMaker | - An object defining names generation in the operation. |
|
inline |
Initialize by a contour.
Initialize by a contour.
[in] | place | - A local coordinate system the two-dimensional contour is located in XY plane of. |
[in] | contour | - The two-dimensional contour of extrusion is located in XY plane of the local coordinate system. |
[in] | sameContour | - Use the source contour (true) or its copy (false). |
[in] | dir | - Extrusion direction of the contour. |
[in] | part | - A part of the source shell to be kept (+1, 0, -1), if 0 retain both parts. |
[in] | mergingFlags | - Control flags of shell items merging. |
[in] | cutAsClosed | - Create a closed shell. |
[in] | snMaker | - An object defining names generation in the operation. |
|
inline |
Initialize by a contour.
Initialize by a contour.
[in] | place | - A local coordinate system the two-dimensional contour is located in XY plane of. |
[in] | contour | - The two-dimensional contour of extrusion is located in XY plane of the local coordinate system. |
[in] | sameContour | - Use the source contour (true) or its copy (false). |
[in] | dir | - Extrusion direction of the contour. |
|
inline |
Constructor by a surface.
Constructor by a surface.
[in] | surface | - Cutting plane. |
[in] | sameSurface | - Use the source surface (true) or its copy (false). |
[in] | part | - A part of the source shell to be kept (+1, 0, -1), if 0 retain both parts. |
[in] | mergingFlags | - Control flags of shell items merging. |
[in] | cutAsClosed | - Create a closed shell. |
[in] | snMaker | - An object defining names generation in the operation. |
|
inline |
Constructor by a surface.
Constructor by a surface.
[in] | surface | - Cutting plane. |
[in] | sameSurface | - Use the source surface (true) or its copy (false). |
[in] | prType | - Cutter surface prolong type. |
|
inline |
Constructor by a shell.
Constructor by a shell.
[in] | solid | - Cutting shell. |
[in] | sameSolid | - Use the source surface (true) or its copy (false). |
[in] | part | - A part of the source shell to be kept (+1, 0, -1), if 0 retain both parts. |
[in] | mergingFlags | - Control flags of shell items merging. |
[in] | cutAsClosed | - Create a closed shell. |
[in] | snMaker | - An object defining names generation in the operation. |
|
inline |
Constructor by a shell.
Constructor by a shell.
[in] | solid | - Cutting shell. |
[in] | sameSolid | - Use the source surface (true) or its copy (false). |
|
inline |
Constructor by a shell.
Constructor by a shell.
[in] | creators | - Cutting shell creators. |
[in] | sameCreators | - Use original creators (true) or its copies (false). |