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_ARROW_H_
00020 #define _MITK_PLANAR_ARROW_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 PlanarArrow : public PlanarFigure
00036 {
00037 public:
00038 mitkClassMacro( PlanarArrow, PlanarFigure );
00039
00040 itkNewMacro( Self );
00041
00042
00048
00049
00050
00052 unsigned int GetMinimumNumberOfControlPoints() const
00053 {
00054 return 2;
00055 }
00056
00057
00059 unsigned int GetMaximumNumberOfControlPoints() const
00060 {
00061 return 2;
00062 }
00063
00064
00065 protected:
00066 PlanarArrow();
00067 virtual ~PlanarArrow();
00068
00070 virtual void GeneratePolyLine();
00071
00073 virtual void GenerateHelperPolyLine(double mmPerDisplayUnit, unsigned int displayHeight);
00074
00076 virtual void EvaluateFeaturesInternal();
00077
00078
00079 virtual void PrintSelf( std::ostream &os, itk::Indent indent ) const;
00080
00081
00082 const unsigned int FEATURE_ID_LENGTH;
00083
00084
00085 private:
00086
00087 };
00088
00089 }
00090
00091 #endif //_MITK_PLANAR_ARROW_H_