| Last change
 on this file since 2739 was             901, checked in by ansari, 26 years ago | 
        
          | 
Sophie: adding the namespace SOPHYA in the .h files
 | 
        
          | File size:
            1.2 KB | 
      
      
| Rev | Line |  | 
|---|
| [601] | 1 | // This may look like C code, but it is really -*- C++ -*- | 
|---|
|  | 2 | //-------------------------------------------------------------------------- | 
|---|
|  | 3 | // File and Version Information: | 
|---|
| [901] | 4 | //      $Id: trianglefilt.h,v 1.5 2000-04-13 08:17:04 ansari Exp $ | 
|---|
| [601] | 5 | // | 
|---|
|  | 6 | // Description: | 
|---|
|  | 7 | // | 
|---|
|  | 8 | // History (add to end): | 
|---|
|  | 9 | //      Sophie   Oct, 1999  - creation | 
|---|
|  | 10 | // | 
|---|
|  | 11 | //------------------------------------------------------------------------ | 
|---|
|  | 12 | #ifndef TRIANGLEFIL_H_SEEN | 
|---|
|  | 13 | #define TRIANGLEFIL_H_SEEN | 
|---|
|  | 14 |  | 
|---|
|  | 15 | //---------------------- | 
|---|
|  | 16 | // Base Class Headers -- | 
|---|
|  | 17 | //---------------------- | 
|---|
|  | 18 | #include "specresp.h" | 
|---|
|  | 19 |  | 
|---|
|  | 20 | //------------------------------------ | 
|---|
|  | 21 | // Collaborating Class Declarations -- | 
|---|
|  | 22 | //------------------------------------ | 
|---|
|  | 23 |  | 
|---|
|  | 24 | //              --------------------- | 
|---|
|  | 25 | //              -- Class Interface -- | 
|---|
|  | 26 | //              --------------------- | 
|---|
| [901] | 27 | namespace SOPHYA { | 
|---|
| [601] | 28 | class TriangleFilter:public SpectralResponse | 
|---|
|  | 29 | { | 
|---|
|  | 30 | public: | 
|---|
|  | 31 | //Constructors | 
|---|
|  | 32 | TriangleFilter (double numin, double numax,double nupeak, double valueatpeak); | 
|---|
| [668] | 33 | TriangleFilter (); | 
|---|
| [601] | 34 |  | 
|---|
|  | 35 | // destructor | 
|---|
|  | 36 | ~TriangleFilter(); | 
|---|
|  | 37 |  | 
|---|
|  | 38 | // | 
|---|
|  | 39 | //  Function members | 
|---|
|  | 40 | // | 
|---|
|  | 41 |  | 
|---|
|  | 42 | virtual double transmission(double) const; | 
|---|
|  | 43 | virtual double peakFreq() const; | 
|---|
|  | 44 | virtual double peakTransmission() const; | 
|---|
|  | 45 |  | 
|---|
|  | 46 | protected: | 
|---|
|  | 47 | double _peakTransmission; | 
|---|
|  | 48 | double _nuPeak; | 
|---|
|  | 49 | }; | 
|---|
|  | 50 |  | 
|---|
| [901] | 51 | } | 
|---|
| [601] | 52 |  | 
|---|
|  | 53 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.