## "Fossies" - the Fresh Open Source Software Archive ### Member "dx-4.4.4/html/pages/progu297.htm" (1 Mar 2002, 4932 Bytes) of package /linux/misc/old/dx-4.4.4.tar.gz:

Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the dx-4.4.4.tar.gz project site itself.

# IBM Visualization Data Explorer Programmer's Reference

[ Bottom of Page | Previous Page | Next Page | Table of Contents | Partial Table of Contents | Index ]

### DXRotateX, DXRotateY, DXRotateZ, DXScale, DXTranslate, DXMat

Function

Manipulate Transform matrices.

Syntax

#include <dx/dx.h>

Matrix DXRotateX(Angle angle)
Matrix DXRotateY(Angle angle)
Matrix DXRotateZ(Angle angle)
Matrix DXScale(double x, double y, double z)
Matrix DXTranslate(Vector v)
Matrix DXMat(double a, double b, double c,
double d, double e, double f,
double g, double h, double i,
double j, double k, double l)

Functional Details

Manipulate Transform matrices. DXRotateX, DXRotateY, and DXRotateZ return a Matrix that specifies a rotation about the x, y, or z axis by angle angle in radians.

DXScale returns a Matrix that specifies a scaling by amounts x, y, and z along the x, y, and z axes.

DXTranslate returns a Matrix that specifies a translation by v.

DXMat returns a Matrix with the specified components.

A Matrix is defined as follows:

typedef struct matrix {
/* xA + b */
float A;
float b;
} Matrix;

An Angle is in radians and is defined as follows:

typedef double Angle;

Return Value

Returns the resulting Matrix.