C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
The parameters of object scaling. More...
#include <op_shell_parameter.h>
Public Member Functions | |
TransformValues () | |
Default constructor. | |
TransformValues (const MbMatrix3D &m) | |
Constructor by matrix. | |
TransformValues (const MbMatrix3D &m, const MbCartPoint3D &f, bool fix=false, bool iso=false) | |
Constructor by matrix and fixed point of transformation. | |
TransformValues (double sX, double sY, double sZ, const MbCartPoint3D &fP) | |
Constructor by fixed point of transformation and axes scale. | |
TransformValues (const TransformValues &other) | |
Constructor. | |
~TransformValues () | |
Destructor. | |
void | Init (const TransformValues &other) |
Initialization function. | |
TransformValues & | operator= (const TransformValues &other) |
Assignment operator. | |
const MbMatrix3D & | GetMatrix () const |
Get a transformation matrix for use. | |
const MbCartPoint3D & | GetFixedPoint () const |
A fixed point of transformation for use. | |
bool | IsFixed () const |
Is fixed point use? | |
bool | Isisotropy () const |
Is the isotropic scaling? | |
MbMatrix3D & | SetMatrix () |
Get a transformation matrix for modify. | |
MbCartPoint3D & | SetFixedPoint () |
A fixed point of transformation for modify. | |
void | SetFixed (bool b) |
Use fixed point of transformation. | |
void | SetIsotropy (bool b) |
Use the same axes scaling. | |
bool | IsUsingFixed () const |
Whether the fixed point of transformation is used? | |
bool | IsIsotropy () const |
Whether the transformation is isotropic? | |
bool | CalculateFixedPoint () |
Calculate a fixed point of transformation. | |
void | Transform (const MbMatrix3D &matr) |
Transform an object according to the matrix. | |
void | Move (const MbVector3D &to) |
Move an object along a vector. | |
void | Rotate (const MbAxis3D &axis, double ang) |
Rotate an object at a given angle around an axis. | |
bool | IsSame (const TransformValues &other, double accuracy) const |
Determine whether an object is equal? | |
Protected Attributes | |
MbMatrix3D | matrix |
A transformation matrix. | |
MbCartPoint3D | fixedPoint |
A fixed point of transformation. (It is used if useFixed = true). | |
bool | useFixed |
Use fixed point of transformation (if true). | |
bool | isotropy |
Use the same axes scaling (if true). | |
The parameters of object scaling.
Object scaling is performed by the transformation matrix.