Mercurial > hg > minc-tools
changeset 2308:7db0db114a67
Added irregular dimension handling, nonspatial voxel-to-world transforms
author | bert <bert> |
---|---|
date | Mon, 04 Jul 2005 12:43:05 +0000 |
parents | c141e9990460 |
children | 8e3050227a19 |
files | volume_io/Include/volume_io/vol_io_prototypes.h |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/volume_io/Include/volume_io/vol_io_prototypes.h +++ b/volume_io/Include/volume_io/vol_io_prototypes.h @@ -911,6 +911,18 @@ int axis, VIO_Real dir[] ); +/* These next 5 functions may be called by other modules in the library, + * but they are not truly public. That is why they are not declared VIOAPI. + */ +VIO_BOOL is_volume_dimension_irregular(VIO_Volume, int); +int get_volume_irregular_starts(VIO_Volume, int, int, VIO_Real *); +int get_volume_irregular_widths(VIO_Volume, int, int, VIO_Real *); +int set_volume_irregular_starts(VIO_Volume, int, int, VIO_Real *); +int set_volume_irregular_widths(VIO_Volume, int, int, VIO_Real *); + +VIOAPI VIO_Real nonspatial_voxel_to_world(VIO_Volume, int, int); +VIOAPI int nonspatial_world_to_voxel(VIO_Volume, int, VIO_Real); + VIOAPI void set_volume_translation( VIO_Volume volume, VIO_Real voxel[],