C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

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.
 
MbCartPoint3Doperator[] (size_t i) const
 Set point by index.
 
MbControlData3Doperator= (const MbControlData3D &other)
 Assignment operator.
 
bool IsEmpty () const
 Is empty?
 

Detailed Description

The data for three-dimensional object control.

The data consist of three-dimensional control points for object.


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