00001
00002
00004
00005 #define AFX_LORENZSAMPLER_H__94532F94_F239_4AF3_908F_9C6DCC905658__INCLUDED_
00006
00007 #if _MSC_VER > 1000
00008 #pragma once
00009 #endif // _MSC_VER > 1000
00010
00011 #include "Sampler.h"
00012 #include "Defines.h"
00013
00015
00016 class CLorenzSampler : public CSampler
00017 {
00018 public:
00020
00021 CLorenzSampler();
00022
00024 void SetSigma(float sigma);
00026 void SetR(float r);
00028 void SetB(float b);
00029 CPoint3D GetCenter();
00031 void SetCenter(CPoint3D center);
00033 CLorenzSampler(CPoint3D center, float sigma, float r, float b,
00034 int additionalSize);
00035 virtual CSamplePoint ComputeSample();
00036 virtual ~CLorenzSampler();
00037 private:
00038
00039 float m_Sigma;
00040 float m_R;
00041 float m_B;
00042
00043 CPoint3D m_Center;
00044 };
00045
00046 #endif // !defined(AFX_LORENZSAMPLER_H__94532F94_F239_4AF3_908F_9C6DCC905658__INCLUDED_)