16 #ifndef ROOT7_TObjectDrawable 17 #define ROOT7_TObjectDrawable 20 #include <ROOT/TDrawingOptsBase.hxx> 22 #include "ROOT/TDisplayItem.hxx" 31 namespace Experimental {
48 const std::shared_ptr<TObject>
fObj;
54 TObjectDrawable(
const std::shared_ptr<TObject> &obj,
const std::string &opt) : fObj(obj), fOpts(opt) {}
68 void Execute(
const std::string &)
final;
84 inline std::unique_ptr<ROOT::Experimental::TObjectDrawable>
85 GetDrawable(
const std::shared_ptr<TObject> &obj,
const std::string &opt =
"")
87 return std::make_unique<ROOT::Experimental::TObjectDrawable>(obj, opt);
std::string fOpts
The drawing options.
Namespace for new ROOT classes and functions.
TObjectDrawingOpts & GetOptions()
TObjectDrawingOpts(const std::string &opts="")
TObjectDrawable(const std::shared_ptr< TObject > &obj, const std::string &opt)
Base class for graphic containers for TDrawable-s.
std::string fOption
v6 draw options
const std::shared_ptr< TObject > fObj
The object to be painted.
const std::string & GetOptionString() const
const TObjectDrawingOpts & GetOptions() const
Get the options - a string!
Abstract interface for object painting on the pad/canvas.
TObjectDisplayItem(TObject *obj, const std::string &opt)
std::shared_ptr< TPadDrawable > GetDrawable(std::unique_ptr< TPad > &&pad, ARGS... args)
const TObject * fObject
object to draw
Mother of all ROOT objects.