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

Linux Cross Reference
Tina6/tina-libs/tina/geometry/geom_CurveDef.h

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

  1 /**********
  2  * 
  3  * This file is part of the TINA Open Source Image Analysis Environment
  4  * henceforth known as TINA
  5  *
  6  * TINA is free software; you can redistribute it and/or modify
  7  * it under the terms of the GNU General Public License as 
  8  * published by the Free Software Foundation.
  9  *
 10  * TINA is distributed in the hope that it will be useful,
 11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 13  * GNU General Public License for more details.
 14  *
 15  * You should have received a copy of the GNU General Public License
 16  * along with TINA; if not, write to the Free Software Foundation, Inc., 
 17  * 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 18  *
 19  * ANY users of TINA who require exemption from the existing licence must
 20  * negotiate a new licence with Dr. Neil.A.Thacker, the sole agent for
 21  * the University of Manchester.
 22  *
 23  **********
 24  * 
 25  * Program :    TINA
 26  * File    :  $Source: /home/tina/cvs/tina-libs/tina/geometry/geom_CurveDef.h,v $
 27  * Date    :  $Date: 2002/12/09 11:51:23 $
 28  * Version :  $Revision: 1.1.1.1 $
 29  * CVS Id  :  $Id: geom_CurveDef.h,v 1.1.1.1 2002/12/09 11:51:23 cvstina Exp $
 30  *
 31  * Notes :  general cone/conic/circ structure header
 32  *
 33  *********
 34 */
 35 
 36 #ifndef TINA_GEOM_CURVE_DEF_HDR
 37 #define TINA_GEOM_CURVE_DEF_HDR
 38 
 39 #include <tina/sys/sysDef.h>
 40 #include <tina/math/mathDef.h>
 41 
 42 typedef struct conic
 43 {
 44     Ts_id ts_id;                /* Tina structure identifier */
 45     unsigned int type;
 46     unsigned int label;
 47     int filler1;
 48     double a, b, c, d, e, f;   /* algebraic formula */
 49     double theta, alpha, beta;  
 50     struct vec2 center;
 51     int filler2;
 52     double t1, t2;       /* conic params of p1 and p2 */
 53     int branch;          /* for hyperbola only */
 54     List *props;         /* property list */
 55 } Conic;
 56 #define CONIC_SWAP_STRING "uuigggggggggtiggip"
 57 
 58 
 59 typedef struct conic3
 60 {
 61     Ts_id ts_id;                /* Tina structure identifier */
 62     int type;
 63     struct conic *conic;     /* describes the conic in the plane */
 64     struct vec3 origin;      /* origin point on plane */
 65     struct vec3 ex, ey, ez;  /* define x, y and z axes: ez = normal */
 66     struct vec3 pma, pmb;    /* maximum axis of viewed projection */
 67 } Conic3;
 68 #define CONIC3_SWAP_STRING "iptttttt"
 69 
 70 
 71 typedef struct cone
 72 {
 73     Ts_id ts_id;                /* Tina structure identifier */
 74      unsigned int type;
 75      unsigned int label;
 76      struct conic3 *c1;
 77      struct conic3 *c2;
 78      int filler;
 79      double offset;           /* offset of c2 parameter wrt c1 */
 80      struct list *props;
 81 } Cone;
 82 #define CONE_SWAP_STRING "uuppigp"
 83 
 84 
 85 typedef struct conic_stat   /* covariance matrix etc for conic */
 86 {
 87     Ts_id ts_id;                /* Tina structure identifier */
 88     int filler;
 89     double x[5];
 90     double d[5];
 91     double u[5][5];
 92 } Conic_stat;
 93 #define CONIC_STAT_SWAP_STRING "i5[g]5[g]25[g]"
 94 
 95 
 96 typedef struct circ2
 97 {
 98     Ts_id ts_id;                /* Tina structure identifier */
 99     unsigned int type;
100     unsigned int label;
101     int filler1;
102     double r;
103     struct vec2 center;     
104     struct vec2 p1, p2;  /* define anticlockwise order */
105     int filler2;
106     double t1, t2;       /* angle params for p1 and p2 */
107     double length;
108     struct list *props;
109 } Circ2;
110 #define CIRC2_SWAP_STRING "uuigtttigggp"
111 
112 
113 #endif  /* TINA_GEOM_CURVE_DEF_HDR */
114 

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