9#ifndef ROOT7_RObjectDrawable
10#define ROOT7_RObjectDrawable
17namespace Experimental {
39 std::unique_ptr<RDisplayItem>
Display()
const override;
50 void Execute(
const std::string &)
final;
Base class for drawable entities: objects that can be painted on a RPad.
Provides v7 drawing facilities for TObject types (TGraph etc).
std::string fOpts
drawing options
Internal::RIOShared< TObject > fObj
The object to be painted.
void Execute(const std::string &) final
Executes menu item.
std::unique_ptr< RDisplayItem > Display() const override
Creates display item for drawable By default item contains drawble data itself.
void PopulateMenu(RMenuItems &) final
Fill menu items for the object.
void CollectShared(Internal::RIOSharedVector_t &vect) final
RObjectDrawable(const std::shared_ptr< TObject > &obj, const std::string &opt)
Mother of all ROOT objects.
std::vector< RIOSharedBase * > RIOSharedVector_t