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

Linux Cross Reference
Tina5/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 Lesser 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 Lesser General Public License for more details.
 14  *
 15  * You should have received a copy of the GNU Lesser 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  **********
 20  * 
 21  * Program :    TINA
 22  * File    :  $Source: /home/tina/cvs/tina-libs/tina/geometry/geom_CurveDef.h,v $
 23  * Date    :  $Date: 2002/12/09 11:51:23 $
 24  * Version :  $Revision: 1.1.1.1 $
 25  * CVS Id  :  $Id: geom_CurveDef.h,v 1.1.1.1 2002/12/09 11:51:23 cvstina Exp $
 26  *
 27  * Notes :  general cone/conic/circ structure header
 28  *
 29  *********
 30 */
 31 
 32 #ifndef TINA_GEOM_CURVE_DEF_HDR
 33 #define TINA_GEOM_CURVE_DEF_HDR
 34 
 35 #include <tina/sys/sysDef.h>
 36 #include <tina/math/mathDef.h>
 37 
 38 typedef struct conic
 39 {
 40     Ts_id ts_id;                /* Tina structure identifier */
 41     unsigned int type;
 42     unsigned int label;
 43     int filler1;
 44     double a, b, c, d, e, f;   /* algebraic formula */
 45     double theta, alpha, beta;  
 46     struct vec2 center;
 47     int filler2;
 48     double t1, t2;       /* conic params of p1 and p2 */
 49     int branch;          /* for hyperbola only */
 50     List *props;         /* property list */
 51 } Conic;
 52 #define CONIC_SWAP_STRING "uuigggggggggtiggip"
 53 
 54 
 55 typedef struct conic3
 56 {
 57     Ts_id ts_id;                /* Tina structure identifier */
 58     int type;
 59     struct conic *conic;     /* describes the conic in the plane */
 60     struct vec3 origin;      /* origin point on plane */
 61     struct vec3 ex, ey, ez;  /* define x, y and z axes: ez = normal */
 62 } Conic3;
 63 #define CONIC3_SWAP_STRING "iptttt"
 64 
 65 
 66 typedef struct cone
 67 {
 68     Ts_id ts_id;                /* Tina structure identifier */
 69      unsigned int type;
 70      unsigned int label;
 71      struct conic3 *c1;
 72      struct conic3 *c2;
 73      int filler;
 74      double offset;           /* offset of c2 parameter wrt c1 */
 75      struct list *props;
 76 } Cone;
 77 #define CONE_SWAP_STRING "uuppigp"
 78 
 79 
 80 typedef struct conic_stat   /* covariance matrix etc for conic */
 81 {
 82     Ts_id ts_id;                /* Tina structure identifier */
 83     int filler;
 84     double x[5];
 85     double d[5];
 86     double u[5][5];
 87 } Conic_stat;
 88 #define CONIC_STAT_SWAP_STRING "i5[g]5[g]25[g]"
 89 
 90 
 91 typedef struct circ2
 92 {
 93     Ts_id ts_id;                /* Tina structure identifier */
 94     unsigned int type;
 95     unsigned int label;
 96     int filler1;
 97     double r;
 98     struct vec2 center;     
 99     struct vec2 p1, p2;  /* define anticlockwise order */
100     int filler2;
101     double t1, t2;       /* angle params for p1 and p2 */
102     double length;
103     struct list *props;
104 } Circ2;
105 #define CIRC2_SWAP_STRING "uuigtttigggp"
106 
107 
108 #endif  /* TINA_GEOM_CURVE_DEF_HDR */
109 

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