USGS

Isis 3.0 Object Programmers' Reference

Home

Centroid.h
Go to the documentation of this file.
1 #ifndef Centroid_h
2 #define Centroid_h
3 
26 #include "Chip.h"
27 #include "Selection.h"
28 #include "Statistics.h"
29 
30 namespace Isis {
43  class Centroid : public Selection
44  {
45  public:
46  Centroid();
47  virtual ~Centroid();
48  int select(Chip *inputChip,Chip *selectionChip); //pure virtual function to be defined in this child class
49  int setDNRange( double minimumDN,double maximumDN );
50  double getMinDN();
51  double getMaxDN();
52  private:
53  double m_maxDN; //range of dynamic numbers (DN's) to be included in the selection
54  double m_minDN;
55  };
56 }
57 #endif