C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
A data for constructing a set of sections and cutaways of shells. More...
#include <map_section.h>
Public Member Functions | |
MbSectionMap () | |
Constructor of an empty object. | |
~MbSectionMap () | |
Destructor. | |
void | ReserveShell (size_t count) |
Reserve a place for shells. More... | |
void | AddShell (MbFaceShell *secShell) |
Add a shell. More... | |
bool | IsEmpty () const |
Whether the object is empty. More... | |
void | SetIndex (ptrdiff_t i) |
Set an index. More... | |
void | GetContoursArray (PArray< MbContour > &arCont) const |
Get the array of contours. More... | |
ptrdiff_t | GetIndex () const |
Get the current index. | |
MbVEFVestiges & | GetSectionMap () |
Mapping. More... | |
PArray< MbCompContourArray > & | GetSectionBounds () |
Disordered set of contours. | |
void | SetEmpty () |
Clean a section view. More... | |
void | SetMessage (MbResultType &type) |
Set a result code. More... | |
MbResultType | GetMessage () const |
Get the result code. More... | |
void | Transform (const MbMatrix &matr) |
Transform. More... | |
template<class Shells > | |
void | DetachShellArray (Shells &shells) |
Detach the array of shells. More... | |
const RPArray< MbFaceShell > & | GetShellArray () const |
Get the array of shells. | |
void | SetAnnObjectStore (ItAnnObjectStore *objStore) |
Set a storage. More... | |
ItAnnObjectStore * | GetAnnObjectStore () const |
Get the storage of annotation objects. | |
RPArray< MbSymbol > * | GetSymbolObjects () const |
Get conventional notations. More... | |
void | SetSymbolObjects (RPArray< MbSymbol > &arInit) |
Add conventional notations. More... | |
ItSymbolObjectStore * | GetSymbolObjectStore () const |
Get the storage of conventional notations. | |
void | SetSymbolObjectStore (ItSymbolObjectStore *objStore) |
Set a storage. More... | |
void | SetSpacePoints (RPArray< MbSpacePoints > &points) |
Add spatial points. More... | |
void | SetSpaceCurves (RPArray< MbSpaceCurves > &curves) |
Add spatial curves. More... | |
bool | IsSpacePoints () const |
Whether any point is in the object. More... | |
bool | IsSpaceCurves () const |
Whether any curve is in an object. More... | |
const RPArray< MbSpacePoints > * | GetSpacePoints () const |
Get spatial points. | |
const RPArray< MbSpaceCurves > * | GetSpaceCurves () const |
Get spatial curves. | |
Protected Attributes | |
MbVEFVestiges & | secMap |
Mapping. A set of vestiges. | |
PArray< MbCompContourArray > | secBounds |
Disordered set of cutting contours. | |
ptrdiff_t | secIndex |
A current index. | |
MbResultType | secMessage |
A result of the construction. | |
RPArray< MbFaceShell > | secShells |
Mapped shells (trimmed). Fill in the end of construction. | |
ItAnnObjectStore * | annObjStore |
A storage of annotation objects. | |
RPArray< MbSymbol > * | symbolObjects |
Conventional notations. | |
ItSymbolObjectStore * | symbolObjStore |
A set of conventional notations. | |
RPArray< MbSpacePoints > * | pointsData |
Spatial points. | |
RPArray< MbSpaceCurves > * | curvesData |
Spatial curves. | |
A data for constructing a set of sections and cutaways of shells.
A data for constructing a set of sections and cutaways of shells.
void MbSectionMap::ReserveShell | ( | size_t | count | ) |
Reserve a place for shells.
Reserve a place for mapping shells.
[in] | count | - A number of places for reservation. |
|
inline |
Add a shell.
Add a shell into the set of shells.
A shell is added even if it is equal to nullptr.
If a shell isn't null it is captured.
[in] | secShell | - A shell. |
bool MbSectionMap::IsEmpty | ( | ) | const |
Whether the object is empty.
Whether the object is empty.
|
inline |
Set an index.
Set an index.
[in] | i | - New index value. |
Get the array of contours.
Add contours of all sets into a given array.
[out] | arCont | - A set of contours. |
|
inline |
Mapping.
Get the set of vestiges.
void MbSectionMap::SetEmpty | ( | ) |
Clean a section view.
Clean arrays of vestiges and sets of contours, release shells and clean the array of shells.
|
inline |
Set a result code.
Set a result code of the construction.
[in] | type | - Operation result code. |
|
inline |
Get the result code.
Get the result code of the construction.
Transform.
Transform the object by a matrix.
[in] | matr | - A transformation matrix. |
|
inline |
Detach the array of shells.
Detach the array of shells and put them into a given array.
[out] | shells | - An array for shells. |
|
inline |
Set a storage.
Set a storage of annotation objects.
Detach the old storage and catch a new one.
[out] | objStore | - A new storage of annotation objects. |
Get conventional notations.
Get the array of conventional notations.
Add conventional notations.
Add the information about conventional notations.
Add the given conventional notations into the array of conventional notations.
[in] | arInit | - Conventional notations. |
|
inline |
Set a storage.
Set a storage of conventional notations.
Detach the old storage and catch a new one.
[out] | objStore | - A new storage of conventional notations. |
void MbSectionMap::SetSpacePoints | ( | RPArray< MbSpacePoints > & | points | ) |
Add spatial points.
Add spatial points.
Add new points into the array of points.
[in] | points | - Points. |
void MbSectionMap::SetSpaceCurves | ( | RPArray< MbSpaceCurves > & | curves | ) |
Add spatial curves.
Add spatial curves.
Add new curves into the array of curves.
[in] | curves | - Curves. |
|
inline |
Whether any point is in the object.
Whether any spatial point is in the object.
|
inline |
Whether any curve is in an object.
Whether any spatial curve is in an object.