fourier_8_18.h

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

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