Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Private Attributes | Friends | List of all members
ROOT::Experimental::TDrawable Class Referenceabstract

Base class for drawable entities: objects that can be painted on a TPad.

Definition at line 37 of file TDrawable.hxx.

Public Member Functions

virtual ~TDrawable ()
virtual void Execute (const std::string &)
std::string GetId () const
virtual TDrawingOptsBase & GetOptionsBase ()=0
 Get the reference to the drawing options as TDrawingOptsBase. More...
virtual void Paint (Internal::TPadPainter &onPad)=0
virtual void PopulateMenu (TMenuItems &)
 Method can be used to provide menu items for the drawn object. More...

Private Attributes

std::string fId
 object identifier, unique inside TCanvas More...


class TPadBase

#include <ROOT/TDrawable.hxx>

Inheritance diagram for ROOT::Experimental::TDrawable:

Constructor & Destructor Documentation

◆ ~TDrawable()

ROOT::Experimental::TDrawable::~TDrawable ( )

Definition at line 21 of file TDrawable.cxx.

Member Function Documentation

◆ Execute()

void ROOT::Experimental::TDrawable::Execute ( const std::string &  )

◆ GetId()

std::string ROOT::Experimental::TDrawable::GetId ( ) const

Definition at line 56 of file TDrawable.hxx.

◆ GetOptionsBase()

virtual TDrawingOptsBase& ROOT::Experimental::TDrawable::GetOptionsBase ( )
pure virtual

◆ Paint()

virtual void ROOT::Experimental::TDrawable::Paint ( Internal::TPadPainter onPad)
pure virtual

◆ PopulateMenu()

virtual void ROOT::Experimental::TDrawable::PopulateMenu ( TMenuItems )

Method can be used to provide menu items for the drawn object.

Reimplemented in ROOT::Experimental::THistDrawableBase< DERIVED >, ROOT::Experimental::THistDrawableBase< THistDrawable< DIMENSIONS > >, and ROOT::Experimental::TObjectDrawable.

Definition at line 48 of file TDrawable.hxx.

Friends And Related Function Documentation

◆ TPadBase

friend class TPadBase

Definition at line 38 of file TDrawable.hxx.

Member Data Documentation

◆ fId

std::string ROOT::Experimental::TDrawable::fId

object identifier, unique inside TCanvas

Definition at line 40 of file TDrawable.hxx.

Libraries for ROOT::Experimental::TDrawable:

The documentation for this class was generated from the following files: