C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Solid with a sing cutting in derive view. More...

#include <map_lump.h>

+ Inheritance diagram for MbCutLump:
+ Collaboration diagram for MbCutLump:

Public Member Functions

 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...
 
- Public Member Functions inherited from MbLump
 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 IsMappingLump () const
 Solid with cutting type?
 
virtual MbLumpDuplicate (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 MbMatrix3DGetMatrixFrom () const
 Get the matrix of transformation to the world coordinate system.
 
MbMatrix3DSetMatrixFrom ()
 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 MbItemGetItem () const
 Get a geometric model object.
 
bool GetChanged () const
 Get component processing flag.
 
void SetChanged (bool c)
 Set component processing flag.
 
- 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.
 

Public Attributes

bool willCutOnDeriveView
 

Additional Inherited Members

- Protected Member Functions inherited from MbRefItem
 MbRefItem ()
 Constructor without parameters.
 
- Protected Attributes inherited from MbLump
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.
 

Detailed Description

Solid with a sing cutting in derive view.

Member Function Documentation

◆ SetCuttingTypeOnDeriveView()

void MbCutLump::SetCuttingTypeOnDeriveView ( bool  cut)
inline

Set type of cutting the solid on derive view.

Set type of cutting the solid on derive view.

Parameters
[in]cut- Cut solid.

Member Data Documentation

◆ willCutOnDeriveView

bool MbCutLump::willCutOnDeriveView

brief Whether it is necessary to cut solid in a derive view (a local view, a detail view, the local cutaway/section) or not?


The documentation for this struct was generated from the following file: