ROOT logo
#ifndef __FHCONTOUR_h__
#define __FHCONTOUR_h__

#include "TNamed.h"
#include "TGWindow.h"
#include "TArrayI.h"
#include "TArrayD.h"

namespace std {} using namespace std;


//////////////////////////////////////////////////////////////////////////////
// Name:           FhContour
// Description:    Store a user contour with name and title.
// Keywords:       
//////////////////////////////////////////////////////////////////////////////

class  FhContour : public TNamed {
   protected:
      TArrayD fLevels;
      TArrayI fColors;
   public:
      FhContour(){};
      FhContour(const char* name, const char* title, const Int_t len = 0, 
                const Double_t * levels = 0, const Int_t * colors = 0);
      virtual ~FhContour(){};
      void Set(Int_t nlevels, const Double_t * levels, const Int_t * colors) {
         fLevels.Set(nlevels, levels); 
         fColors.Set(nlevels, colors);
      }
      TArrayI * GetColorArray() { return &fColors; }
      TArrayD * GetLevelArray() { return &fLevels; }
      void Print(Option_t * Option) const { TObject::Print(Option); }
      void Print();
      Int_t Edit(TGWindow * canvas = NULL);
//      void Draw(){};
    
ClassDef(FhContour,1)
};

#endif

 FhContour.h:1
 FhContour.h:2
 FhContour.h:3
 FhContour.h:4
 FhContour.h:5
 FhContour.h:6
 FhContour.h:7
 FhContour.h:8
 FhContour.h:9
 FhContour.h:10
 FhContour.h:11
 FhContour.h:12
 FhContour.h:13
 FhContour.h:14
 FhContour.h:15
 FhContour.h:16
 FhContour.h:17
 FhContour.h:18
 FhContour.h:19
 FhContour.h:20
 FhContour.h:21
 FhContour.h:22
 FhContour.h:23
 FhContour.h:24
 FhContour.h:25
 FhContour.h:26
 FhContour.h:27
 FhContour.h:28
 FhContour.h:29
 FhContour.h:30
 FhContour.h:31
 FhContour.h:32
 FhContour.h:33
 FhContour.h:34
 FhContour.h:35
 FhContour.h:36
 FhContour.h:37
 FhContour.h:38
 FhContour.h:39
 FhContour.h:40
 FhContour.h:41
 FhContour.h:42