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

Linux Cross Reference
Tina6/tina-tools/tinatool/draw/drawTv_zdraw.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/draw/drawTv_zdraw.h,v $
 37  * Date    :  $Date: 2003/10/01 16:02:47 $
 38  * Version :  $Revision: 1.2 $
 39  * CVS Id  :  $Id: drawTv_zdraw.h,v 1.2 2003/10/01 16:02:47 tony Exp $
 40  *
 41  * Author  : Legacy TINA
 42  *
 43  * Notes :
 44  *
 45  *********
 46 */
 47 
 48 #ifndef TINATOOL_DRAW_TV_ZDRAW_HDR
 49 #define TINATOOL_DRAW_TV_ZDRAW_HDR
 50 
 51 #include <tina/math/mathDef.h>
 52 #include <tinatool/draw/draw_TvDef.h>
 53 
 54 #ifdef __cplusplus
 55 extern "C" {
 56 #endif /* __cplusplus */
 57 
 58 void    tv_zbuff_epsilon_set(double eps);
 59 void    tv_zbuff_point3(Tv * tv, Vec3 p);
 60 void    tv_zbuff_dot3(Tv * tv, Vec3 p);
 61 void    tv_zbuff_curve3(Tv * tv, Vec3(*curve) (), void *data, double t1, double t2);
 62 void    tv_zbuff_line3(Tv * tv, Vec3 p1, Vec3 p2);
 63 void    tv_zbuff_text3(Tv * tv, char *string, Vec3 p);
 64 void    tv_zbuff_interp_quad3(Tv * tv, Vec3 p00, Vec3 p10, Vec3 p01, Vec3 p11, double g00, double g10, double g01, double g11);
 65 void    tv_zbuff_image_quad3(Tv * tv, Vec3 p00, Vec3 p10, Vec3 p01, Vec3 p11, double r00, double r10, double r01, double r11, double c00, double c10, double c01, double c11, Imrect * im);
 66 Vec3    interp_normal(Vec3(*surf) (), void *data, double u, double v, Vec3 x);
 67 void    tv_zbuff_surf3(Tv * tv, Vec3(*surf) (), Vec3(*normal) (), void *data, double u1, double v1, double u2, double v2, int nu, int nv, int ni);
 68 void    tv_zbuff_ruled3(Tv * tv, Vec3 p11, Vec3 p21, Vec3 p12, Vec3 p22);
 69 void    tv_zbuff_gouraud(Tv * tv, Vec3 p11, Vec3 p21, Vec3 p12, Vec3 p22, Vec3 n11, Vec3 n21, Vec3 n12, Vec3 n22);
 70 
 71 #ifdef __cplusplus
 72 }
 73 #endif /* __cplusplus */
 74 #endif
 75 

~ [ 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.