Functions
amitk_point_copy ()
AmitkPoint *
amitk_point_copy (const AmitkPoint *point);
amitk_point_free ()
void
amitk_point_free (AmitkPoint *point);
amitk_point_read_xml ()
AmitkPoint
amitk_point_read_xml (xmlNodePtr nodes,
gchar *descriptor,
gchar **perror_buf);
amitk_point_write_xml ()
void
amitk_point_write_xml (xmlNodePtr node,
gchar *descriptor,
AmitkPoint point);
amitk_voxel_copy ()
AmitkVoxel *
amitk_voxel_copy (const AmitkVoxel *voxel);
amitk_voxel_free ()
void
amitk_voxel_free (AmitkVoxel *voxel);
amitk_voxel_read_xml ()
AmitkVoxel
amitk_voxel_read_xml (xmlNodePtr nodes,
gchar *descriptor,
gchar **perror_buf);
amitk_voxel_write_xml ()
void
amitk_voxel_write_xml (xmlNodePtr node,
gchar *descriptor,
AmitkVoxel voxel);
amitk_pixel_copy ()
AmitkPixel *
amitk_pixel_copy (const AmitkPixel *pixel);
amitk_pixel_free ()
void
amitk_pixel_free (AmitkPixel *pixel);
amitk_canvas_point_free ()
void
amitk_canvas_point_free (AmitkCanvasPoint *point);
amitk_axes_copy ()
AmitkAxes *
amitk_axes_copy (const AmitkAxes *axes);
amitk_axes_free ()
void
amitk_axes_free (AmitkAxes *axes);
amitk_axes_copy_in_place ()
void
amitk_axes_copy_in_place (AmitkAxes dest_axes,
const AmitkAxes src_axes);
amitk_axes_transpose ()
void
amitk_axes_transpose (AmitkAxes axes);
amitk_axes_mult ()
void
amitk_axes_mult (const AmitkAxes const_axes1,
const AmitkAxes const_axes2,
AmitkAxes dest_axes);
amitk_axes_make_orthonormal ()
void
amitk_axes_make_orthonormal (AmitkAxes axes);
amitk_axes_rotate_on_vector ()
void
amitk_axes_rotate_on_vector (AmitkAxes axes,
AmitkPoint vector,
amide_real_t theta);
amitk_axes_get_orthogonal_axis ()
AmitkPoint
amitk_axes_get_orthogonal_axis (const AmitkAxes axes,
const AmitkView which_view,
const AmitkLayout which_layout,
const AmitkAxis which_axis);
amitk_axes_get_normal_axis ()
AmitkPoint
amitk_axes_get_normal_axis (const AmitkAxes axes,
const AmitkView which_view);
amitk_corners_free ()
void
amitk_corners_free (AmitkCorners *corners);
amitk_corners_copy ()
AmitkCorners *
amitk_corners_copy (const AmitkCorners *corners);
REAL_EQUAL()
#define REAL_EQUAL(x,y) (fabs(x-y)/MAX(MAX(fabs(x),fabs(y)),DBL_MIN) < EPSILON)
EQUAL_ZERO()
#define EQUAL_ZERO(fp1) (REAL_EQUAL((fp1), 0.0))
REAL_CLOSE()
#define REAL_CLOSE(x,y) (fabs(x-y)/MAX(MAX(fabs(x),fabs(y)),DBL_MIN) < CLOSE)
POINT_EQUAL()
#define POINT_EQUAL(point1,point2)
VOXEL_EQUAL()
#define VOXEL_EQUAL(voxel1,voxel2)
VOXEL_CORNER()
#define VOXEL_CORNER(vox, vox_size, corner)
POINT_MAX()
#define POINT_MAX(point1) (MAX( MAX((point1).x, (point1).y), (point1).z))
POINT_DOT_PRODUCT()
#define POINT_DOT_PRODUCT(point1,point2) ((point1).x*(point2).x+(point1).y*(point2).y+(point1).z*(point2).z)
POINT_MAGNITUDE()
#define POINT_MAGNITUDE(point) (sqrt(POINT_DOT_PRODUCT((point), (point))))
POINT_ABS()
#define POINT_ABS(point1,point2)
POINT_ADD()
#define POINT_ADD(point1,point2,point3)
POINT_SUB()
#define POINT_SUB(point1,point2,point3)
POINT_MULT()
#define POINT_MULT(point1,point2,point3)
POINT_DIV()
#define POINT_DIV(point1,point2,point3)
POINT_DIFF()
#define POINT_DIFF(point1,point2,point3)
POINT_CMULT()
#define POINT_CMULT(cm,point1,point3)
POINT_CROSS_PRODUCT()
#define POINT_CROSS_PRODUCT(point1, point2, point3)
POINT_MADD()
#define POINT_MADD(cm,point1,dm,point2,point3)
voxel_print ()
void
voxel_print (gchar *message,
const AmitkVoxel voxel);
point_print ()
void
point_print (gchar *message,
const AmitkPoint point);
point_rotate_on_vector ()
AmitkPoint
point_rotate_on_vector (const AmitkPoint in,
const AmitkPoint vector,
const amide_real_t theta);
point_get_component ()
amide_real_t
point_get_component (const AmitkPoint point,
const AmitkAxis which_axis);
point_set_component ()
void
point_set_component (AmitkPoint *point,
const AmitkAxis which_axis,
const amide_real_t value);
amitk_view_get_name ()
const gchar *
amitk_view_get_name (const AmitkView view);
amitk_dim_get_name ()
const gchar *
amitk_dim_get_name (const AmitkDim dim);
amitk_axis_get_name ()
const gchar *
amitk_axis_get_name (const AmitkAxis axis);
amitk_length_unit_get_name ()
const gchar *
amitk_length_unit_get_name (const AmitkLengthUnit length_unit);