16#ifndef ROOT7_RHistDrawable
17#define ROOT7_RHistDrawable
28namespace Experimental {
30template <
int DIMENSIONS,
class PRECISION,
template <
int D_,
class P_>
class... STAT>
34template <
int DIMENSIONS>
35class RHistImplPrecisionAgnosticBase;
38template <
int DIMENSIONS>
59 fHistImpl = std::shared_ptr<HistImpl_t>(hist, hist->GetImpl());
89 return std::make_shared<RHistDrawable<1>>(histimpl);
94 return std::make_shared<RHistDrawable<1>>(histimpl);
99 return std::make_shared<RHistDrawable<1>>(histimpl);
104 return std::make_shared<RHistDrawable<1>>(histimpl);
109 return std::make_shared<RHistDrawable<2>>(histimpl);
114 return std::make_shared<RHistDrawable<2>>(histimpl);
119 return std::make_shared<RHistDrawable<2>>(histimpl);
124 return std::make_shared<RHistDrawable<2>>(histimpl);
129 return std::make_shared<RHistDrawable<3>>(histimpl);
134 return std::make_shared<RHistDrawable<3>>(histimpl);
139 return std::make_shared<RHistDrawable<3>>(histimpl);
144 return std::make_shared<RHistDrawable<3>>(histimpl);
Base class for RHistImplBase that abstracts out the histogram's PRECISION.
Drawing line attributes for different objects.
Base class for drawable entities: objects that can be painted on a RPad.
Internal::RIOShared< HistImpl_t > fHistImpl
I/O capable reference on histogram.
const RAttrLine & GetAttrLine() const
RHistDrawable & SetAttrLine(const RAttrLine &attr)
RAttrLine fAttrLine
! line attributes
std::shared_ptr< HistImpl_t > GetHist() const
void PopulateMenu(RMenuItems &) final
Method can be used to provide menu items for the drawn object.
void Execute(const std::string &) final
virtual ~RHistDrawable()=default
RHistDrawable(const std::shared_ptr< HIST > &hist)
void CollectShared(Internal::RIOSharedVector_t &vect) final
std::vector< RIOSharedBase * > RIOSharedVector_t
auto GetDrawable(const std::shared_ptr< DRAWABLE > &drawable)
Central method to insert drawable in list of pad primitives By default drawable placed as is.