// This may look like C code, but it is really -*- C++ -*-
//--------------------------------------------------------------------------
// File and Version Information:
//      $Id: trianglefilt.h,v 1.5 2000-04-13 08:17:04 ansari Exp $
//
// Description:
//
// History (add to end):
//      Sophie   Oct, 1999  - creation
//
//------------------------------------------------------------------------
#ifndef TRIANGLEFIL_H_SEEN
#define TRIANGLEFIL_H_SEEN

//----------------------
// Base Class Headers --
//----------------------
#include "specresp.h"

//------------------------------------
// Collaborating Class Declarations --
//------------------------------------

//              ---------------------
//              -- Class Interface --
//              ---------------------
namespace SOPHYA {
class TriangleFilter:public SpectralResponse
{
public:
  //Constructors
  TriangleFilter (double numin, double numax,double nupeak, double valueatpeak); 
  TriangleFilter ();

  // destructor
  ~TriangleFilter();

  //
  //  Function members
  //

  virtual double transmission(double) const;  
  virtual double peakFreq() const; 
  virtual double peakTransmission() const;

protected:
  double _peakTransmission;
  double _nuPeak;
};

}

#endif
