Logo ROOT   6.18/05
Reference Guide
List of all members | Classes | Public Member Functions | Private Attributes | List of all members
ROOT::Experimental::RFrame Class Reference

Holds a user coordinate system with a palette.

Definition at line 33 of file RFrame.hxx.

Classes

class  DrawingOpts
 

Public Member Functions

 RFrame ()
 
 RFrame (const DrawingOpts &opts)
 
 RFrame (std::vector< std::unique_ptr< RPadUserAxisBase > > &&coords, const DrawingOpts &opts)
 Constructor taking user coordinate system, position and extent. More...
 
DrawingOptsGetDrawingOpts ()
 
size_t GetNDimensions () const
 Get the number of axes. More...
 
RPadUserAxisBaseGetUserAxis (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< RPadUserAxisBase > > &&axes)
 Set the user coordinate system. More...
 
std::array< RPadLength::Normal, 2 > UserToNormal (const std::array< RPadLength::User, 2 > &pos) const
 Convert user coordinates to normal coordinates. More...
 

Private Attributes

DrawingOpts fOpts
 Drawing options. More...
 
RPalette fPalette
 Palette used to visualize user coordinates. More...
 
std::vector< std::unique_ptr< RPadUserAxisBase > > fUserCoord
 Mapping of user coordinates to normal coordinates, one entry per dimension. More...
 

#include <ROOT/RFrame.hxx>

Constructor & Destructor Documentation

◆ RFrame() [1/3]

ROOT::Experimental::RFrame::RFrame ( )
inline

Definition at line 52 of file RFrame.hxx.

◆ RFrame() [2/3]

ROOT::Experimental::RFrame::RFrame ( std::vector< std::unique_ptr< RPadUserAxisBase > > &&  coords,
const DrawingOpts opts 
)
explicit

Constructor taking user coordinate system, position and extent.

Definition at line 23 of file RFrame.cxx.

◆ RFrame() [3/3]

ROOT::Experimental::RFrame::RFrame ( const DrawingOpts opts)
inlineexplicit

Definition at line 61 of file RFrame.hxx.

Member Function Documentation

◆ GetDrawingOpts()

DrawingOpts & ROOT::Experimental::RFrame::GetDrawingOpts ( )
inline

Definition at line 65 of file RFrame.hxx.

◆ GetNDimensions()

size_t ROOT::Experimental::RFrame::GetNDimensions ( ) const
inline

Get the number of axes.

Definition at line 71 of file RFrame.hxx.

◆ GetUserAxis()

RPadUserAxisBase & ROOT::Experimental::RFrame::GetUserAxis ( size_t  dimension) const
inline

Get the current user coordinate system for a given dimension.

Definition at line 74 of file RFrame.hxx.

◆ GrowToDimensions()

void ROOT::Experimental::RFrame::GrowToDimensions ( size_t  nDimensions)

Create nDimensions default axes for the user coordinate system.

Definition at line 27 of file RFrame.cxx.

◆ SetUserAxis()

void ROOT::Experimental::RFrame::SetUserAxis ( std::vector< std::unique_ptr< RPadUserAxisBase > > &&  axes)
inline

Set the user coordinate system.

Definition at line 77 of file RFrame.hxx.

◆ UserToNormal()

std::array< RPadLength::Normal, 2 > ROOT::Experimental::RFrame::UserToNormal ( const std::array< RPadLength::User, 2 > &  pos) const
inline

Convert user coordinates to normal coordinates.

Definition at line 80 of file RFrame.hxx.

Member Data Documentation

◆ fOpts

DrawingOpts ROOT::Experimental::RFrame::fOpts
private

Drawing options.

Definition at line 48 of file RFrame.hxx.

◆ fPalette

RPalette ROOT::Experimental::RFrame::fPalette
private

Palette used to visualize user coordinates.

Definition at line 45 of file RFrame.hxx.

◆ fUserCoord

std::vector<std::unique_ptr<RPadUserAxisBase> > ROOT::Experimental::RFrame::fUserCoord
private

Mapping of user coordinates to normal coordinates, one entry per dimension.

Definition at line 42 of file RFrame.hxx.

Libraries for ROOT::Experimental::RFrame:
[legend]

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