libt3d  2.6
Functions
C++ API

Functions

 R3D (T3DType type, int flags, T3DError error, const double *d1=0x0, const double *d2=0x0)
 R3D constructor.
 R3D (T3DType type=T3D_MATRIX, int flags=0)
 R3D constructor.
 R3D (const R3D *r3d)
 R3D constructor.
 R3D (const T3DMatrix &m)
R3DconvertTo (T3DType type)
 Convert a R3D into another representation.
R3Dinvert (void)
 Invert a R3D.
R3D operator~ (void)
 Inverse of a R3D.
R3D operator* (R3D &r3d)
 Compose two R3D.
double & operator[] (unsigned int i)
 Acessor for matrices elements.
double & operator() (unsigned int i, unsigned int j)
 Acessor for matrices elements.
double & operator[] (int i)
 Accessor for Tait-Brayan angles.
double & operator[] (T3DBryanIndex i)
 T3D (T3DType type, int flags, T3DError error, const double *d1=0x0, const double *d2=0x0)
 T3D constructor.
 T3D (T3DType type=T3D_MATRIX, int flags=0)
 T3D constructor.
 T3D (const T3D *t3d)
 T3D constructor.
 T3D (const T3DMatrix &m)
 T3D (double _yaw, double _pitch, double _roll, double _x, double _y, double _z)
 T3DBryan constructor.
T3DconvertTo (T3DType type)
 Convert a T3D into another representation.
T3Dinvert (void)
 Invert a T3D.
T3D operator~ (void) const
 Inverse of a T3D.
T3D operator* (T3D &t3d)
 Composition of two T3D.

Function Documentation

R3D & convertTo ( T3DType  type) [inline]

Convert a R3D into another representation.

See also:
r3dConvertTo().
Parameters:
[in]typeType to convert to.
T3D & convertTo ( T3DType  type) [inline]

Convert a T3D into another representation.

See also:
t3dConvertTo().
Parameters:
[in]typeType to convert to.
R3D & invert ( void  ) [inline]

Invert a R3D.

Invert r3d object.

See also:
r3dInvert().
T3D & invert ( void  ) [inline]

Invert a T3D.

Invert t3d object.

See also:
t3dInvert().
double & operator() ( unsigned int  i,
unsigned int  j 
) [inline]

Acessor for matrices elements.

The function return the element (i,j) of the homogeneous matrix.

Parameters:
[in]i,jMatrix element indices.
Returns:
reference to element.
R3D operator* ( R3D r3d) [inline]

Compose two R3D.

In the expression this*r3d, return the composition of r3d by this.

See also:
r3dComp().
Parameters:
[in]r3dFirst transformation.
T3D operator* ( T3D t3d) [inline]

Composition of two T3D.

In the expression this*t3d, return the composition of t3d by this.

See also:
t3dComp().
Parameters:
[in]t3dFirst transformation.
double & operator[] ( unsigned int  i) [inline]

Acessor for matrices elements.

The function return the element i of the homogeneous matrix. Elements are numbered in 'row-major' mode.

Parameters:
[in]iMatrix element number.
Returns:
reference to element.
double & operator[] ( int  i) [inline]

Accessor for Tait-Brayan angles.

Parameters:
[in]iAngle number,
See also:
T3DBryanIndex.
Returns:
a reference on the angle value.
double & operator[] ( T3DBryanIndex  i) [inline]

Accessor for Tait-Brayan angles.

Parameters:
[in]iAngle number,
See also:
T3DBryanIndex.
Returns:
a reference on the angle value.
R3D operator~ ( void  ) [inline]

Inverse of a R3D.

Return the inverse of r3d.

See also:
r3dInvert().
T3D operator~ ( void  ) const [inline]

Inverse of a T3D.

Return the inverse of t3d.

See also:
t3dInvert().
R3D ( T3DType  _type,
int  _flags,
T3DError  error,
const double *  d1 = 0x0,
const double *  d2 = 0x0 
) [inline]

R3D constructor.

Initialize a 3D rotation to Identity.

Parameters:
[in]typeInternal representation.
[in]flagsOptional parameters to alter the default behavior
R3D ( T3DType  type = T3D_MATRIX,
int  flags = 0 
) [inline]

R3D constructor.

Initialize a 3D rotation to Identity.

Parameters:
[in]typeInternal representation.
[in]flagsOptional parameters to alter the default behavior
R3D ( const R3D r3d) [inline]

R3D constructor.

Initialize a 3D rotation equal to r3d.

Parameters:
[in]r3dCopied transformation.
R3D ( const T3DMatrix m) [inline]
T3D ( T3DType  _type,
int  _flags,
T3DError  error,
const double *  d1 = 0x0,
const double *  d2 = 0x0 
) [inline]

T3D constructor.

Initialize a 3D transformation to Identity.

Parameters:
[in]typeInternal representation.
[in]flagsOptional parameters to alter the default behavior
T3D ( T3DType  type = T3D_MATRIX,
int  flags = 0 
) [inline]

T3D constructor.

Initialize a 3D transformation to Identity.

Parameters:
[in]typeInternal representation.
[in]flagsOptional parameters to alter the default behavior
T3D ( const T3D t3d) [inline]

T3D constructor.

Initialize a 3D transformation equal to t3d.

Parameters:
[in]t3dCopied transformation.
T3D ( const T3DMatrix t3d) [inline]

T3D constructor.

Initialize a 3D transformation equal to t3d.

Parameters:
[in]t3dCopied transformation.
T3D ( double  yaw,
double  pitch,
double  roll,
double  x,
double  y,
double  z 
) [inline]

T3DBryan constructor.

Initialize a 3D transformation with the given angles and translations.

Parameters:
[in]yawRotation around Z.
[in]pitchRotation around Y.
[in]rollRotation around X.
[in]xTranslation along X.
[in]yTranslation along Y.
[in]zTranslation along Z.