~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina6/tina-tools/tinatool/tlmedical/tlmedCoreg_view.h

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /**********
  2  *
  3  * Copyright (c) 2003, Division of Imaging Science and Biomedical Engineering,
  4  * University of Manchester, UK.  All rights reserved.
  5  * 
  6  * Redistribution and use in source and binary forms, with or without modification, 
  7  * are permitted provided that the following conditions are met:
  8  * 
  9  *   . Redistributions of source code must retain the above copyright notice, 
 10  *     this list of conditions and the following disclaimer.
 11  *    
 12  *   . Redistributions in binary form must reproduce the above copyright notice,
 13  *     this list of conditions and the following disclaimer in the documentation 
 14  *     and/or other materials provided with the distribution.
 15  * 
 16  *   . Neither the name of the University of Manchester nor the names of its
 17  *     contributors may be used to endorse or promote products derived from this 
 18  *     software without specific prior written permission.
 19  * 
 20  * 
 21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
 22  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
 23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
 24  * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
 25  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
 26  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
 27  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 28  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
 29  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
 30  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
 31  * POSSIBILITY OF SUCH DAMAGE.
 32  *
 33  **********
 34  *
 35  * Program :    TINA
 36  * File    :  $Source: /home/tina/cvs/tina-tools/tinatool/tlmedical/tlmedCoreg_view.h,v $
 37  * Date    :  $Date: 2004/08/06 15:12:33 $
 38  * Version :  $Revision: 1.4 $
 39  * CVS Id  :  $Id: tlmedCoreg_view.h,v 1.4 2004/08/06 15:12:33 paul Exp $
 40  *
 41  * Author  : paul.bromiley@man.ac.uk
 42  *
 43  * Notes :
 44  *
 45  *********
 46 */
 47 
 48 #ifndef TINA_TLMED_COREG_VIEW_HDR
 49 #define TINA_TLMED_COREG_VIEW_HDR
 50 
 51 #include <tina/image/imgDef.h>
 52 #include <tina/file/fileThirdParty_air.h>
 53 #include <tinatool/draw/drawDef.h>
 54 
 55 #ifdef __cplusplus
 56 extern "C" {
 57 #endif /* __cplusplus */
 58 
 59 void store_rot_init();
 60 void store_rot_reset();
 61 Imrect *get_zcoreg_im();
 62 Imrect *get_ycoreg_im();
 63 Imrect *get_xcoreg_im();
 64 void set_xcoreg_im(Imrect *im);
 65 void set_ycoreg_im(Imrect *im);
 66 void set_zcoreg_im(Imrect *im);
 67 int coreg_get_vec(double *coreg_vec, int mask);
 68 int coreg_set_vec(double *coreg_vec, int mask);
 69 Vec3 coreg_ex();
 70 Vec3 coreg_ey();
 71 Vec3 coreg_ez();
 72 Vec3 coreg_ec();
 73 void coreg_comp(double *a, Vec3 vec);
 74 void reset_tv_coords();
 75 void xcoreg_tv_set(Tv *tv);
 76 Tv *xcoreg_tv_get();
 77 void ycoreg_tv_set(Tv *tv);
 78 Tv *ycoreg_tv_get();
 79 void zcoreg_tv_set(Tv *tv);
 80 Tv *zcoreg_tv_get();
 81 void coreg_coords(Vec3 *nex, Vec3 *ney, Vec3 *nez);
 82 void coreg_tcoords(Vec3 *nex, Vec3 *ney, Vec3 *nez);
 83 void coreg_centre(double *x, double *y, double *z, Vec3*c);
 84 void coreg_scales(double *x, double *y, double *z, double *nx, double *ny, double *nz);
 85 void set_coreg_zoom(double zfac, int mask);
 86 void coreg_coords_init();
 87 Vec3 coreg_bproj(double x, double y, double z);
 88 Vec3 coreg_proj(double x, double y, double z);
 89 void coreg_init(Tv *tv);
 90 void coreg_redraw();
 91 Tv     *xcoreg_tv_make(void);
 92 Tv     *ycoreg_tv_make(void);
 93 Tv     *zcoreg_tv_make(void);
 94 void set_coreg_centre(double slicex, double slicey, double slicez);
 95 void set_coreg_trans(struct air16  air1);
 96 void get_coreg_trans(struct air16 *air1);
 97 float display_scaler(Imrect *pre_thresh_im, Imrect *post_thresh_im);
 98 void latch_slices(int im_type);
 99 void ***coreg_slice_init(Sequence *seq, Vec3 *newiscale);
100 void latch_clear();
101 
102 #ifdef __cplusplus
103 }
104 #endif /* __cplusplus */
105 
106 #endif /* TINA_TLMED_COREG_VIEW_HDR */
107 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.