C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Constructor a solid's shell by forming curves. More...
#include <cr_swept_solid.h>
Public Member Functions | |
Common functions of the mathematical object. | |
MbeCreatorType | Type () const override |
Get the group type of the object. | |
size_t | GetCreatorsCount (MbeCreatorType ct) const override |
Count internal creators by type. | |
bool | GetInternalCreators (MbeCreatorType, c3d::ConstCreatorsSPtrVector &) const override |
Get internal creators by type. | |
bool | SetInternalCreators (MbeCreatorType, c3d::CreatorsSPtrVector &) override |
Get internal creators by type. | |
Common functions of the rigid solid (forming operations). | |
bool | CreateShell (MbFaceShell *&shell, MbeCopyMode sameShell, RPArray< MbSpaceItem > *items=nullptr) override |
Create a shell from the initial data. More... | |
virtual MbFaceShell * | InitShell (bool in)=0 |
virtual void | InitBasis (RPArray< MbSpaceItem > &)=0 |
virtual bool | GetPlacement (MbPlacement3D &) const =0 |
void | SetYourVersion (VERSION version, bool forAll) override |
Set the objects version. | |
void | SetOperation (OperationType op) |
Public Member Functions inherited from MbCreator | |
virtual | ~MbCreator () |
Destructor. | |
MbeRefType | RefType () const override |
Get the registration type (for copying, duplication). | |
virtual MbeCreatorType | IsA () const =0 |
Get the object type. | |
virtual MbCreator & | Duplicate (MbRegDuplicate *iReg=nullptr) const =0 |
Create a copy of the object. More... | |
virtual void | Transform (const MbMatrix3D &matr, MbRegTransform *iReg=nullptr)=0 |
Transform according to the matrix. More... | |
virtual void | Move (const MbVector3D &to, MbRegTransform *iReg=nullptr)=0 |
Translate along a vector. More... | |
virtual void | Rotate (const MbAxis3D &axis, double angle, MbRegTransform *iReg=nullptr)=0 |
Rotate an object about the axis. More... | |
virtual bool | IsSame (const MbCreator &other, double accuracy) const =0 |
Determine whether an object is equal? More... | |
virtual bool | IsSimilar (const MbCreator &item) const |
Determine whether an object is similar? More... | |
virtual bool | SetEqual (const MbCreator &)=0 |
Make the objects equal if they are similar. | |
bool | CreateShell (c3d::ShellSPtr &shell, MbeCopyMode sameShell, RPArray< MbSpaceItem > *items=nullptr) |
Create a shell from the initial data. More... | |
virtual bool | CreateWireFrame (MbWireFrame *&frame, MbeCopyMode sameShell, RPArray< MbSpaceItem > *items=nullptr) |
Create a wire-frame from the source data. More... | |
bool | CreateWireFrame (SPtr< MbWireFrame > &frame, MbeCopyMode sameShell) |
Create a wire-frame from the source data. More... | |
virtual bool | CreatePointFrame (MbPointFrame *&frame, MbeCopyMode sameShell, RPArray< MbSpaceItem > *items=nullptr) |
Create a point-frame from the source data. More... | |
bool | CreatePointFrame (SPtr< MbPointFrame > &frame, MbeCopyMode sameShell) |
Create a point-frame from the source data. More... | |
virtual bool | CreateMesh (MbMesh *&mesh, MbeCopyMode sameShell, RPArray< MbSpaceItem > *items=nullptr) |
Create a polygonal object from the source data. More... | |
bool | CreateMesh (SPtr< MbMesh > &mesh, MbeCopyMode sameShell) |
Create a polygonal object from the source data. More... | |
virtual void | GetProperties (MbProperties &) |
Get properties of the object. | |
virtual void | SetProperties (const MbProperties &) |
Set properties of the object. | |
virtual MbePrompt | GetPropertyName ()=0 |
Get a name of object property. | |
virtual void | Refresh (MbFaceShell &) |
Update the shell shape. | |
virtual void | Refresh (MbWireFrame &) |
Update the frame shape. | |
virtual void | GetBasisItems (RPArray< MbSpaceItem > &) |
Get the basis objects. | |
virtual void | GetBasisPoints (MbControlData3D &) const |
Get control points of object. | |
virtual void | SetBasisPoints (const MbControlData3D &) |
Change the object by control points. | |
virtual bool | Perform (MbCreator *) const |
Displace/Change the creator. | |
VERSION | GetYourVersion () const |
Get the object version. | |
const MbSNameMaker & | GetYourNameMaker () const |
Get the name-maker. | |
MbSNameMaker & | SetYourNameMaker () |
Get the object's name-maker for editing. | |
void | SetNameMaker (const MbSNameMaker &n) |
Set the object's name-maker. | |
SimpleName | GetMainName () const |
Get the main name of the object. | |
void | SetMainName (SimpleName n) |
Set the main name of the object. | |
MbeProcessState | GetStatus () const |
Get the flag of state. | |
void | SetStatus (MbeProcessState l) |
Set the flag of state. | |
void | PrepareWrite () const |
Register the object. More... | |
Public Member Functions inherited from MbRefItem | |
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. | |
Public Member Functions inherited from TapeBase | |
TapeBase (RegistrableRec regs=noRegistrable) | |
Constructor. | |
TapeBase (const TapeBase &) | |
Copy-constructor. | |
virtual | ~TapeBase () |
Destructor. | |
RegistrableRec | GetRegistrable () const |
Whether the stream class is registrable. | |
void | SetRegistrable (RegistrableRec regs=registrable) const |
Set the state of registration of the stream class. | |
virtual const char * | GetPureName (const VersionContainer &) const |
Get the class name. | |
virtual bool | IsFamilyRegistrable () const |
Whether the object belongs to a registrable family. | |
Protected Member Functions | |
MbCurveSweptSolid (const MbSNameMaker &operNames, const RPArray< MbSNameMaker > &fNames, OperationType oType, const c3d::CreatorsSPtrVector *creators, bool sameCreators=false) | |
Constructor. More... | |
MbCurveSweptSolid (const MbSNameMaker &operNames, const MbSNameMaker &fNames, OperationType oType) | |
Constructor. More... | |
MbCurveSweptSolid (const MbCurveSweptSolid &init, MbRegDuplicate *) | |
Copy-constructor. | |
void | DeleteCreators () |
Delete internal creators. | |
Protected Member Functions inherited from MbCreator | |
MbCreator (MbSNameMaker *) | |
Constructor by name-maker. | |
MbCreator (const MbSNameMaker &) | |
Constructor by name-maker. | |
MbCreator (const MbCreator &) | |
Copy-constructor. | |
Protected Member Functions inherited from MbRefItem | |
MbRefItem () | |
Constructor without parameters. | |
Protected Attributes | |
RPArray< MbSNameMaker > | faceNames |
An object for naming faces. | |
RPArray< MbCreator > | creators |
Creators of a solid used with option "To the nearest object (solid)". | |
OperationType | operation |
Type of Boolean operation on shells. | |
double | buildSag |
Angular deviation while moving along curves and surfaces. | |
Protected Attributes inherited from MbCreator | |
SPtr< MbSNameMaker > | names |
An object defining the names of elements and objects created by the constructor. | |
MbeProcessState | status |
State of the constructor and of the operation result. | |
Constructor a solid's shell by forming curves.
Constructor a shell of a solid specified by forming curves.
|
protected |
Constructor.
Constructor.
[in] | operNames | - An object defining names generation in the operation. |
[in] | fNames | - An object for naming faces. |
[in] | oType | - A Boolean operation type. |
[in] | creators | - Creators of a solid used with option "To the nearest object (solid)". |
[in] | sameCreators | - Flag of using the original creators. |
|
protected |
Constructor.
Constructor.
[in] | operNames | - An object defining names generation in the operation. |
[in] | fNames | - An object for naming faces. |
[in] | oType | - A Boolean operation type. |
|
overridevirtual |
Create a shell from the initial data.
Construction of a new shell or modification of the given one from the source data according to the constructor.
[in] | shell | - A shell to be modified or a new shell. |
[in] | sameShell | - Whether to perform complete copying of elements while constructing. |
[in] | items | - Container for the elements of not performed constructions (can be nullptr). |
Reimplemented from MbCreator.