C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

The set of arrays which are given after getting of all lines. More...

#include <map_vestige.h>

+ Collaboration diagram for MbVEFVestiges:

Public Member Functions

 MbVEFVestiges ()
 Constructor.
 
 MbVEFVestiges (const MbVEFVestiges &other, MbRegDuplicate *iReg)
 Copy-constructor with the registrator.
 
virtual ~MbVEFVestiges ()
 Destructor.
 
virtual MbVEFVestigesDuplicate (MbRegDuplicate *iReg=nullptr) const
 Create a copy of the object.
 
void SetEmpty ()
 Clear arrays of vestiges.
 
void SetEmptyHard ()
 Clear arrays of vestiges.
 
void Adjust ()
 Adjust memory.
 
bool IsEmpty () const
 Check if arrays of vestiges are empty.
 
void DetachOwn ()
 Change the flag of elements ownership.
 
void VertexVestigesReserve (size_t count)
 Reserve memory for n elements of vertices vestiges.
 
void EdgesVestigesReserve (size_t count)
 Reserve memory for n elements of edges vestiges.
 
void ClearVertexVestiges ()
 Clear arrays of vertices vestiges.
 
void ClearEdgeVestiges ()
 Clear arrays of edges vestiges.
 
void ClearFaceVestiges ()
 Clear arrays of faces vestiges.
 
void ClearAnnotationVestiges ()
 Clear arrays of annotative objects vestiges.
 
void ClearSymbolVestiges ()
 Clear arrays of conventional notations vestiges.
 
void ClearPointVestiges ()
 Clear arrays of spatial points vestiges.
 
void ClearCurveVestiges ()
 Clear arrays of spatial curves vestiges.
 
size_t VertexVestigesCount () const
 Count of vertices vestiges.
 
size_t EdgeVestigesCount () const
 Count of edges vestiges.
 
size_t FaceVestigesCount () const
 Count of faces vestiges.
 
size_t AnnotateVestigesCount () const
 Count of annotative objects vestiges.
 
size_t SymbolVestigesCount () const
 Count of conventional notations vestiges.
 
size_t PointVestigesCount () const
 Count of spatial points vestiges.
 
size_t CurveVestigesCount () const
 Count of spatial curves vestiges.
 
MbVertexVestigeGetVertexVestige (size_t ind) const
 Get pointer to vertex vestige.
 
MbEdgeVestigeGetEdgeVestige (size_t ind) const
 Get pointer to edge vestige.
 
MbFaceVestigeGetFaceVestige (size_t ind) const
 Get pointer to face vestige.
 
MbAnnotationEdgeVestigeGetAnnotationVestige (size_t ind) const
 Get pointer to annotative object vestige.
 
MbSymbolVestigeGetSymbolVestige (size_t ind) const
 Get pointer to conventional notation vestige.
 
MbVertexVestigeGetPointVestige (size_t ind) const
 Get pointer to spatial point vestige.
 
MbEdgeVestigeGetCurveVestige (size_t ind) const
 Get pointer to spatial curve vestige.
 
MbVertexVestigeAddVestigeVertex (uint otherComp, size_t otherIdent, const MbTopologyItem &otherItem, const MbCartPoint &uv, bool vis)
 Add the MbVertexVestige to an array. More...
 
MbVertexVestigeAddVestigePoint (uint otherComp, size_t otherIdent, const MbName &otherName, const MbCartPoint &uv, bool vis, bool isDegeneratedCurve)
 Add the MbVertexVestige to an array. More...
 
MbEdgeVestigeAddVestigeEdge (uint otherComp, size_t otherIdent, const MbTopologyItem &otherItem, bool isSmooth, bool isSection)
 Add the MbEdgeVestige to an array. More...
 
MbEdgeVestigeAddVestigeCurve (uint otherComp, size_t otherIdent, const MbName &otherName, bool isCenterLine=false)
 Add the MbEdgeVestige to an array. More...
 
MbEdgeVestigeAddVestigeCurve (uint otherComp, size_t otherIdent, const RPArray< MbCurve > &mapCurves, bool visible, const MbName &otherName)
 Add the MbEdgeVestige to an array. More...
 
MbFaceVestigeAddVestigeFace (uint otherComp, size_t otherIdent, const MbTopologyItem &otherItem)
 Add the MbFaceVestige to an array. More...
 
