// @(#)root/eve:$Id: TEveTextGL.h 22539 2008-03-08 14:36:37Z rdm $
// Authors: Alja & Matevz Tadel 2008

/*************************************************************************
 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TEveTextGL
#define ROOT_TEveTextGL

#include "TGLObject.h"
#include "TGLFontManager.h"

class TEveText;

class TEveTextGL : public TGLObject
{
private:
   TEveTextGL(const TEveTextGL&);            // Not implemented
   TEveTextGL& operator=(const TEveTextGL&); // Not implemented

protected:
   TEveText              *fM;        // model object.
   mutable TGLFont        fFont;     // FTFont wrapper
   mutable Double_t       fX[4][3];  // 3D position of font

   void    SetFont(TGLRnrCtx & rnrCtx) const;
public:
   TEveTextGL();
   virtual ~TEveTextGL() {}

   virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
   virtual void   SetBBox();

   virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;

   ClassDef(TEveTextGL, 0); // GL renderer class for TEveText.
};

#endif

Last change: Wed Jun 25 08:38:14 2008
Last generated: 2008-06-25 08:38

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.