USGS

Isis 3.0 Object Programmers' Reference

Home

ExportDescription.h
Go to the documentation of this file.
1 #ifndef ExportDescription_h
2 #define ExportDescription_h
3 
27 #include "CubeAttribute.h"
28 #include "FileName.h"
29 #include "PixelType.h"
30 
31 namespace Isis {
60  public:
75  public:
77 
79  virtual ~ChannelDescription() {};
80 
81  FileName filename() const;
83 
84  void setInputRange(double min, double max);
85  double inputMinimum() const;
86  double inputMaximum() const;
87  bool hasCustomRange() const;
88 
89  private:
92 
95 
98 
100  double m_inputMin;
101 
103  double m_inputMax;
104  };
105 
106  public:
108  ExportDescription(const ExportDescription &descriptionToCopy);
109  virtual ~ExportDescription();
110  ExportDescription &operator=(const ExportDescription &descriptionToCopy);
111 
112  void setPixelType(PixelType type);
113  PixelType pixelType() const;
114  double outputPixelNull() const;
115  double outputPixelValidMin() const;
116  double outputPixelValidMax() const;
117  double outputPixelAbsoluteMin() const;
118  double outputPixelAbsoluteMax() const;
119 
120  int addChannel(FileName filename, CubeAttributeInput &att);
121  int addChannel(FileName filename, CubeAttributeInput &att, double min, double max);
122  const ChannelDescription &channel(int i) const;
123  int channelCount() const;
124 
125  private:
128 
142 
144  };
145 };
146 
147 
148 #endif