24 std::size_t oldSize = fUserCoord.size();
25 if (oldSize >= nDimensions)
27 fUserCoord.resize(nDimensions);
28 for (std::size_t idx = oldSize; idx < nDimensions; ++idx)
Holds a user coordinate system with a palette.
void GrowToDimensions(size_t nDimensions)
Create nDimensions default axes for the user coordinate system.
RPalette fPalette
Palette used to visualize user coordinates.
std::vector< std::unique_ptr< RPadUserAxisBase > > fUserCoord
Mapping of user coordinates to normal coordinates, one entry per dimension.
static const RPalette & GetPalette(std::string_view name)
Get a global palette by name.