Biomechanical Joint Model
 Author: Anderson Maciel

comemodifier.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2001 by Anderson Maciel                                 *
00003  *   andi.maciel@gmail.com                                                 *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019  **************************************************************************/
00020 
00022 //
00023 //  PROJECT.....: 
00024 //  RESPONSIBLE.: 
00025 //
00026 //  FILE........: COME_Modifier.h
00027 //  DESCRIPTION.: Contain the COME_Modifier class hierarchy declarations.
00028 //
00029 //  AUTHOR......: Anderson Maciel
00030 //  DATE........: 08/February/2001
00031 //  DESCRIPTION.: Classes declaration.
00032 //
00034 
00035 #ifndef __COME_MODIFIER_H
00036 #define __COME_MODIFIER_H
00037 
00038 #ifndef __COME_Dof_H
00039 class COME_Dof;
00040 #endif
00041 
00042 #include        <algebra/comebezier.h>
00043 
00044 
00045 #define MINANG -7;      // 2*(-PI) rounded
00046 #define MAXANG 7;               // 2*PI rounded
00047 
00048 class COME_Modifier {
00049 
00050         private:
00051                 COME_Curve      *maxPonderatorList;
00052                 COME_Curve      *minPonderatorList;
00053                 COME_Dof                **dofList;
00054                 int                     numDofs;
00055                 
00056         public:
00057                 COME_Modifier();
00058                 COME_Modifier( COME_Dof **dofs, COME_Curve *mins, COME_Curve *maxs, int numD );
00059                 ~COME_Modifier();
00060                 void    setMaxList( COME_Curve *list );
00061                 void    setMinList( COME_Curve *list );
00062                 void    setDofList( COME_Dof **list );
00063                 COME_Curve      *getMinPonderatorList();
00064                 COME_Curve      *getMaxPonderatorList();
00065                 float   getMin();
00066                 float   getMax();
00067 };
00068 
00069 #endif

Generated on Thu Dec 1 10:13:34 2005 for COME - Biomechanical Joint Model by  doxygen 1.4.5