|
C3D Toolkit
Kernel - 118058, Vision - 2.15.0.1823
|
The history tree of object. More...
#include <creator_transaction.h>
Inheritance diagram for MbTransactions:Public Member Functions | |
| MbTransactions () | |
| Constructor without parameters. | |
| template<class Creators > | |
| MbTransactions (const Creators &creators) | |
| Constructor by creators. | |
| virtual | ~MbTransactions () |
| Destructor. | |
| virtual bool | RebuildItem (MbeCopyMode sameShell, RPArray< MbSpaceItem > *items, IProgressIndicator *progInd) |
| Reconstruct object according to the history tree. | |
| void | CreatorsCopy (MbTransactions &other, MbRegDuplicate *iReg=nullptr) const |
| Clear the given history tree and copy the creators to it. | |
| void | CreatorsAssign (const MbTransactions &other) |
| Clear the history tree and copy the creators from the given history tree to it. | |
| bool | SetCreatorsEqual (const MbTransactions &other) |
| Make the creators equal to the creators from the given history tree if the creators are similar. | |
| bool | IsCreatorsSimilar (const MbTransactions &other) const |
| Check whether the corresponding creators of the given history tree are similar. | |
| void | CreatorsTransform (const MbMatrix3D &, MbRegTransform *=nullptr) |
| Transform the creators according to the matrix. | |
| void | CreatorsMove (const MbVector3D &, MbRegTransform *=nullptr) |
| Move creators along the vector. | |
| void | CreatorsRotate (const MbAxis3D &, double angle, MbRegTransform *=nullptr) |
| Rotate the creators about the axis by the given angle. | |
| size_t | GetCreatorsCount () const |
| Get the creators count. | |
| void | Reserve (size_t count) |
| Reserve space for creators. | |
| const MbCreator * | GetCreator (size_t ind) const |
| Get constructor by its index. | |
| MbCreator * | SetCreator (size_t ind) |
| Get constructor by its index with possibility of editing. | |
| virtual bool | GetCreators (RPArray< MbCreator > &) const |
| Add your own creators to the given array. | |
| virtual bool | GetCreators (c3d::CreatorsSPtrVector &) const |
| Add your own creators to the given array. | |
| template<class CreatorsVector > | |
| bool | GetCreatorsCopies (CreatorsVector &creators, MbRegDuplicate *iReg) const |
| Add copies of your own creators to the given array. | |
| size_t | FindCreator (const MbCreator *creator) |
| Find the number of creators in the history tree or return SYS_MAX_T if it is absent. | |
| bool | AddCreator (const MbCreator &, bool addSame=false) |
| Add the constructor (addSame = false) or its copy (addSame = true) to the history tree. | |
| bool | AddCreator (const MbCreator *, bool addSame=false) |
| Add the constructor (addSame = false) or its copy (addSame = true) to the history tree. | |
| template<class CreatorsVector > | |
| void | AddCreators (const CreatorsVector &creators) |
| Add creators to the history tree. | |
| MbCreator * | DetachCreator (size_t ind) |
| Remove the constructor with the specified index from the history tree and return it. | |
| bool | DeleteCreator (size_t ind) |
| Delete the constructor with the specified index and remove it from the history tree. | |
| void | DeleteCreators () |
| Delete all the creators and clear the history tree. | |
| int | GetCreatorStatus (size_t ind) const |
| Get the status of creator with the specified index. | |
| bool | SetCreatorStatus (size_t ind, MbeProcessState) |
| Set status to creator with the specified index. | |
| size_t | GetActiveCreatorsCount () const |
| Get the active creators count. | |
| bool | SetActiveCreatorsCount (size_t activeCount) |
| Set the count of active creators from the beginning to the given index. | |
| void | BreakCreatorsToBasisItem (size_t c, RPArray< MbSpaceItem > &) |
| Get the object created by the specified number of creators and the basis items of the other creators. | |
| void | GetCreatorsBasisItems (RPArray< MbSpaceItem > &) |
| Get the basis items of the creators. | |
| void | GetCreatorsBasisPoints (MbControlData3D &) const |
| Get the basis points of the creators. | |
| void | SetCreatorsBasisPoints (const MbControlData3D &) |
| Change the object by control points. | |
| void | GetProperties (MbProperties &, bool sameCreators=false) |
| Get properties of the creators (using original creators or their copies). | |
| void | SetProperties (const MbProperties &) |
| Set properties of the creators. | |
| void | CreatorsRead (reader &in) |
| Read creators from the stream. | |
| void | CreatorsWrite (writer &out) const |
| Write creators to the stream. | |
Protected Member Functions | |
| MbTransactions (const MbTransactions &, MbRegDuplicate *iReg) | |
| Copy-constructor with registrator. | |
The history tree of object.
The history tree contains an ordered set of creators whose successive work creates the objects.
Inactive creators (with state mps_Skip) are not used in the object construction.