C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

The information about a curve vestige. More...

#include <map_vestige.h>

+ Inheritance diagram for MbCurveVestige:
+ Collaboration diagram for MbCurveVestige:

Public Member Functions

 MbCurveVestige ()
 Constructor. More...
 
 MbCurveVestige (const MbCurveVestige &other, MbRegDuplicate *iReg)
 Copy-constructor with the registrator.
 
virtual ~MbCurveVestige ()
 Destructor.
 
virtual MbCurveVestigeDuplicate (MbRegDuplicate *iReg=nullptr) const
 Create a copy of the object.
 
void ClearAll ()
 Clear projections. More...
 
bool IsEmpty () const
 Is an empty curve vestige?
 
size_t GetVisiblePartsCount () const
 The number of visible parts of the projection.
 
size_t GetHiddenPartsCount () const
 The number of hidden parts of the projection.
 
size_t GetAllPartsCount () const
 The number of all parts of the projection.
 
bool IsVisibleCurvesArray () const
 Is the array for visible parts of the projection created?
 
bool IsHiddenCurvesArray () const
 Is the array for hidden parts of the projection created?
 
const MbCurve_GetVisibleCurve (size_t k) const
 Get visible part of projection.
 
const MbCurve_GetHiddenCurve (size_t k) const
 Get hidden part of projection.
 
template<class Curves >
void GetVisibleCurves (Curves &dst) const
 Put pointers of visible parts of projection into the array.
 
template<class Curves >
void GetHiddenCurves (Curves &dst) const
 Put pointers of hidden parts of projection into the array.
 
void AddYourGabaritTo (MbRect &) const
 Add your own bounding box into the sent bounding box.
 
void Transform (const MbMatrix &)
 The transformation according to a matrix.
 
void AddSegment (MbCurve &segment, bool visible)
 Add a part of projection. More...
 
void AddSegmentCopy (const MbCurve &segment, bool visible)
 Add copy of a part of projection. More...
 
bool PickUpMapCurves (RPArray< MbCurve > &crvArr, c3d::BoolVector &visArr)
 Pick up all curves. More...
 
MbCurve_PickupVisibleCurve (size_t)
 Pick up visible part of projection (it doesn't set zero in all projections array).
 
MbCurve_PickupHiddenCurve (size_t)
 Pick up hidden part of projection (it doesn't set zero in all projections array).
 
bool EatupOther (MbCurveVestige &)
 Absorb data of this structure and clear it.
 
void DetachAllCurves (PArray< MbCurve > *&visCurves, PArray< MbCurve > *&hidCurves, SPtr< MbCurve > &totalPrj)
 Detach all curves of this structure and clear it.
 
const MbCurveMergeTotalMap (MbMapSpaceCurveType spaceCurveGeomType)
 Merge total projection.
 
const MbCurveUpdateTotalMap (MbMapSpaceCurveType spaceCurveGeomType)
 Update total projection.
 
bool RepairSpecificCorrespondence (bool uncertainIsVisible)
 Repair correspondence between total projection and parts of the projection.
 
bool IsTotalProjection () const
 Is there a pointer to the full projection?
 
MbCurveDetachTotalProjection ()
 The pointer to a full projection.
 
void SetTotalProjection (MbCurve &)
 Set a full projection.
 
const MbCurveGetFullProjection () const
 The pointer to a full projection.
 
MbCurveDetachFullProjection ()
 Set to null the pointer to a full projection.
 
- 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.
 

Protected Attributes

SPtr< MbCurvetotalPrj
 A full projection (can be nullptr).
 
std::vector< MbCurve * > arTotal
 All projections in an ordered form. More...
 
TPointer< PArray< MbCurve > > arVisPrj
 Visible projections.
 
TPointer< PArray< MbCurve > > arHidPrj
 Invisible projections.
 

Detailed Description

The information about a curve vestige.

The information about a curve vestige.
For including to the edge vestige (MbVestigeEdge) and face vestige (MbVestigeEdge).

Constructor & Destructor Documentation

◆ MbCurveVestige()

MbCurveVestige::MbCurveVestige ( )
inline

Constructor.

Default constructor.

Creates an object with the null projection.

Member Function Documentation

◆ ClearAll()

void MbCurveVestige::ClearAll ( )
inline

Clear projections.

Clear projections.

Clears the list of projections in the arToral, resets the totalPrj, arVisPrj, arHidPrj.

◆ AddSegment()

void MbCurveVestige::AddSegment ( MbCurve segment,
bool  visible 
)

Add a part of projection.

Add a new part of the general projection which has a visibility attribute.

Parameters
[in]segment- A projection part.
[in]visible- A visibility attribute.

◆ AddSegmentCopy()

void MbCurveVestige::AddSegmentCopy ( const MbCurve segment,
bool  visible 
)

Add copy of a part of projection.

Add copy of a new part of the general projection which has a visibility attribute.

Parameters
[in]segment- A projection part.
[in]visible- A visibility attribute.

◆ PickUpMapCurves()

bool MbCurveVestige::PickUpMapCurves ( RPArray< MbCurve > &  crvArr,
c3d::BoolVector visArr 
)

Pick up all curves.

Pick up all curves of this structure and clear it.

Member Data Documentation

◆ arTotal

std::vector<MbCurve *> MbCurveVestige::arTotal
protected

All projections in an ordered form.



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