Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _MITK_PLANAR_ANGLE_H_
00020 #define _MITK_PLANAR_ANGLE_H_
00021
00022 #include "mitkPlanarFigure.h"
00023 #include "PlanarFigureExports.h"
00024
00025
00026 namespace mitk
00027 {
00028
00029 class Geometry2D;
00030
00035 class PlanarFigure_EXPORT PlanarAngle : public PlanarFigure
00036 {
00037 public:
00038 mitkClassMacro( PlanarAngle, PlanarFigure );
00039
00040 itkNewMacro( Self );
00041 public:
00042
00043 const unsigned int FEATURE_ID_ANGLE;
00044
00050
00051
00053 unsigned int GetMinimumNumberOfControlPoints() const
00054 {
00055 return 3;
00056 }
00057
00058
00060 unsigned int GetMaximumNumberOfControlPoints() const
00061 {
00062 return 3;
00063 }
00064
00065 protected:
00066 PlanarAngle();
00067 virtual ~PlanarAngle();
00068
00070 virtual void GeneratePolyLine();
00071
00073 virtual void GenerateHelperPolyLine(double mmPerDisplayUnit, unsigned int displayHeight);
00074
00076 virtual void EvaluateFeaturesInternal();
00077
00078 virtual void PrintSelf( std::ostream &os, itk::Indent indent ) const;
00079
00080 private:
00081
00082 };
00083
00084 }
00085
00086 #endif //_MITK_PLANAR_ANGLE_H_