Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkFootprint2DGaussian.h

00001 /*=========================================================================
00002 
00003   Program:   3DMed
00004   Date:      $Date: 2014-02-25 18:30:00 +0800 $
00005   Version:   $Version: 4.6.0 $
00006   Copyright: MIPG, Institute of Automation, Chinese Academy of Sciences
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 //#define DEFINED_mitkFootprint2DGaussian
00125 
00126 
00127 
00128 #endif
00129 

Generated on Tue Feb 25 15:00:37 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3