00001
00002
00003
00004
00005
00006 #ifndef CSL_Lorenz_H
00007 #define CSL_Lorenz_H
00008
00009 #include "CSL_Core.h"
00010
00011 namespace csl {
00012
00016
00017 class Lorenz : public UnitGenerator {
00018
00019 public:
00021 Lorenz(float x = 0.02, float y = 20., float z = 20.);
00022 ~Lorenz();
00023
00025 float x() const { return mX; }
00026 float y() const { return mY; }
00027 float z() const { return mZ; }
00028
00029 void setX(float tx) { mX = tx; }
00030 void setY(float ty) { mY = ty; }
00031 void setZ(float tz) { mZ = tz; }
00032
00033 void dump();
00034 void nextBuffer(Buffer& outputBuffer, unsigned outBufNum) throw (CException);
00035
00036 protected:
00037 float mX, mY, mZ;
00038 };
00039
00040 }
00041
00042 #endif