C3D Toolkit
Kernel - 117969, Vision - 2.8.1.4
|
Constructor of changing a fair curve. More...
#include <cr_fair_curve.h>
Public Member Functions | |
MbFireChangeCreator (const MbCurve3D &curve, const MbFairCurveMethod &method, const MbFairChangeData ¶ms, const MbSNameMaker &nm) | |
Constructor by parameters. | |
~MbFireChangeCreator () override | |
Destructor. | |
MbeCreatorType | IsA () const override |
Get the object type. | |
MbCreator & | Duplicate (MbRegDuplicate *iReg=nullptr) const override |
Create a copy of the object. More... | |
bool | IsSame (const MbCreator &, double accuracy) const override |
Determine whether an object is equal? More... | |
bool | IsSimilar (const MbCreator &) const override |
Determine whether an object is similar? More... | |
bool | SetEqual (const MbCreator &) override |
Make the objects equal if they are similar. | |
MbePrompt | GetPropertyName () override |
Get a name of object property. | |
void | GetProperties (MbProperties &) override |
Get properties of the object. | |
void | SetProperties (const MbProperties &) override |
Set properties of the object. | |
bool | CreateWireFrame (MbWireFrame *&, MbeCopyMode, RPArray< MbSpaceItem > *) override |
Create a wire-frame from the source data. More... | |
![]() | |
~MbFireCreator () override | |
Destructor. | |
void | Transform (const MbMatrix3D &, MbRegTransform *=nullptr) override |
Transform according to the matrix. More... | |
void | Move (const MbVector3D &, MbRegTransform *=nullptr) override |
Translate along a vector. More... | |
void | Rotate (const MbAxis3D &, double angle, MbRegTransform *=nullptr) override |
Rotate an object about the axis. More... | |
![]() | |
virtual | ~MbCreator () |
Destructor. | |
MbeRefType | RefType () const override |
Get the registration type (for copying, duplication). | |
virtual MbeCreatorType | Type () const |
Get the group type of the object. | |
virtual bool | CreateShell (MbFaceShell *&shell, MbeCopyMode sameShell, RPArray< MbSpaceItem > *items=nullptr) |
Create a shell from the initial data. More... | |
bool | CreateShell (c3d::ShellSPtr &shell, MbeCopyMode sameShell, RPArray< MbSpaceItem > *items=nullptr) |
Create a shell from the initial 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 | 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 size_t | GetCreatorsCount (MbeCreatorType ct) const |
Count internal creators by type. | |
virtual bool | GetInternalCreators (MbeCreatorType, c3d::ConstCreatorsSPtrVector &) const |
Get internal creators by type. | |
virtual bool | SetInternalCreators (MbeCreatorType, c3d::CreatorsSPtrVector &) |
Get internal creators by type. | |
virtual bool | Perform (MbCreator *) const |
Displace/Change the creator. | |
virtual void | SetYourVersion (VERSION version, bool forAll) |
Set the objects version. | |
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... | |
![]() | |
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. | |
![]() | |
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 | |
MbFireChangeCreator (const MbFireChangeCreator &, MbRegDuplicate *iReg) | |
Copy-constructor. | |
![]() | |
MbFireCreator (const MbFireCreator &, MbRegDuplicate *) | |
Copy-constructor. | |
MbFireCreator (const MbCurve3D &curve, const MbFairCurveMethod &method, const MbSNameMaker &nm) | |
Constructor by parameters. | |
![]() | |
MbCreator (MbSNameMaker *) | |
Constructor by name-maker. | |
MbCreator (const MbSNameMaker &) | |
Constructor by name-maker. | |
MbCreator (const MbCreator &) | |
Copy-constructor. | |
![]() | |
MbRefItem () | |
Constructor without parameters. | |
Additional Inherited Members | |
![]() | |
c3d::SpaceCurveSPtr | _initCurve |
An initial curve. | |
MbFairCurveMethod | _method |
Method of a curve construction. | |
![]() | |
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 of changing a fair curve.
Constructor of fair curve.
|
overridevirtual |
Create a copy of the object.
Create a copy of the object using the registrator. The registrator is used to prevent multiple copying of an object. If the object contains references to other objects, then the included objects are copied too. It is allowed not to pass the registrator to a function. Then the new copy of the object will be created. It is allowed not to use the registrator while copying a single object or a set of disconnected objects. The registrator must be used to copy several correlated objects successively. It is possible that the relation between objects means that the objects contain references on the common objects. Then, while copying without using the registrator, one can get a set of copies which contain references to the different copies of a single embedded object, what leads to loss of relationship between the copies.
[in] | iReg | - Registrator. |
Implements MbCreator.
|
overridevirtual |
Determine whether an object is equal?
Still considered objects of the same type, all data is the same (equal).
[in] | other | - The object to compare. |
[in] | accuracy | - The accuracy to compare. |
Implements MbCreator.
|
overridevirtual |
Determine whether an object is similar?
Such are considered the same objects whose data are similar.
[in] | item | - The object to compare. |
Reimplemented from MbCreator.
|
overridevirtual |
Create a wire-frame from the source data.
Construction of a new frame (of curves) or modification of the given one from the source data according to the constructor.
[in] | frame | - A frame to be modified or a new frame. |
[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.