ROOT 6.14/05 Reference Guide |
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... | |
Friends | |
class | TPadBase |
#include <ROOT/TDrawable.hxx>
|
virtual |
Definition at line 21 of file TDrawable.cxx.
|
virtual |
Reimplemented in ROOT::Experimental::THistDrawableBase< DERIVED >, ROOT::Experimental::THistDrawableBase< THistDrawable< DIMENSIONS > >, and ROOT::Experimental::TObjectDrawable.
Definition at line 23 of file TDrawable.cxx.
|
inline |
Definition at line 56 of file TDrawable.hxx.
|
pure virtual |
Get the reference to the drawing options as TDrawingOptsBase.
Used e.g. to identify the TDrawable in the list of primitives.
Implemented in ROOT::Experimental::TDrawableBase< DERIVED >, ROOT::Experimental::TDrawableBase< TObjectDrawable >, ROOT::Experimental::TDrawableBase< TPadDrawable >, and ROOT::Experimental::TDrawableBase< THistDrawable< DIMENSIONS > >.
|
pure virtual |
|
inlinevirtual |
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.
|
friend |
Definition at line 38 of file TDrawable.hxx.
|
private |
object identifier, unique inside TCanvas
Definition at line 40 of file TDrawable.hxx.