Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkGIFGrayLevelRunLength.h
Go to the documentation of this file.
1 #ifndef mitkGIFGrayLevelRunLength_h
2 #define mitkGIFGrayLevelRunLength_h
3 
5 #include <mitkBaseData.h>
7 
8 namespace mitk
9 {
11  {
12  public:
14  itkFactorylessNewMacro(Self)
15  itkCloneMacro(Self)
16 
18 
22  virtual FeatureListType CalculateFeatures(const Image::Pointer & image, const Image::Pointer &feature) override;
23 
27  virtual FeatureNameListType GetFeatureNames() override;
28 
29  itkGetConstMacro(Range,double);
30  itkSetMacro(Range, double);
31 
32  itkGetConstMacro(UseCtRange, bool);
33  itkSetMacro(UseCtRange, bool);
34 
35  itkGetConstMacro(Direction, unsigned int);
36  itkSetMacro(Direction, unsigned int);
37 
39  {
41  double m_Range;
42  unsigned int m_Direction;
43  };
44 
45  private:
46  double m_Range;
47  bool m_UseCtRange;
48  unsigned int m_Direction;
49  };
50 }
51 #endif //mitkGIFGrayLevelRunLength_h
Base of all data objects.
Definition: mitkBaseData.h:39
DataCollection - Class to facilitate loading/accessing structured data.
std::vector< std::pair< std::string, double > > FeatureListType
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
#define MITKCLUTILITIES_EXPORT