A solid or a set of solids which are defined in a coordinate system with an attribute of cutting in sections and cutaways.
More...
|
| MbMappingLumps (const MbSolid &_solid, const MbMatrix3D &_from, bool _willCut, uint _comp=0, size_t _ident=SYS_MAX_T) |
| Constructor by data. More...
|
|
template<class LumpsVector > |
| MbMappingLumps (const LumpsVector &_lumps) |
| Constructor by data. More...
|
|
virtual | ~MbMappingLumps () |
| Destructor.
|
|
size_t | Count () const |
| The number of solids. More...
|
|
MbLump * | operator[] (size_t ind) |
| A solid by an index. More...
|
|
const MbLump * | operator[] (size_t ind) const |
| A solid by an index. More...
|
|
virtual bool | IsBaseLump () const |
| Whether it is the basic object or not. More...
|
|
virtual bool | IsMappingLump () const |
| Solid with cutting type?
|
|
void | SetCuttingType (bool cut) |
| Set type of cutting the solid. More...
|
|
bool | WillCut () const |
| Type of cutting the solid. More...
|
|
| MbCutLump () |
| Empty constructor.
|
|
| MbCutLump (const MbSolid &_solid, const MbMatrix3D &_from, uint _comp=0, size_t _ident=SYS_MAX_T) |
| Constructor by data.
|
|
virtual | ~MbCutLump () |
| Destructor.
|
|
virtual bool | IsCutLump () const |
| Solid with cutting type on base view?
|
|
virtual bool | WillCutOnDeriveView () const |
| Cut solid on derive view.
|
|
void | SetCuttingTypeOnDeriveView (bool cut) |
| Set type of cutting the solid on derive view. More...
|
|
| 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 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.
|
|
A solid or a set of solids which are defined in a coordinate system with an attribute of cutting in sections and cutaways.
A solid or a set of solids which are defined in a coordinate system with an attribute of cutting in sections and cutaways.
- When constructing the cutaways:
1) if willCut = true the cutaway of solids is built;
2) if willCut = false the full view of solids is built;
- When constructing the sections:
1) if willCut = true the cutaway of solids is built;
2) if willCut = false the solids are not considered in the result of the construction.
The MbMappingLumps is an inheritor of the MbLump object and contains the pointer to a container of MbLump objects.
If the object contains one solid with a matrix the lumps array is empty.
If the "do not cut" flag is in cutaway or section on subassembly all solids of subassembly are in the same MbMappingLumps object with common flag of cutaway. In this case the first solid with a matrix is in the basic MbLump and the others are in the container of MbLump objects.