USGS

Isis 3.0 Object Programmers' Reference

Home

ProcessByBoxcar.h
Go to the documentation of this file.
1 #ifndef ProcessByBoxcar_h
2 #define ProcessByBoxcar_h
3 
25 #include "Process.h"
26 #include "Buffer.h"
27 
28 namespace Isis {
55  class ProcessByBoxcar : public Isis::Process {
56 
57  private:
58  bool p_boxsizeSet;
60  int p_boxLines;
61 
62 
63  public:
64 
67  p_boxsizeSet = false;
68  };
69 
71  virtual ~ProcessByBoxcar() {};
72 
73  void SetBoxcarSize(const int ns, const int nl);
74 
75  virtual void StartProcess(void funct(Isis::Buffer &in, double &out));
76  void ProcessCube(void funct(Isis::Buffer &in, double &out)) {
77  StartProcess(funct);
78  }
79 
80  void EndProcess();
81  void Finalize();
82  };
83 };
84 
85 #endif