TCrown.h

Go to the documentation of this file.
00001 // @(#)root/graf:$Id: TCrown.h 20882 2007-11-19 11:31:26Z rdm $
00002 // Author: Rene Brun   08/08/2002
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TCrown
00013 #define ROOT_TCrown
00014 
00015 
00016 //////////////////////////////////////////////////////////////////////////
00017 //                                                                      //
00018 // TCrown                                                               //
00019 //                                                                      //
00020 // A crown is defined by an inner and outer radius                      //
00021 // It can also be a truncated crown with [phimin,phimax]                //
00022 //                                                                      //
00023 //////////////////////////////////////////////////////////////////////////
00024 
00025 #ifndef ROOT_TEllipse
00026 #include "TEllipse.h"
00027 #endif
00028 
00029 
00030 class TCrown : public TEllipse {
00031 
00032 public:
00033    TCrown();
00034    TCrown(Double_t x1, Double_t y1,Double_t radin, Double_t radout,
00035           Double_t phimin=0,Double_t phimax=360);
00036    TCrown(const TCrown &crown);
00037    virtual ~TCrown();
00038    void   Copy(TObject &crown) const;
00039    virtual Int_t  DistancetoPrimitive(Int_t px, Int_t py);
00040    virtual void   DrawCrown(Double_t x1, Double_t y1, Double_t radin, Double_t radout,
00041                             Double_t  phimin=0, Double_t  phimax=360, Option_t *option="");
00042    virtual void   ExecuteEvent(Int_t event, Int_t px, Int_t py);
00043    virtual void   Paint(Option_t *option="");
00044    virtual void   SavePrimitive(ostream &out, Option_t *option = "");
00045 
00046    ClassDef(TCrown,1)  //A crown or segment of crown
00047 };
00048 
00049 #endif

Generated on Tue Jul 5 14:14:08 2011 for ROOT_528-00b_version by  doxygen 1.5.1