Holds an area where drawing on user coordinate-system can be performed.
- Authors
- Axel Naumann axel@.nosp@m.cern.nosp@m..ch Sergey Linev s.lin.nosp@m.ev@g.nosp@m.si.de
- Date
- 2017-09-26
- Warning
- This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
Definition at line 38 of file RFrame.hxx.
|
| RAttrBorder | border {this, "border"} |
| | ! frame border attributes
|
| RAttrValue< bool > | drawAxes {this, "drawAxes", false} |
| | ! draw axes by frame
|
| RAttrFill | fill {this, "fill"} |
| | ! frame fill attributes
|
| RAttrValue< bool > | gridX {this, "gridX", false} |
| | ! show grid for X axis
|
| RAttrValue< bool > | gridY {this, "gridY", false} |
| | ! show grid for Y axis
|
| RAttrMargins | margins {this, "margins"} |
| | ! frame margins relative to pad
|
| RAttrValue< bool > | swapX {this, "swapX", false} |
| | ! swap position of X axis
|
| RAttrValue< bool > | swapY {this, "swapY", false} |
| | ! swap position of Y axis
|
| RAttrValue< int > | ticksX {this, "ticksX", 1} |
| | ! X ticks drawing: 0 - off, 1 - normal, 2 - both sides, 3 - both sides with labels
|
| RAttrValue< int > | ticksY {this, "ticksY", 1} |
| | ! Y ticks drawing: 0 - off, 1 - normal, 2 - both sides, 3 - both sides with labels
|
| RAttrAxis | x {this, "x"} |
| | ! drawing attributes for X axis
|
| RAttrAxis | x2 {this, "x2"} |
| | ! drawing attributes for X2 axis
|
| RAttrAxis | y {this, "y"} |
| | ! drawing attributes for Y axis
|
| RAttrAxis | y2 {this, "y2"} |
| | ! drawing attributes for Y2 axis
|
| RAttrAxis | z {this, "z"} |
| | ! drawing attributes for Z axis
|
|
| RAttrMap | fAttr |
| | attributes values
|
| std::map< unsigned, RUserRanges > | fClientRanges |
| | ! individual client ranges
|
| std::string | fCssClass |
| | user-defined CSS class, used for RStyle
|
| const char * | fCssType {nullptr} |
| | ! drawable type, not stored in the root file, must be initialized in constructor
|
| std::string | fId |
| | user-defined CSS id, used for RStyle
|
| std::weak_ptr< RStyle > | fStyle |
| | ! style applied for RDrawable, not stored when canvas is saved
|
| Version_t | fVersion {1} |
| | ! drawable version, changed from the canvas
|
#include <ROOT/RFrame.hxx>
◆ Version_t
◆ RFrame() [1/3]
| ROOT::Experimental::RFrame::RFrame |
( |
const RFrame & | | ) |
|
|
privatedelete |
◆ RFrame() [2/3]
| ROOT::Experimental::RFrame::RFrame |
( |
| ) |
|
|
inlineprivate |
◆ RFrame() [3/3]
◆ AssignZoomRange()
Internal - assign client zoomed range to specified axis.
Definition at line 36 of file RFrame.cxx.
◆ ClearStyle()
| void ROOT::Experimental::RDrawable::ClearStyle |
( |
| ) |
|
|
inlineinherited |
◆ CollectShared()
|
|
inlineprotectedvirtualinherited |
◆ Display()
|
|
protectedvirtualinherited |
◆ Execute()
| void RDrawable::Execute |
( |
const std::string & | exec | ) |
|
|
protectedvirtualinherited |
◆ GetAttrMap() [1/2]
| RAttrMap & ROOT::Experimental::RDrawable::GetAttrMap |
( |
| ) |
|
|
inlineprotectedinherited |
◆ GetAttrMap() [2/2]
| const RAttrMap & ROOT::Experimental::RDrawable::GetAttrMap |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ GetAxisRanges()
Internal - extract range for specified axis.
Definition at line 24 of file RFrame.cxx.
◆ GetClientRanges()
| void RFrame::GetClientRanges |
( |
unsigned | connid, |
|
|
RUserRanges & | ranges ) |
Return ranges configured for the client.
Definition at line 94 of file RFrame.cxx.
◆ GetCssClass()
| const std::string & ROOT::Experimental::RDrawable::GetCssClass |
( |
| ) |
const |
|
inlineinherited |
◆ GetCssType()
| const char * ROOT::Experimental::RDrawable::GetCssType |
( |
| ) |
const |
|
inlineinherited |
◆ GetId()
| const std::string & ROOT::Experimental::RDrawable::GetId |
( |
| ) |
const |
|
inlineinherited |
◆ GetVersion()
| Version_t ROOT::Experimental::RDrawable::GetVersion |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ IsFrameRequired()
| virtual bool ROOT::Experimental::RDrawable::IsFrameRequired |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ MatchSelector()
| bool RDrawable::MatchSelector |
( |
const std::string & | selector | ) |
const |
|
protectedinherited |
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.
Definition at line 59 of file RDrawable.cxx.
◆ OnDisplayItemDestroyed()
| virtual void ROOT::Experimental::RDrawable::OnDisplayItemDestroyed |
( |
RDisplayItem * | | ) |
const |
|
inlineprotectedvirtualinherited |
◆ operator=()
| RFrame & ROOT::Experimental::RFrame::operator= |
( |
const RFrame & | | ) |
|
|
privatedelete |
◆ PopulateMenu()
◆ SetClientRanges()
| void RFrame::SetClientRanges |
( |
unsigned | connid, |
|
|
const RUserRanges & | ranges, |
|
|
bool | ismainconn ) |
|
private |
Remember client range, can be used for drawing or stats box calculations.
Definition at line 72 of file RFrame.cxx.
◆ SetCssClass()
| void ROOT::Experimental::RDrawable::SetCssClass |
( |
const std::string & | cl | ) |
|
|
inlineinherited |
◆ SetCssType()
| void ROOT::Experimental::RDrawable::SetCssType |
( |
const char * | csstype | ) |
|
|
inlineprotectedinherited |
◆ SetDrawableVersion()
| virtual void ROOT::Experimental::RDrawable::SetDrawableVersion |
( |
Version_t | vers | ) |
|
|
inlineprotectedvirtualinherited |
◆ SetId()
| void ROOT::Experimental::RDrawable::SetId |
( |
const std::string & | id | ) |
|
|
inlineinherited |
◆ UseStyle()
| virtual void ROOT::Experimental::RDrawable::UseStyle |
( |
const std::shared_ptr< RStyle > & | style | ) |
|
|
inlinevirtualinherited |
◆ RPadBase
◆ border
| RAttrBorder ROOT::Experimental::RFrame::border {this, "border"} |
! frame border attributes
Definition at line 181 of file RFrame.hxx.
◆ drawAxes
| RAttrValue<bool> ROOT::Experimental::RFrame::drawAxes {this, "drawAxes", false} |
◆ fAttr
| RAttrMap ROOT::Experimental::RDrawable::fAttr |
|
privateinherited |
◆ fClientRanges
| std::map<unsigned, RUserRanges> ROOT::Experimental::RFrame::fClientRanges |
|
private |
! individual client ranges
Definition at line 147 of file RFrame.hxx.
◆ fCssClass
| std::string ROOT::Experimental::RDrawable::fCssClass |
|
privateinherited |
user-defined CSS class, used for RStyle
Definition at line 175 of file RDrawable.hxx.
◆ fCssType
| const char* ROOT::Experimental::RDrawable::fCssType {nullptr} |
|
privateinherited |
! drawable type, not stored in the root file, must be initialized in constructor
Definition at line 174 of file RDrawable.hxx.
◆ fId
| std::string ROOT::Experimental::RDrawable::fId |
|
privateinherited |
user-defined CSS id, used for RStyle
Definition at line 176 of file RDrawable.hxx.
◆ fill
| RAttrFill ROOT::Experimental::RFrame::fill {this, "fill"} |
! frame fill attributes
Definition at line 182 of file RFrame.hxx.
◆ fStyle
| std::weak_ptr<RStyle> ROOT::Experimental::RDrawable::fStyle |
|
privateinherited |
! style applied for RDrawable, not stored when canvas is saved
Definition at line 173 of file RDrawable.hxx.
◆ fVersion
| Version_t ROOT::Experimental::RDrawable::fVersion {1} |
|
privateinherited |
! drawable version, changed from the canvas
Definition at line 177 of file RDrawable.hxx.
◆ gridX
| RAttrValue<bool> ROOT::Experimental::RFrame::gridX {this, "gridX", false} |
! show grid for X axis
Definition at line 189 of file RFrame.hxx.
◆ gridY
| RAttrValue<bool> ROOT::Experimental::RFrame::gridY {this, "gridY", false} |
! show grid for Y axis
Definition at line 190 of file RFrame.hxx.
◆ margins
| RAttrMargins ROOT::Experimental::RFrame::margins {this, "margins"} |
! frame margins relative to pad
Definition at line 180 of file RFrame.hxx.
◆ swapX
| RAttrValue<bool> ROOT::Experimental::RFrame::swapX {this, "swapX", false} |
! swap position of X axis
Definition at line 191 of file RFrame.hxx.
◆ swapY
| RAttrValue<bool> ROOT::Experimental::RFrame::swapY {this, "swapY", false} |
! swap position of Y axis
Definition at line 192 of file RFrame.hxx.
◆ ticksX
| RAttrValue<int> ROOT::Experimental::RFrame::ticksX {this, "ticksX", 1} |
! X ticks drawing: 0 - off, 1 - normal, 2 - both sides, 3 - both sides with labels
Definition at line 193 of file RFrame.hxx.
◆ ticksY
| RAttrValue<int> ROOT::Experimental::RFrame::ticksY {this, "ticksY", 1} |
! Y ticks drawing: 0 - off, 1 - normal, 2 - both sides, 3 - both sides with labels
Definition at line 194 of file RFrame.hxx.
| RAttrAxis ROOT::Experimental::RFrame::x {this, "x"} |
! drawing attributes for X axis
Definition at line 183 of file RFrame.hxx.
◆ x2
| RAttrAxis ROOT::Experimental::RFrame::x2 {this, "x2"} |
! drawing attributes for X2 axis
Definition at line 186 of file RFrame.hxx.
| RAttrAxis ROOT::Experimental::RFrame::y {this, "y"} |
! drawing attributes for Y axis
Definition at line 184 of file RFrame.hxx.
◆ y2
| RAttrAxis ROOT::Experimental::RFrame::y2 {this, "y2"} |
! drawing attributes for Y2 axis
Definition at line 187 of file RFrame.hxx.
| RAttrAxis ROOT::Experimental::RFrame::z {this, "z"} |
! drawing attributes for Z axis
Definition at line 185 of file RFrame.hxx.
The documentation for this class was generated from the following files: