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