MbFaceVestigeAddVestigeFace (uint otherComp, size_t otherIdent, const MbGrid &otherItem)
 Add the MbFaceVestige to an array. More...
 
MbAnnotationEdgeVestigeAddVestigeAnnotationEdge (uint otherComp, size_t otherIdent, const MbTopologyItem *otherItem, const MbName &otherName, MbBaseVestige::Type type, MbBaseVestige::SubType subType)
 Add the MbAnnotationEdgeVestige to an array. More...
 
MbSymbolVestigeAddVestigeSymbol (uint otherComp, size_t otherIdent, const MbTopologyItem *otherItem, const MbName &otherName, bool _bvisible=true)
 Add the MbSymbolVestige to an array. More...
 
void Transform (const MbMatrix &matrix)
 Transform vestiges according to a matrix.
 
void RemoveVertexVestige (size_t ind)
 Delete vertex vestige.
 
void RemoveEdgeVestige (size_t ind)
 Delete edge vestige.
 
void RemoveFaceVestige (size_t ind)
 Delete face vestige.
 
void RemoveAnnotationVestige (size_t ind)
 Delete annotative object vestige.
 
void RemoveSymbolVestige (size_t ind)
 Delete conventional notation vestige.
 
void RemovePointVestige (size_t ind)
 Delete spatial point vestige.
 
void RemoveCurveVestige (size_t ind)
 Delete spatial curve vestige.
 
void AddFrom (const MbVEFVestiges &other)
 Add vestiges from other set.
 
template<class AnnotateVector >
void InitAnnotateVestiges (const AnnotateVector &annotates)
 Initialize annotative objects vestiges.
 
template<class CurveVector >
void InitCurveVestiges (CurveVector &curves)
 Initialize spatial curves vestiges.
 
template<class VertexVector >
void GetVertexVestiges (VertexVector &vertices) const
 Get vertices vestiges.
 
template<class EdgeVector >
void GetEdgeVestiges (EdgeVector &edges) const
 Get edges vestiges.
 
template<class FaceVector >
void GetFaceVestiges (FaceVector &faces) const
 Get faces vestiges.
 
template<class AnnotateVector >
void GetAnnotateVestiges (AnnotateVector &annotates) const
 Get annotative objects vestiges.
 
template<class SymbolVector >
void GetSymbolVestiges (SymbolVector &symbols) const
 Get conventional notations vestiges.
 
template<class PointVector >
void GetPointVestiges (PointVector &points) const
 Get spatial points vestiges.
 
template<class CurveVector >
void GetCurveVestiges (CurveVector &curves) const
 Get spatial curves vestiges.
 

Protected Attributes

PArray< MbVertexVestigevertexVestiges
 Vestiges of vertices.
 
PArray< MbEdgeVestigeedgeVestiges
 Vestiges of edges.
 
PArray< MbFaceVestigefaceVestiges
 Vestiges of faces.
 
PArray< MbAnnotationEdgeVestigeannotateVestiges
 Vestiges of annotative objects.
 
PArray< MbSymbolVestigesymbolVestiges
 Vestiges of a conventional notation.
 
PArray< MbVertexVestigepointVestiges
 Vestiges of spatial points.
 
PArray< MbEdgeVestigecurveVestiges
 Vestiges of spatial curves.
 

Detailed Description

The set of arrays which are given after getting of all lines.

The set of arrays which are given after getting off all solid(s) lines with the separation to visible and invisible.

Member Function Documentation

◆ AddVestigeVertex()

MbVertexVestige * MbVEFVestiges::AddVestigeVertex ( uint  otherComp,
size_t  otherIdent,
const MbTopologyItem otherItem,
const MbCartPoint uv,
bool  vis 
)
inline

Add the MbVertexVestige to an array.

Add the MbVertexVestige to an array by the private constructors.

Parameters
[in]otherComp- A component.
[in]otherIdent- A thread identifier.
[in]otherItem- A topological object.
[in]uv- Point - vertex vestige.
[in]vis- Visibility state.

◆ AddVestigePoint()

MbVertexVestige * MbVEFVestiges::AddVestigePoint ( uint  otherComp,
size_t  otherIdent,
const MbName otherName,
const MbCartPoint uv,
bool  vis,
bool  isDegeneratedCurve 
)
inline

