Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
ROOT::Experimental::TObjectDrawable Class Reference

Definition at line 47 of file TObjectDrawable.hxx.

Public Member Functions

 TObjectDrawable ()=default
 TObjectDrawable (const std::shared_ptr< TObject > &obj, const std::string &opt)
void Execute (const std::string &) final
 Executes menu item. More...
const TObjectDrawingOptsGetOptions () const
 Get the options - a string! More...
TObjectDrawingOptsGetOptions ()
void Paint (Internal::TPadPainter &canv) final
 Paint the object. More...
void PopulateMenu (TMenuItems &) final
 Fill menu items for the object. More...
- Public Member Functions inherited from ROOT::Experimental::TDrawableBase< TObjectDrawable >
TDrawingOptsBase & GetOptionsBase () override
 Get the reference to the drawing options as TDrawingOptsBase. More...
- Public Member Functions inherited from ROOT::Experimental::TDrawable
virtual ~TDrawable ()
std::string GetId () const

Private Attributes

const std::shared_ptr< TObjectfObj
 The object to be painted. More...
TObjectDrawingOpts fOpts

#include <ROOT/TObjectDrawable.hxx>

Inheritance diagram for ROOT::Experimental::TObjectDrawable:

Constructor & Destructor Documentation

◆ TObjectDrawable() [1/2]

ROOT::Experimental::TObjectDrawable::TObjectDrawable ( )

◆ TObjectDrawable() [2/2]

ROOT::Experimental::TObjectDrawable::TObjectDrawable ( const std::shared_ptr< TObject > &  obj,
const std::string &  opt 

Definition at line 54 of file TObjectDrawable.hxx.

Member Function Documentation

◆ Execute()

void ROOT::Experimental::TObjectDrawable::Execute ( const std::string &  exec)

Executes menu item.

Reimplemented from ROOT::Experimental::TDrawable.

Definition at line 41 of file TObjectDrawable.cxx.

◆ GetOptions() [1/2]

const TObjectDrawingOpts& ROOT::Experimental::TObjectDrawable::GetOptions ( ) const

Get the options - a string!

Definition at line 63 of file TObjectDrawable.hxx.

◆ GetOptions() [2/2]

TObjectDrawingOpts& ROOT::Experimental::TObjectDrawable::GetOptions ( )

Definition at line 65 of file TObjectDrawable.hxx.

◆ Paint()

void ROOT::Experimental::TObjectDrawable::Paint ( Internal::TPadPainter canv)

Paint the object.

Implements ROOT::Experimental::TDrawable.

Definition at line 28 of file TObjectDrawable.cxx.

◆ PopulateMenu()

void ROOT::Experimental::TObjectDrawable::PopulateMenu ( TMenuItems items)

Fill menu items for the object.

Reimplemented from ROOT::Experimental::TDrawable.

Definition at line 33 of file TObjectDrawable.cxx.

Member Data Documentation

◆ fObj

const std::shared_ptr<TObject> ROOT::Experimental::TObjectDrawable::fObj

The object to be painted.

Definition at line 48 of file TObjectDrawable.hxx.

◆ fOpts

TObjectDrawingOpts ROOT::Experimental::TObjectDrawable::fOpts

Definition at line 49 of file TObjectDrawable.hxx.

Libraries for ROOT::Experimental::TObjectDrawable:

The documentation for this class was generated from the following files: