ecat 6.0.0
matpkg.h File Reference
#include <math.h>
Include dependency graph for matpkg.h:

Go to the source code of this file.

Classes

struct  matrix
 
struct  vol3d
 
struct  stack3d
 
struct  view2d
 

Typedefs

typedef struct matrixMatrix
 
typedef struct vol3dVol3d
 
typedef struct stack3dStack3d
 
typedef struct view2dView2d
 

Functions

void matmpy (Matrix res, Matrix a, Matrix b)
 
void mat_print (Matrix)
 
void mat_unity (Matrix)
 
Matrix mat_alloc (int ncols, int nrows)
 
void mat_copy (Matrix a, Matrix b)
 
void rotate (Matrix a, float rx, float ry, float rz)
 
void translate (Matrix a, float tx, float ty, float tz)
 
void scale (Matrix a, float sx, float sy, float sz)
 
void mat_free (Matrix)
 
Vol3d make3d_volume ()
 
Stack3d make3d_stack ()
 

Typedef Documentation

◆ Matrix

typedef struct matrix * Matrix

◆ Stack3d

typedef struct stack3d * Stack3d

◆ View2d

typedef struct view2d * View2d

◆ Vol3d

typedef struct vol3d * Vol3d

Function Documentation

◆ make3d_stack()

Stack3d make3d_stack ( )

◆ make3d_volume()

Vol3d make3d_volume ( )

◆ mat_alloc()

Matrix mat_alloc ( int ncols,
int nrows )

◆ mat_copy()

void mat_copy ( Matrix a,
Matrix b )

◆ mat_free()

void mat_free ( Matrix )

◆ mat_print()

void mat_print ( Matrix )

◆ mat_unity()

void mat_unity ( Matrix )

◆ matmpy()

void matmpy ( Matrix res,
Matrix a,
Matrix b )

◆ rotate()

void rotate ( Matrix a,
float rx,
float ry,
float rz )

◆ scale()

void scale ( Matrix a,
float sx,
float sy,
float sz )

◆ translate()

void translate ( Matrix a,
float tx,
float ty,
float tz )