ROOT 6.14/05 Reference Guide |
Holds a user coordinate system with a palette.
Definition at line 35 of file TFrame.hxx.
Classes | |
class | DrawingOpts |
Public Member Functions | |
TFrame () | |
TFrame (std::vector< std::unique_ptr< TPadUserAxisBase >> &&coords, const DrawingOpts &opts) | |
Constructor taking user coordinate system, position and extent. More... | |
TFrame (const DrawingOpts &opts) | |
size_t | GetNDimensions () const |
Get the number of axes. More... | |
TPadUserAxisBase & | GetUserAxis (size_t dimension) const |
Get the current user coordinate system for a given dimension. More... | |
void | GrowToDimensions (size_t nDimensions) |
Create nDimensions default axes for the user coordinate system. More... | |
void | SetUserAxis (std::vector< std::unique_ptr< TPadUserAxisBase >> &&axes) |
Set the user coordinate system. More... | |
std::array< TPadLength::Normal, 2 > | UserToNormal (const std::array< TPadLength::User, 2 > &pos) const |
Convert user coordinates to normal coordinates. More... | |
Private Attributes | |
TPalette | fPalette |
Palette used to visualize user coordinates. More... | |
TPadPos | fPos |
Offset with respect to parent TPad. More... | |
TPadExtent | fSize |
Size of the frame, in parent TPad coordinates. More... | |
std::vector< std::unique_ptr< TPadUserAxisBase > > | fUserCoord |
Mapping of user coordinates to normal coordinates, one entry per dimension. More... | |
#include <ROOT/TFrame.hxx>
|
inline |
Definition at line 60 of file TFrame.hxx.
|
explicit |
Constructor taking user coordinate system, position and extent.
Definition at line 23 of file TFrame.cxx.
|
inlineexplicit |
Definition at line 69 of file TFrame.hxx.
|
inline |
Get the number of axes.
Definition at line 77 of file TFrame.hxx.
|
inline |
Get the current user coordinate system for a given dimension.
Definition at line 80 of file TFrame.hxx.
void TFrame::GrowToDimensions | ( | size_t | nDimensions | ) |
Create nDimensions
default axes for the user coordinate system.
Definition at line 27 of file TFrame.cxx.
|
inline |
Set the user coordinate system.
Definition at line 83 of file TFrame.hxx.
|
inline |
Convert user coordinates to normal coordinates.
Definition at line 86 of file TFrame.hxx.
|
private |
Palette used to visualize user coordinates.
Definition at line 50 of file TFrame.hxx.
|
private |
Offset with respect to parent TPad.
Definition at line 53 of file TFrame.hxx.
|
private |
Size of the frame, in parent TPad coordinates.
Definition at line 56 of file TFrame.hxx.
|
private |
Mapping of user coordinates to normal coordinates, one entry per dimension.
Definition at line 47 of file TFrame.hxx.