|
ROOT 6.18/05 Reference Guide |
Base class for drawable entities: objects that can be painted on a RPad.
Definition at line 37 of file RDrawable.hxx.
Public Member Functions | |
| virtual | ~RDrawable () |
| virtual void | Execute (const std::string &) |
| std::string | GetId () const |
| virtual RDrawingOptsBase & | GetOptionsBase ()=0 |
| Get the reference to the drawing options as RDrawingOptsBase. More... | |
| virtual void | Paint (Internal::RPadPainter &onPad)=0 |
| virtual void | PopulateMenu (RMenuItems &) |
| Method can be used to provide menu items for the drawn object. More... | |
Private Attributes | |
| std::string | fId |
| object identifier, unique inside RCanvas More... | |
Friends | |
| class | RPadBase |
#include <ROOT/RDrawable.hxx>
|
virtual |
Definition at line 21 of file RDrawable.cxx.
|
virtual |
Reimplemented in ROOT::Experimental::RObjectDrawable, ROOT::Experimental::RHistDrawableBase< DERIVED >, and ROOT::Experimental::RHistDrawableBase< RHistDrawable< DIMENSIONS > >.
Definition at line 23 of file RDrawable.cxx.
|
inline |
Definition at line 56 of file RDrawable.hxx.
|
pure virtual |
Get the reference to the drawing options as RDrawingOptsBase.
Used e.g. to identify the RDrawable in the list of primitives.
Implemented in ROOT::Experimental::RDrawableBase< DERIVED >, ROOT::Experimental::RDrawableBase< RHistDrawable< DIMENSIONS > >, ROOT::Experimental::RDrawableBase< RObjectDrawable >, and ROOT::Experimental::RDrawableBase< RPadDrawable >.
|
pure virtual |
|
inlinevirtual |
Method can be used to provide menu items for the drawn object.
Reimplemented in ROOT::Experimental::RObjectDrawable, ROOT::Experimental::RHistDrawableBase< DERIVED >, and ROOT::Experimental::RHistDrawableBase< RHistDrawable< DIMENSIONS > >.
Definition at line 48 of file RDrawable.hxx.
|
friend |
Definition at line 38 of file RDrawable.hxx.
|
private |
object identifier, unique inside RCanvas
Definition at line 40 of file RDrawable.hxx.