#ifndef ROOT_TEveText
#define ROOT_TEveText
#include "TNamed.h"
#include "TAtt3D.h"
#include "TAttBBox.h"
#include "TEveElement.h"
#include "TEveTrans.h"
class TEveText : public TEveElement,
                 public TNamed,
                 public TAtt3D,
                 public TAttBBox
{
private:
   TEveText(const TEveText&);            
   TEveText& operator=(const TEveText&); 
protected:
   TString   fText;       
   Color_t   fTextColor;  
   Int_t     fFontSize;   
   Int_t     fFontFile;   
   Int_t     fFontMode;   
   Float_t   fExtrude;    
   Bool_t    fAutoLighting; 
   Bool_t    fLighting;     
public:
   TEveText(const Text_t* txt="");
   virtual ~TEveText() {}
   Int_t   GetFontSize() const { return fFontSize; }
   Int_t   GetFontFile() const { return fFontFile; }
   Int_t   GetFontMode() const { return fFontMode; }
   void    SetFontSize(Int_t size, Bool_t validate = kTRUE);
   void    SetFontFile(Int_t file){ fFontFile = file; }
   void    SetFontFile(const char* name);
   void    SetFontMode(Int_t mode);
   const   Text_t* GetText() const  { return fText.Data(); }
   void    SetText(const Text_t* t) { fText = t; }
   Bool_t  GetLighting() const      { return fLighting; }
   void    SetLighting(Bool_t isOn) { fLighting = isOn; }
   Bool_t  GetAutoLighting() const      { return fAutoLighting; }
   void    SetAutoLighting(Bool_t isOn) { fAutoLighting = isOn; }
   Float_t GetExtrude() const    { return fExtrude; }
   void    SetExtrude(Float_t x) { fExtrude = x;    }
   virtual Bool_t CanEditMainColor() const { return kTRUE; }
   virtual void   Paint(Option_t* option="");
   virtual void   ComputeBBox();
   virtual const TGPicture* GetListTreeIcon(Bool_t open=kFALSE);
   ClassDef(TEveText, 0); 
};
#endif
Last change: Tue May 13 17:09:55 2008
Last generated: 2008-05-13 17:09
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.