fourier_5_1.h

00001 #ifndef __FOURIER_5_1__
00002 #define __FOURIER_5_1__
00003 
00004 #include "fourier_syn.h"
00005 
00006 // Observation (for k5.1)
00007 //
00008 // cosx cosy cosz sinx siny sinz
00009 //  0 0 0
00010 //  0 A 0 B 0 C
00011 //  0 D 0 E 0 F
00012 //  ...
00013 // Let's try : A B C D E F  as coeff file
00014 class K51FourierKnot : public FourierKnot {
00015 
00016 public:
00017 
00018   // Constructors
00019   K51FourierKnot();
00020   K51FourierKnot(const char* file, int Normal = 0);
00021   K51FourierKnot(const K51FourierKnot &tfk);
00022 
00023   K51FourierKnot& operator=(const K51FourierKnot &fk);
00024   FourierKnot toFourierKnot();
00025   Vector3 operator()(float t) const;
00026   Vector3 prime(float t) const; 
00027 
00028   K51FourierKnot operator+(const K51FourierKnot &fk);
00029   K51FourierKnot& operator*=(const float d);
00030   K51FourierKnot& operator/=(const float d);
00031 
00032   /*
00033      I/O classes not overloaded!
00034      We use the same structure as the normal coeff file
00035      (with constant 0 0 0). This means we can use the
00036      parent classe's operator<< and operator>>.
00037   */
00038 };
00039 
00040 #endif // __FOURIER_5_1__

Generated on Mon Feb 8 17:22:35 2010 for libbiarc by  doxygen 1.5.6