mi32/trans3d.h File Reference

<mi32/trans3d.h> Definitions for 3-D transformation functions More...

#include <mi32/ctrlpt.h>
#include <string.h>

Include dependency graph for trans3d.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  TRANS3D
 TRANS3D class. More...


Defines

#define GEOMLIBEXPORT   MI_DLLIMPORT

Functions

GEOMLIBEXPORT int FindBestTrans3D (int NumPoints, CTRLPOINT3D *cp, MAT4X4 forward, MAT4X4 inverse)
GEOMLIBEXPORT int FindBestTrans3D3 (int NumPoints, CTRLPOINT3 *cp3, MAT4X4 forward, MAT4X4 inverse)
GEOMLIBEXPORT void trans3dinit (MAT4X4, MAT4X4)
GEOMLIBEXPORT void trans3d (double ix, double iy, double iz, MAT4X4 TransMat, double *ox, double *oy, double *oz)
GEOMLIBEXPORT void trans3dshift (MAT4X4 m, MAT4X4 n, double dx, double dy, double dz)
GEOMLIBEXPORT void trans3dscale (MAT4X4 m, MAT4X4 n, double sx, double sy, double sz)
GEOMLIBEXPORT void trans3drot (MAT4X4 m, MAT4X4 n, double z_axis, double x_axis, double y_axis)


Detailed Description

<mi32/trans3d.h> Definitions for 3-D transformation functions

This header file requires C++

Definition in file trans3d.h.


Define Documentation

#define GEOMLIBEXPORT   MI_DLLIMPORT
 

Includes defn for memcpy().

Definition at line 56 of file trans3d.h.


Function Documentation

GEOMLIBEXPORT int FindBestTrans3D int  NumPoints,
CTRLPOINT3D cp,
MAT4X4  forward,
MAT4X4  inverse
 

FindBestTrans3D - Find "best" 3-D affine transformation given set of control points.

Parameters:
NumPoints  Number of control points
cp  Set of control points
forward  Transformation matrices

GEOMLIBEXPORT int FindBestTrans3D3 int  NumPoints,
CTRLPOINT3 cp3,
MAT4X4  forward,
MAT4X4  inverse
 

FindBestTrans3D3 - Find "best" 3-D affine transformation given a CTRLPOINT array.

Parameters:
NumPoints  Number of control points
cp3  Array of control points
forward  Transformation matrices

GEOMLIBEXPORT void trans3d double  ix,
double  iy,
double  iz,
MAT4X4  TransMat,
double *  ox,
double *  oy,
double *  oz
 

Perform 3-D affine transformation on a point.

Parameters:
ix  Input x
iy  Input y
iz  Input z
TransMat  Transformation matrix
ox  Output x
oy  Output y
oz  Output z

GEOMLIBEXPORT void trans3dinit MAT4X4  ,
MAT4X4 
 

Initialize 3-D affine transformation.

GEOMLIBEXPORT void trans3drot MAT4X4  m,
MAT4X4  n,
double  z_axis,
double  x_axis,
double  y_axis
 

Apply rotation to a 3-D affine transformation.

Parameters:
m  Matrices of transformation
z_axis  X axis
x_axis  Y axis
y_axis  Z axis

GEOMLIBEXPORT void trans3dscale MAT4X4  m,
MAT4X4  n,
double  sx,
double  sy,
double  sz
 

Apply a scale change to a 3-D affine transformation.

Parameters:
m  Matrices of transformation
sx  X scale
sy  Y scale
sz  Z scale

GEOMLIBEXPORT void trans3dshift MAT4X4  m,
MAT4X4  n,
double  dx,
double  dy,
double  dz
 

Apply offsets to a 3-D affine transformation.

Parameters:
m  Matrices of transformation
dx  X offset
dy  Y offset
dz  Z offset


Generated on Thu Aug 12 06:24:55 2004 for TNTsdk by doxygen 1.3.4-20031026