21namespace Experimental {
36 std::vector<std::unique_ptr<RPadUserAxisBase>>
fUserCoord;
49 explicit RFrame(std::vector<std::unique_ptr<RPadUserAxisBase>> &&coords);
64 std::array<RPadLength::Normal, 2>
UserToNormal(
const std::array<RPadLength::User, 2> &pos)
const
Base class for drawable entities: objects that can be painted on a RPad.
Holds a user coordinate system with a palette.
std::array< RPadLength::Normal, 2 > UserToNormal(const std::array< RPadLength::User, 2 > &pos) const
Convert user coordinates to normal coordinates.
void GrowToDimensions(size_t nDimensions)
Create nDimensions default axes for the user coordinate system.
RPalette fPalette
Palette used to visualize user coordinates.
size_t GetNDimensions() const
Get the number of axes.
void SetUserAxis(std::vector< std::unique_ptr< RPadUserAxisBase > > &&axes)
Set the user coordinate system.
std::vector< std::unique_ptr< RPadUserAxisBase > > fUserCoord
Mapping of user coordinates to normal coordinates, one entry per dimension.
RPadUserAxisBase & GetUserAxis(size_t dimension) const
Get the current user coordinate system for a given dimension.
Base class for user coordinates (e.g.