|
C3D Toolkit
Kernel - 118069, Vision - 2.16.7.1844
|
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 MbCurveVestige & | Duplicate (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 MbCurve * | MergeTotalMap (MbMapSpaceCurveType spaceCurveGeomType) |
| Merge total projection. | |
| const MbCurve * | UpdateTotalMap (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? | |
| MbCurve * | DetachTotalProjection () |
| The pointer to a full projection. | |
| void | SetTotalProjection (MbCurve &) |
| Set a full projection. | |
| const MbCurve * | GetFullProjection () const |
| The pointer to a full projection. | |
| MbCurve * | DetachFullProjection () |
| 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< MbCurve > | totalPrj |
| 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. | |
The information about a curve vestige.
The information about a curve vestige.
For including to the edge vestige (MbVestigeEdge) and face vestige (MbVestigeEdge).
|
inline |
Constructor.
Default constructor.
Creates an object with the null projection.
|
inline |
Clear projections.
Clear projections.
Clears the list of projections in the arToral, resets the totalPrj, arVisPrj, arHidPrj.
Add a part of projection.
Add a new part of the general projection which has a visibility attribute.
| [in] | segment | - A projection part. |
| [in] | visible | - A visibility attribute. |
Add copy of a part of projection.
Add copy of a new part of the general projection which has a visibility attribute.
| [in] | segment | - A projection part. |
| [in] | visible | - A visibility attribute. |
| bool MbCurveVestige::PickUpMapCurves | ( | RPArray< MbCurve > & | crvArr, |
| c3d::BoolVector & | visArr | ||
| ) |
Pick up all curves.
Pick up all curves of this structure and clear it.
|
protected |
All projections in an ordered form.