C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Solid, matrix of its transformation and identifiers of owners. More...
#include <lump.h>
Public Member Functions | |
MbLump () | |
Empty constructor. | |
MbLump (const MbSolid &solid, const MbMatrix3D &from, uint comp=0, size_t ident=SYS_MAX_T, bool changed=true) | |
Constructor by solid. | |
MbLump (const MbMesh &mesh, const MbMatrix3D &from, uint comp=0, size_t ident=SYS_MAX_T, bool changed=true) | |
Constructor by polygonal object. | |
virtual | ~MbLump () |
Destructor. | |
virtual bool | IsBaseLump () const |
Whether the solid is basic. | |
virtual bool | IsCutLump () const |
Solid with cutting type on derive view? | |
virtual bool | IsMappingLump () const |
Solid with cutting type? | |
virtual bool | WillCutOnDeriveView () const |
Cut solid on derive view. | |
virtual MbLump & | Duplicate (MbRegDuplicate *iReg=nullptr) const |
Duplication of an object. | |
uint | GetComponent () const |
Get the name of a component. | |
void | SetComponent (uint comp) |
Set the name of a component. | |
size_t | GetIdentifier () const |
Get the thread identifier. | |
bool | IsIdentifier () const |
Is an thread identifier. | |
void | SetIdentifier (size_t id) |
Set the thread identifier. | |
const MbMatrix3D & | GetMatrixFrom () const |
Get the matrix of transformation to the world coordinate system. | |
MbMatrix3D & | SetMatrixFrom () |
Get the matrix of transformation to the world coordinate system. | |
void | SetSolid (const MbSolid &solid, const MbMatrix3D &from, bool changed=true) |
Initialize solid and matrix. | |
void | SetMesh (const MbMesh &mesh, const MbMatrix3D &from, bool changed=true) |
Initialize solid and matrix. | |
const MbItem & | GetItem () const |
Get a geometric model object. | |
bool | GetChanged () const |
Get component processing flag. | |
void | SetChanged (bool c) |
Set component processing flag. | |
![]() | |
virtual MbeRefType | RefType () const |
Registration type (for copying, duplication). | |
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. | |
Protected Attributes | |
c3d::ConstItemSPtr | _item |
A geometric model object (always not nullptr). | |
MbMatrix3D | _from |
A transformation matrix from the local coordinate system. | |
uint | _component |
An identifier of a component which a solid is defined in. | |
size_t | _identifier |
A thread identifier. | |
Additional Inherited Members | |
![]() | |
MbRefItem () | |
Constructor without parameters. | |
Solid, matrix of its transformation and identifiers of owners.
Solid, matrix of its transformation from local coordinate system and identifiers of solid owners.