Provides v7 drawing facilities for TObject types (TGraph etc).
Definition at line 29 of file RObjectDrawable.hxx.
Public Member Functions | |
RObjectDrawable () | |
RObjectDrawable (const std::shared_ptr< TObject > &obj, const std::string &opt) | |
Public Member Functions inherited from ROOT::Experimental::RDrawable | |
RDrawable (const std::string &type) | |
virtual | ~RDrawable () |
void | ClearStyle () |
const std::string & | GetCssClass () const |
const std::string & | GetCssType () const |
const std::string & | GetId () const |
void | SetCssClass (const std::string &cl) |
void | SetId (const std::string &id) |
virtual void | UseStyle (const std::shared_ptr< RStyle > &style) |
Protected Member Functions | |
void | CollectShared (Internal::RIOSharedVector_t &vect) final |
std::unique_ptr< RDisplayItem > | Display (const RDisplayContext &) override |
Creates display item for drawable By default item contains drawable data itself. More... | |
void | Execute (const std::string &) final |
void | PopulateMenu (RMenuItems &) final |
Protected Member Functions inherited from ROOT::Experimental::RDrawable | |
RDrawable (const RDrawable &)=delete | |
virtual void | CollectShared (Internal::RIOSharedVector_t &) |
virtual std::unique_ptr< RDisplayItem > | Display (const RDisplayContext &) |
Creates display item for drawable By default item contains drawable data itself. More... | |
virtual void | Execute (const std::string &) |
RAttrMap & | GetAttrMap () |
const RAttrMap & | GetAttrMap () const |
Version_t | GetVersion () const |
virtual bool | IsFrameRequired () const |
bool | MatchSelector (const std::string &selector) const |
Preliminary method which checks if drawable matches with given selector Following selector are allowed: "type" or "#id" or ".class_name" Here type is drawable kind like 'rect' or 'pad' id is drawable identifier, specified with RDrawable::SetId() method class_name is drawable class name, specified with RDrawable::SetCssClass() method. More... | |
RDrawable & | operator= (const RDrawable &)=delete |
virtual void | PopulateMenu (RMenuItems &) |
virtual void | SetDrawableVersion (Version_t vers) |
Private Attributes | |
Internal::RIOShared< TObject > | fObj |
The object to be painted. More... | |
std::string | fOpts |
drawing options More... | |
Additional Inherited Members | |
Public Types inherited from ROOT::Experimental::RDrawable | |
using | Version_t = uint64_t |
#include <ROOT/RObjectDrawable.hxx>
|
inline |
Definition at line 46 of file RObjectDrawable.hxx.
|
inline |
Definition at line 48 of file RObjectDrawable.hxx.
|
inlinefinalprotectedvirtual |
Reimplemented from ROOT::Experimental::RDrawable.
Definition at line 37 of file RObjectDrawable.hxx.
|
overrideprotectedvirtual |
Creates display item for drawable By default item contains drawable data itself.
Reimplemented from ROOT::Experimental::RDrawable.
Definition at line 24 of file RObjectDrawable.cxx.
|
finalprotectedvirtual |
Reimplemented from ROOT::Experimental::RDrawable.
Definition at line 37 of file RObjectDrawable.cxx.
|
finalprotectedvirtual |
Reimplemented from ROOT::Experimental::RDrawable.
Definition at line 31 of file RObjectDrawable.cxx.
|
private |
The object to be painted.
Definition at line 31 of file RObjectDrawable.hxx.
|
private |
drawing options
Definition at line 33 of file RObjectDrawable.hxx.