C3D Toolkit
Kernel - 117958, Vision - 2.7.6.12
|
The data for three-dimensional object control. More...
#include <mb_data.h>
Public Member Functions | |
MbControlData3D () | |
Empty constructor. | |
MbControlData3D (const MbControlData3D &other) | |
Copy-constructor. | |
~MbControlData3D () | |
Destructor. | |
void | ReserveTotal (size_t c) |
Size reserve. | |
void | ReserveShare (size_t c) |
Size reserve. | |
void | AddTotal (const MbCartPoint3D &p) |
Add a point conveyed along. | |
template<class PointsVector > | |
void | AddTotals (const PointsVector &points) |
Add points. | |
void | AddShare (const MbCartPoint3D &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 (MbCartPoint3D &p) const |
Get current point for totalIndex++. | |
bool | GetShare (MbCartPoint3D &p) const |
Get current point for shareIndex++. | |
bool | GetTotal (size_t i, MbCartPoint3D &p) const |
Get point by index conveyed along. | |
bool | GetShare (size_t i, MbCartPoint3D &p) const |
Get point by index. | |
size_t | Count () const |
Get all points count. | |
bool | GetPoint (size_t i, MbCartPoint3D &p) const |
Get point by index conveyed along. | |
bool | SetPoint (size_t i, MbCartPoint3D &p) |
Set point by index conveyed along. | |
SArray< MbCartPoint3D > & | SetTotalPoints () |
Get points. | |
SArray< MbCartPoint3D > & | SetSharePoints () |
Get points. | |
void | HardFlush () |
Free memory. | |
void | Transform (const MbMatrix3D &matrix) |
Transform according to the matrix. | |
void | Move (const MbVector3D &to) |
Translate along a vector. | |
void | Rotate (const MbAxis3D &axis, double angle) |
Rotate around an axis. | |
MbCartPoint3D & | operator[] (size_t i) const |
Set point by index. | |
MbControlData3D & | operator= (const MbControlData3D &other) |
Assignment operator. | |
bool | IsEmpty () const |
Is empty? | |
The data for three-dimensional object control.
The data consist of three-dimensional control points for object.