C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844

The array of annotative curves. More...

#include <map_lump.h>

+ Inheritance diagram for MbAnnCurves:
+ Collaboration diagram for MbAnnCurves:

Public Member Functions

 MbAnnCurves (const MbAnnCurves &other, MbRegDuplicate *iReg)
 Copy-constructor with the registrator.
 
 MbAnnCurves (const MbName &_name, uint _comp, size_t _ident, const MbSolid *_solid, const MbMatrix3D &_from)
 Constructor. More...
 
 MbAnnCurves (const MbName &_name, uint _comp, size_t _ident)
 Constructor. More...
 
virtual ~MbAnnCurves ()
 Destructor.
 
virtual MbAnnCurves & Duplicate (MbRegDuplicate *iReg=nullptr) const
 Get a copy of the object.
 
uint GetComponent () const
 Get the component name.
 
size_t GetIdentifier () const
 Get the thread identifier.
 
const MbSolid * GetSolid () const
 Get the pointer to the solid.
 
const MbMatrix3D & GetMatrixFrom () const
 Get the matrix of transformation to the world coordinate system.
 
const MbName & GetName () const
 Get the name of a set of curves.
 
void AbsorbCurve (CurveWType *&wtCurve)
 Take the curve. More...
 
size_t GetCurvesCount () const
 The number of curves in the set.
 
const CurveWType * GetCurve (size_t k) const
 Get the pointer to the curve.
 
- Public Member Functions inherited from MbRefItem
virtual MbeRefType RefType () const
 Registration type (for copying, duplication).
 
void AddRegistrator (MbRegDuplicate *reg) const
 Add the register.
 
void RemoveRegistrator (MbRegDuplicate *reg) const
 Remove the register.
 
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 Member Functions inherited from TapeBase
 TapeBase (RegistrableRec regs=noRegistrable)
 Constructor.
 
 TapeBase (const TapeBase &)
 Copy-constructor.
 
virtual ~TapeBase ()
 Destructor.
 
RegistrableRec GetRegistrable () const
 Whether the stream class is registrable.
 
void SetRegistrable (RegistrableRec regs=registrable) const
 Set the state of registration of the stream class.
 
virtual const char * GetPureName (const VersionContainer &) const
 Get the class name.
 
virtual bool IsFamilyRegistrable () const
 Whether the object belongs to a registrable family.
 

Additional Inherited Members

- Protected Member Functions inherited from MbRefItem
 MbRefItem ()
 Constructor without parameters.
 

Detailed Description

The array of annotative curves.

The array of annotative curves.

Constructor & Destructor Documentation

◆ MbAnnCurves() [1/2]

MbAnnCurves::MbAnnCurves ( const MbName &  _name,
uint  _comp,
size_t  _ident,
const MbSolid *  _solid,
const MbMatrix3D &  _from 
)
inlineexplicit

Constructor.

Constructor of an object with an empty set of curves.

Parameters
[in]_name- A name of a set of curves.
[in]_comp- A component in which a set of curves is defined.
[in]_ident- A thread identifier.
[in]_solid- A threaded solid.
[in]_from- A matrix of transformation to the world coordinate system.

◆ MbAnnCurves() [2/2]

MbAnnCurves::MbAnnCurves ( const MbName &  _name,
uint  _comp,
size_t  _ident 
)
inlineexplicit

Constructor.

Constructor of an object with the empty set of curves, the null solid and the identity matrix.

Parameters
[in]_name- A name of a set of curves.
[in]_comp- A component in which a set of curves is defined.
[in]_ident- A thread identifier.

Member Function Documentation

◆ AbsorbCurve()

void MbAnnCurves::AbsorbCurve ( CurveWType *&  wtCurve)
inline

Take the curve.

Add a curve to the set of curves and reset the pointer.

Parameters
[in,out]wtCurve- A curve.

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