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_FOURPOINTANGLE_H_
00020 #define _MITK_PLANAR_FOURPOINTANGLE_H_
00021
00022 #include "mitkPlanarFigure.h"
00023 #include "PlanarFigureExports.h"
00024
00025
00026 namespace mitk
00027 {
00028
00029 class Geometry2D;
00030
00036 class PlanarFigure_EXPORT PlanarFourPointAngle : public PlanarFigure
00037 {
00038 public:
00039 mitkClassMacro( PlanarFourPointAngle, PlanarFigure );
00040
00041 itkNewMacro( Self );
00042 public:
00043
00044 const unsigned int FEATURE_ID_ANGLE;
00045
00051
00052
00053
00055 unsigned int GetMinimumNumberOfControlPoints() const
00056 {
00057 return 4;
00058 }
00059
00060
00062 unsigned int GetMaximumNumberOfControlPoints() const
00063 {
00064 return 4;
00065 }
00066
00067
00068 protected:
00069 PlanarFourPointAngle();
00070 virtual ~PlanarFourPointAngle();
00071
00073 virtual void GeneratePolyLine();
00074
00076 virtual void GenerateHelperPolyLine(double mmPerDisplayUnit, unsigned int displayHeight);
00077
00079 virtual void EvaluateFeaturesInternal();
00080
00081
00082 virtual void PrintSelf( std::ostream &os, itk::Indent indent ) const;
00083
00084
00085 private:
00086
00087 };
00088
00089 }
00090
00091 #endif //_MITK_PLANAR_FOURPOINTANGLE_H_