C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Solid bounding box, matrix of its transformation and identifiers of owners. More...
#include <lump.h>
Public Member Functions | |
MbLumpCube () | |
Empty constructor. | |
MbLumpCube (const MbLumpCube &other) | |
Copy-constructor with the registrator. | |
MbLumpCube (const MbCube &_cube, const MbMatrix3D &_from, uint _comp, size_t _ident) | |
Constructor by data. | |
~MbLumpCube () | |
Destructor. | |
const MbCube & | GetCube () const |
Get solid bounding box. | |
void | SetCube (const MbCube &_cube, const MbMatrix3D &_from) |
Initialize solid and matrix. | |
MbMatrix3D & | SetMatrixFrom () |
Get the matrix of transformation to the world coordinate system. | |
const MbMatrix3D & | GetMatrixFrom () const |
Get the matrix of transformation to the world coordinate system. | |
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. | |
void | SetIdentifier (size_t id) |
Set the thread identifier. | |
Public Member Functions inherited from MbRefItem | |
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 | |
MbCube | cube |
Solid bounding box. | |
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 | |
Protected Member Functions inherited from MbRefItem | |
MbRefItem () | |
Constructor without parameters. | |
Solid bounding box, matrix of its transformation and identifiers of owners.
Solid bounding box, matrix of its transformation from local coordinate system and identifiers of solid owners.