|
C3D Toolkit
Kernel - 118057, Vision - 2.14.7.1821
|
The data for two-dimensional object control. More...
#include <mb_data.h>
Public Member Functions | |
| MbControlData () | |
| Empty constructor. | |
| MbControlData (const MbControlData &other) | |
| Copy-constructor. | |
| ~MbControlData () | |
| Destructor. | |
| void | ReserveTotal (size_t c) |
| Size reserve. | |
| void | ReserveShare (size_t c) |
| Size reserve. | |
| void | AddTotal (const MbCartPoint &p) |
| Add a point conveyed along. | |
| template<class PointsVector > | |
| void | AddTotals (const PointsVector &points) |
| Add points. | |
| void | AddShare (const MbCartPoint &p) |
| Add a point. | |
| template<class PointsVector > | |
| void | AddShares (const PointsVector &points) |
| Add points. | |
| size_t | TotalCount () const |
| Get points count conveyed along. | |
| size_t | ShareCount () const |
| Get points count. | |
| void | ResetIndex () const |
| Reset index. | |
| bool | GetTotal (MbCartPoint &p) const |
| Get current point for totalIndex++. | |
| bool | GetShare (MbCartPoint &p) const |
| Get current point for shareIndex++. | |
| bool | GetTotal (size_t i, MbCartPoint &p) const |
| Get point by index conveyed along. | |
| bool | GetShare (size_t i, MbCartPoint &p) const |
| Get point by index. | |
| size_t | Count () const |
| Get all points count. | |
| bool | GetPoint (size_t i, MbCartPoint &p) const |
| Get point by index conveyed along. | |
| bool | SetPoint (size_t i, MbCartPoint &p) |
| Set point by index conveyed along. | |
| SArray< MbCartPoint > & | SetTotalPoints () |
| Get points. | |
| SArray< MbCartPoint > & | SetSharePoints () |
| Get points. | |
| void | HardFlush () |
| Free memory. | |
| void | Transform (const MbMatrix &matrix) |
| Transform according to the matrix. | |
| void | Move (const MbVector &to) |
| Translate along a vector. | |
| void | Rotate (const MbCartPoint &point, double angle) |
| Rotate around a point. | |
| MbCartPoint & | operator[] (size_t i) const |
| Set point by index. | |
| MbControlData & | operator= (const MbControlData &other) |
| Assignment operator. | |
| bool | IsEmpty () const |
| Is empty? | |
The data for two-dimensional object control.
The data consist of two-dimensional control points for object.