Axis drawing.
Definition at line 32 of file RAxisDrawable.hxx.
Public Member Functions | |
RAxisDrawable () | |
RAxisDrawable (const RPadPos &pos, bool vertical, const RPadLength &len) | |
const std::vector< std::string > & | GetLabels () const |
const RPadLength & | GetLength () const |
const RPadPos & | GetPos () const |
bool | IsVertical () const |
RAxisDrawable & | SetLabels (const std::vector< std::string > &lbls) |
RAxisDrawable & | SetLength (const RPadLength &len) |
RAxisDrawable & | SetPos (const RPadPos &pos) |
RAxisDrawable & | SetVertical (bool vertical=true) |
Public Member Functions inherited from ROOT::Experimental::RDrawable | |
RDrawable (const char *csstype) | |
virtual | ~RDrawable () |
void | ClearStyle () |
const std::string & | GetCssClass () const |
const char * | 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) |
Public Attributes | |
RAttrAxis | axis {this, "axis"} |
! axis attributes | |
Private Attributes | |
std::vector< std::string > | fLabels |
axis labels | |
RPadLength | fLength |
axis length | |
RPadPos | fPos |
axis start point | |
bool | fVertical {false} |
is vertical axis | |
Additional Inherited Members | |
Public Types inherited from ROOT::Experimental::RDrawable | |
using | Version_t = uint64_t |
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. | |
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. | |
virtual void | OnDisplayItemDestroyed (RDisplayItem *) const |
RDrawable & | operator= (const RDrawable &)=delete |
virtual void | PopulateMenu (RMenuItems &) |
void | SetCssType (const char *csstype) |
virtual void | SetDrawableVersion (Version_t vers) |
#include <ROOT/RAxisDrawable.hxx>
|
inline |
Definition at line 43 of file RAxisDrawable.hxx.
|
inline |
Definition at line 45 of file RAxisDrawable.hxx.
|
inline |
Definition at line 60 of file RAxisDrawable.hxx.
|
inline |
Definition at line 59 of file RAxisDrawable.hxx.
|
inline |
Definition at line 58 of file RAxisDrawable.hxx.
|
inline |
Definition at line 57 of file RAxisDrawable.hxx.
|
inline |
Definition at line 55 of file RAxisDrawable.hxx.
|
inline |
Definition at line 54 of file RAxisDrawable.hxx.
|
inline |
Definition at line 52 of file RAxisDrawable.hxx.
|
inline |
Definition at line 53 of file RAxisDrawable.hxx.
RAttrAxis ROOT::Experimental::RAxisDrawable::axis {this, "axis"} |
! axis attributes
Definition at line 41 of file RAxisDrawable.hxx.
|
private |
axis labels
Definition at line 37 of file RAxisDrawable.hxx.
|
private |
axis length
Definition at line 36 of file RAxisDrawable.hxx.
|
private |
axis start point
Definition at line 34 of file RAxisDrawable.hxx.
|
private |
is vertical axis
Definition at line 35 of file RAxisDrawable.hxx.