00001 /* 00002 * Copyright (c) 2007. The BATI team. All right reserved. 00003 * 00004 * This file is part of BATI library. 00005 * 00006 * BATI library is free software: you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation, either version 3 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * BATI library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with BATI library. If not, see <http://www.gnu.org/licenses/>. 00018 */ 00019 /* pas de code avant cette ligne*/ 00020 #ifndef __vect_symb 00021 #define __vect_symb 00022 #include "proto2D.h" 00023 00024 typedef struct { 00025 long dimx; 00026 long dimy; 00027 long dimz; 00028 }dimensions; 00029 00031 typedef struct { 00032 char *nom_in; 00033 char *nom_out; 00034 char *nom_vect; 00035 int size; 00036 int dir; 00037 short intensity; 00038 }vector_t; 00039 00040 typedef struct { 00041 float element1; 00042 float element2; 00043 float element3; 00044 } eigenvector; 00045 00046 typedef struct { 00047 dimensions * dim; 00048 eigenvector * data; 00049 }allEigenvectors; 00050 00051 param *vector_lect(vector_t *des, param *ptp, char *debq); 00052 00053 int vector_init(vector_t *des); 00054 int vector_calc(vector_t *des); 00055 00056 /*pas de code après cette ligne */ 00057 #endif 00058