Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RAxisDrawableBase Class Reference

Axis base drawing - only attributes and position.

Author
Sergey Linev S.Lin.nosp@m.ev@g.nosp@m.si.de
Date
2020-11-03
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition at line 32 of file RAxisDrawable.hxx.

Public Member Functions

 RAxisDrawableBase ()
 
 RAxisDrawableBase (const RPadPos &pos, bool vertical, const RPadLength &len)
 
RAttrAxisAttrAxis ()
 
const RAttrAxisGetAttrAxis () const
 
const RPadLengthGetLength () const
 
const RPadPosGetPos () const
 
bool IsVertical () const
 
RAxisDrawableBaseSetAttrAxis (const RAttrAxis &attr)
 
RAxisDrawableBaseSetLength (const RPadLength &len)
 
RAxisDrawableBaseSetPos (const RPadPos &pos)
 
RAxisDrawableBaseSetVertical (bool vertical=true)
 
- 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)
 

Private Attributes

RAttrAxis fAttrAxis {this, "axis"}
 ! axis attributes
 
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< RDisplayItemDisplay (const RDisplayContext &)
 Creates display item for drawable By default item contains drawable data itself.
 
virtual void Execute (const std::string &)
 
RAttrMapGetAttrMap ()
 
const RAttrMapGetAttrMap () 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
 
RDrawableoperator= (const RDrawable &)=delete
 
virtual void PopulateMenu (RMenuItems &)
 
virtual void SetDrawableVersion (Version_t vers)
 

#include <ROOT/RAxisDrawable.hxx>

Inheritance diagram for ROOT::Experimental::RAxisDrawableBase:
[legend]

Constructor & Destructor Documentation

◆ RAxisDrawableBase() [1/2]

ROOT::Experimental::RAxisDrawableBase::RAxisDrawableBase ( )
inline

Definition at line 41 of file RAxisDrawable.hxx.

◆ RAxisDrawableBase() [2/2]

ROOT::Experimental::RAxisDrawableBase::RAxisDrawableBase ( const RPadPos pos,
bool  vertical,
const RPadLength len 
)
inline

Definition at line 43 of file RAxisDrawable.hxx.

Member Function Documentation

◆ AttrAxis()

RAttrAxis & ROOT::Experimental::RAxisDrawableBase::AttrAxis ( )
inline

Definition at line 60 of file RAxisDrawable.hxx.

◆ GetAttrAxis()

const RAttrAxis & ROOT::Experimental::RAxisDrawableBase::GetAttrAxis ( ) const
inline

Definition at line 58 of file RAxisDrawable.hxx.

◆ GetLength()

const RPadLength & ROOT::Experimental::RAxisDrawableBase::GetLength ( ) const
inline

Definition at line 56 of file RAxisDrawable.hxx.

◆ GetPos()

const RPadPos & ROOT::Experimental::RAxisDrawableBase::GetPos ( ) const
inline

Definition at line 55 of file RAxisDrawable.hxx.

◆ IsVertical()

bool ROOT::Experimental::RAxisDrawableBase::IsVertical ( ) const
inline

Definition at line 54 of file RAxisDrawable.hxx.

◆ SetAttrAxis()

RAxisDrawableBase & ROOT::Experimental::RAxisDrawableBase::SetAttrAxis ( const RAttrAxis attr)
inline

Definition at line 59 of file RAxisDrawable.hxx.

◆ SetLength()

RAxisDrawableBase & ROOT::Experimental::RAxisDrawableBase::SetLength ( const RPadLength len)
inline

Definition at line 52 of file RAxisDrawable.hxx.

◆ SetPos()

RAxisDrawableBase & ROOT::Experimental::RAxisDrawableBase::SetPos ( const RPadPos pos)
inline

Definition at line 50 of file RAxisDrawable.hxx.

◆ SetVertical()

RAxisDrawableBase & ROOT::Experimental::RAxisDrawableBase::SetVertical ( bool  vertical = true)
inline

Definition at line 51 of file RAxisDrawable.hxx.

Member Data Documentation

◆ fAttrAxis

RAttrAxis ROOT::Experimental::RAxisDrawableBase::fAttrAxis {this, "axis"}
private

! axis attributes

Definition at line 37 of file RAxisDrawable.hxx.

◆ fLength

RPadLength ROOT::Experimental::RAxisDrawableBase::fLength
private

axis length

Definition at line 36 of file RAxisDrawable.hxx.

◆ fPos

RPadPos ROOT::Experimental::RAxisDrawableBase::fPos
private

axis start point

Definition at line 34 of file RAxisDrawable.hxx.

◆ fVertical

bool ROOT::Experimental::RAxisDrawableBase::fVertical {false}
private

is vertical axis

Definition at line 35 of file RAxisDrawable.hxx.

Libraries for ROOT::Experimental::RAxisDrawableBase:

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