Add the MbVertexVestige to an array.

Add the MbVertexVestige to an array by the private constructors.

Parameters
[in]otherComp- A component.
[in]otherIdent- A thread identifier.
[in]otherName- A name of a topological object.
[in]uv- Point - vestige of a spatial point.
[in]vis- A visibility flag.

◆ AddVestigeEdge()

MbEdgeVestige * MbVEFVestiges::AddVestigeEdge ( uint  otherComp,
size_t  otherIdent,
const MbTopologyItem otherItem,
bool  isSmooth,
bool  isSection 
)
inline

Add the MbEdgeVestige to an array.

Add the MbEdgeVestige to an array by the private constructors.

Parameters
[in]otherComp- A component.
[in]otherIdent- A thread identifier.
[in]otherItem- A topological object.
[in]isSmooth- A type of edge (smooth or not).
[in]isSection- Edge of section.

◆ AddVestigeCurve() [1/2]

MbEdgeVestige * MbVEFVestiges::AddVestigeCurve ( uint  otherComp,
size_t  otherIdent,
const MbName otherName,
bool  isCenterLine = false 
)
inline

Add the MbEdgeVestige to an array.

Add the MbEdgeVestige to an array by the private constructors.

Parameters
[in]otherComp- A component.
[in]otherIdent- A thread identifier.
[in]otherName- A name of a topological object.
[in]isCenterLine- Is curve vestige a center line.

◆ AddVestigeCurve() [2/2]

MbEdgeVestige * MbVEFVestiges::AddVestigeCurve ( uint  otherComp,
size_t  otherIdent,
const RPArray< MbCurve > &  mapCurves,
bool  visible,
const MbName otherName 
)
inline

Add the MbEdgeVestige to an array.

Add the MbEdgeVestige to an array by the private constructors.

Parameters
[in]otherComp- A component.
[in]otherIdent- A thread identifier.
[in]mapCurves- Spatial curve vestiges.
[in]visible- A visibility state.
[in]otherName- A name of a topological object.

◆ AddVestigeFace() [1/2]

MbFaceVestige * MbVEFVestiges::AddVestigeFace ( uint  otherComp,
size_t  otherIdent,
const MbTopologyItem otherItem 
)
inline

Add the MbFaceVestige to an array.

Add the MbFaceVestige to an array by the private constructors.

Parameters
[in]otherComp- A component.
[in]otherIdent- A thread identifier.
[in]otherItem- A topological object.

◆ AddVestigeFace() [2/2]

MbFaceVestige * MbVEFVestiges::AddVestigeFace ( uint  otherComp,
size_t  otherIdent,
const MbGrid otherItem 
)
inline

Add the MbFaceVestige to an array.

Add the MbFaceVestige to an array by the private constructors.

Parameters
[in]otherComp- A component.
[in]otherIdent- A thread identifier.
[in]otherItem- A polygonal object.

◆ AddVestigeAnnotationEdge()

MbAnnotationEdgeVestige * MbVEFVestiges::AddVestigeAnnotationEdge ( uint  otherComp,
size_t  otherIdent,
const MbTopologyItem otherItem,
const MbName otherName,
MbBaseVestige::Type  type,
MbBaseVestige::SubType  subType 
)
inline

Add the MbAnnotationEdgeVestige to an array.

Add the MbAnnotationEdgeVestige to an array by the private constructors.

Parameters
[in]otherComp- A component.
[in]otherIdent- A thread identifier.
[in]otherItem- A topological object.
[in]otherName- A name of a topological object.
[in]type- A subtype of annotative edges.
[in]subType- A subtype of annotative edges.

◆ AddVestigeSymbol()

MbSymbolVestige * MbVEFVestiges::AddVestigeSymbol ( uint  otherComp,
size_t  otherIdent,
const MbTopologyItem otherItem,
const MbName otherName,
bool  _bvisible = true 
)
inline

Add the MbSymbolVestige to an array.

Add the MbSymbolVestige to an array by the private constructors.

Parameters
[in]otherComp- A component.
[in]otherIdent- A thread identifier.
[in]otherItem- A topological object.
[in]otherName- A name.
[in]_bvisible- A visibility attribute.

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