C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

The set of solids projections. More...

#include <map_implementation.h>

Public Member Functions

 MbMapBodiesPArray ()
 Constructor of an object with an empty set of solids.
 
 ~MbMapBodiesPArray ()
 Destructor.
 
size_t MapBodiesCount () const
 The number of projected solids.
 
MbMapBody * _SetMapBody (size_t index) const
 Get a solid. More...
 
const MbMapBody * _GetMapBody (size_t index) const
 Get a solid. More...
 
MbResultType CreateFirst (const RPArray< MbLump > &lumps, const MbMatrix3D &into, double znear, bool perspective, const MbMapVisibilityMode &visMode, VERSION version, const std::vector< MbLumpCube > *prevCubes=nullptr)
 The construction of associative projections. More...
 
void GetVestiges (MbVEFVestiges &vestiges, const MbMapVisibilityMode &visMode, const MbMatrix3D &into, double znear, bool perspective, PArraySort< MbSimbolthThreadView > *annotations, RPArray< MbSpacePoints > *pointsData, RPArray< MbSpaceCurves > *curvesData, RPArray< MbSymbol > *symbolObjects, bool merge=true)
 The construction of associative projections. More...
 
void GetVestiges (PArray< MbPolygon3DSolid > &arVL, PArray< MbPolygon3DSolid > &arHL, PArray< MbPolygon3DSolid > &arVT, PArray< MbPolygon3DSolid > &arHT, double sag, PArraySort< MbSimbolthThreadView > *annotations, const MbPlacement3D &place, const MbMatrix3D &into)
 Calculate polygons of lines. More...
 

Detailed Description

The set of solids projections.

The set of solids projections.
Contains a set of projected solids.

Member Function Documentation

◆ _SetMapBody()

MbMapBody* MbMapBodiesPArray::_SetMapBody ( size_t  index) const
inline

Get a solid.

Get a solid by an index. Without index checking.

Parameters
[in]index- A solid index.

◆ _GetMapBody()

const MbMapBody* MbMapBodiesPArray::_GetMapBody ( size_t  index) const
inline

Get a solid.

Get a solid by an index. Without index checking.

Parameters
[in]index- A solid index.

◆ CreateFirst()

MbResultType MbMapBodiesPArray::CreateFirst ( const RPArray< MbLump > &  lumps,
const MbMatrix3D into,
double  znear,
bool  perspective,
const MbMapVisibilityMode visMode,
VERSION  version,
const std::vector< MbLumpCube > *  prevCubes = nullptr 
)

The construction of associative projections.

The construction of associative projections. The first part.

Parameters
[in]lumps- A set of solids for projection.
[in]into- A matrix of translation to the local coordinate system.
[in]znear- A parameter of perspective mapping. Set to be equal to 0.0.
[in]perspective- An attribute of perspective mapping. Set to be equal to false.
[in]visMode- An attribute of invisible lines projection.
[in]version- The version of construction of drawing. Set the Math::DefaultMathVersion() version.
[in]prevCubes- Bounding boxes of solids before changes.
Warning
For internal use only.

◆ GetVestiges() [1/2]

void MbMapBodiesPArray::GetVestiges ( MbVEFVestiges vestiges,
const MbMapVisibilityMode visMode,
const MbMatrix3D into,
double  znear,
bool  perspective,
PArraySort< MbSimbolthThreadView > *  annotations,
RPArray< MbSpacePoints > *  pointsData,
RPArray< MbSpaceCurves > *  curvesData,
RPArray< MbSymbol > *  symbolObjects,
bool  merge = true 
)

The construction of associative projections.

The construction of associative projections. The second part.

The construction of projections and filling the vestiges.

Parameters
[out]vestiges- The result is a set of vestiges of projected objects.
[in]visMode- An attribute of the invisible lines projection.
[in]into- A matrix of translation to the local coordinate system.
[in]znear- A parameter of perspective mapping. Set to be equal to 0.0.
[in]perspective- An attribute of perspective mapping. Set to be equal to false.
[in]annotations- A set of annotation objects.
[in]pointsData- A set of spatial points.
[in]curvesData- A set of spatial curves.
[in]symbolObjects- A set of conventional notations.
[in]merge- Murge same curves (true default).
Warning
For internal use only.

◆ GetVestiges() [2/2]

void MbMapBodiesPArray::GetVestiges ( PArray< MbPolygon3DSolid > &  arVL,
PArray< MbPolygon3DSolid > &  arHL,
PArray< MbPolygon3DSolid > &  arVT,
PArray< MbPolygon3DSolid > &  arHT,
double  sag,
PArraySort< MbSimbolthThreadView > *  annotations,
const MbPlacement3D place,
const MbMatrix3D into 
)

Calculate polygons of lines.

Calculate polygons of visible and invisible lines for assembly.

Parameters
[out]arVL- Polygons of visible lines of edges.
[out]arHL- Polygons of invisible lines of edges.
[out]arVT- Polygons of visible lines of smooth edges.
[out]arHT- Polygons of invisible lines of smooth edges.
[in]sag- An angular tolerance.
[in]annotations- A set of annotation objects.
[in]place- A projection plane.
[in]into- A matrix of translation to the local coordinate system.
Warning
For internal use only.

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