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... | |
The set of solids projections.
The set of solids projections.
Contains a set of projected solids.
|
inline |
Get a solid.
Get a solid by an index. Without index checking.
[in] | index | - A solid index. |
|
inline |
Get a solid.
Get a solid by an index. Without index checking.
[in] | index | - A solid index. |
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.
[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. |
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.
[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). |
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.
[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. |