Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Classes | Typedefs | Functions
coordTypes.h File Reference
#include "math.h"
#include "misc.h"
Include dependency graph for coordTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Coord3d
 
class  Coord3f
 
class  Coord3i
 
struct  point_struct
 

Typedefs

typedef struct point_struct point
 

Functions

void normcrossprod (double *v1, double *v2, double *norm)
 
int transWorldToImage (Coord3d loc_world, int *loc_img, double *origin, int *dims, double voxelsize)
 
int transWorldToImage (double *loc_world, int *loc_img, double *origin, int *dims, double voxelsize)
 
double vec_length (Coord3d x)
 
double vec_length (double *x)
 
double vec_length (double *x, double *y)
 
double vectorangle (double *v1, double *v2)
 
double vectorangle (Coord3d v1, Coord3d v2)
 

Typedef Documentation

◆ point

typedef struct point_struct point

Function Documentation

◆ normcrossprod()

void normcrossprod ( double *  v1,
double *  v2,
double *  norm 
)
inline

Definition at line 88 of file coordTypes.h.

◆ transWorldToImage() [1/2]

int transWorldToImage ( Coord3d  loc_world,
int *  loc_img,
double *  origin,
int *  dims,
double  voxelsize 
)
inline

Definition at line 148 of file coordTypes.h.

◆ transWorldToImage() [2/2]

int transWorldToImage ( double *  loc_world,
int *  loc_img,
double *  origin,
int *  dims,
double  voxelsize 
)
inline

Definition at line 170 of file coordTypes.h.

◆ vec_length() [1/3]

double vec_length ( Coord3d  x)
inline

Definition at line 133 of file coordTypes.h.

◆ vec_length() [2/3]

double vec_length ( double *  x)
inline

Definition at line 138 of file coordTypes.h.

◆ vec_length() [3/3]

double vec_length ( double *  x,
double *  y 
)
inline

Definition at line 143 of file coordTypes.h.

◆ vectorangle() [1/2]

double vectorangle ( double *  v1,
double *  v2 
)
inline

Definition at line 103 of file coordTypes.h.

◆ vectorangle() [2/2]

double vectorangle ( Coord3d  v1,
Coord3d  v2 
)
inline

Definition at line 118 of file coordTypes.h.