C3D Toolkit  Kernel - 117982, Vision -

The parameters of object scaling. More...

#include <op_shell_parameter.h>

+ Collaboration diagram for TransformValues:

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)
 ~TransformValues ()
void Init (const TransformValues &other)
 Initialization function.
TransformValuesoperator= (const TransformValues &other)
 Assignment operator.
const MbMatrix3DGetMatrix () const
 Get a transformation matrix for use.
const MbCartPoint3DGetFixedPoint () const
 A fixed point of transformation for use.
bool IsFixed () const
 Is fixed point use?
bool Isisotropy () const
 Is the isotropic scaling?
MbMatrix3DSetMatrix ()
 Get a transformation matrix for modify.
MbCartPoint3DSetFixedPoint ()
 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).

Detailed Description

The parameters of object scaling.

Object scaling is performed by the transformation matrix.

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