Slicer  4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Classes | 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
 

Functions

void normcrossprod (double *v1, double *v2, double *norm)
 
double pointdistance (Coord3i &p1, Coord3i &p2)
 
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)
 

Function Documentation

◆ normcrossprod()

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

Definition at line 87 of file coordTypes.h.

◆ pointdistance()

double pointdistance ( Coord3i p1,
Coord3i p2 
)
inline

Definition at line 82 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 169 of file coordTypes.h.

◆ vec_length() [1/3]

double vec_length ( Coord3d  x)
inline

Definition at line 132 of file coordTypes.h.

◆ vec_length() [2/3]

double vec_length ( double *  x)
inline

Definition at line 137 of file coordTypes.h.

◆ vec_length() [3/3]

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

Definition at line 142 of file coordTypes.h.

◆ vectorangle() [1/2]

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

Definition at line 104 of file coordTypes.h.

◆ vectorangle() [2/2]

double vectorangle ( Coord3d  v1,
Coord3d  v2 
)
inline

Definition at line 119 of file coordTypes.h.