00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef __mitkFootprint2DGaussian_h
00012 #define __mitkFootprint2DGaussian_h
00013
00014 #include "mitkFootprint2D.h"
00015
00040 class MITK_VISUALIZATION_API mitkFootprint2DGaussian : public mitkFootprint2D
00041 {
00042 public:
00043 MITK_TYPE(mitkFootprint2DGaussian, mitkFootprint2D)
00044
00045 virtual void PrintSelf(ostream &os);
00046
00050 mitkFootprint2DGaussian();
00051
00056 void SetCoefficient(float coeff){ m_Coeff = coeff, m_NeedRebuild = true; }
00057
00065 void SetVarianceMatrix(float vmatrix[4]);
00066
00071 void SetAdjustRadii(float adjustradii){ m_AdjustRadii = adjustradii; }
00072
00077 float GetCoefficient(){ return m_Coeff; }
00078
00086 void GetVarianceMatrix(float vmatrix[4]);
00087
00092 float GetAdjustRadii(){ return m_AdjustRadii; }
00093
00098 virtual float* EncodeFootprintTable();
00099
00106 virtual float DecodeFootprintTable(float x, float y);
00107
00108 protected:
00109 virtual ~mitkFootprint2DGaussian();
00110
00111 void _buildTable();
00112
00113 float m_Coeff;
00114 float m_AdjustRadii;
00115 float m_VMatrix[4];
00116
00117 private:
00118 mitkFootprint2DGaussian(const mitkFootprint2DGaussian&);
00119 void operator = (const mitkFootprint2DGaussian&);
00120
00121 };
00122
00123
00124
00125
00126
00127
00128 #endif
00129