25RFrame::RFrame(std::vector<std::unique_ptr<RPadUserAxisBase>> &&coords) :
RFrame()
69 if (oldSize >= nDimensions)
72 for (std::size_t idx = oldSize; idx < nDimensions; ++idx)
87 std::string
name = is_x ?
"AttrX()" :
"AttrY()";
114 ranges = iter->second;
All kind of drawing a axis: line, text, ticks, min/max, log, invert, ...
double GetZoomMax() const
RAttrAxis & SetZoomMax(double max)
RAttrAxis & SetZoomMin(double min)
double GetZoomMin() const
bool IsUnzoom(unsigned ndim) const
Returns true if axis configured as unzoomed, can be specified from client.
bool HasMin(unsigned ndim) const
void AssignMin(unsigned ndim, double value, bool force=false)
bool HasMax(unsigned ndim) const
double GetMax(unsigned ndim) const
void AssignMax(unsigned ndim, double value, bool force=false)
double GetMin(unsigned ndim) const
Holds an area where drawing on user coordinate-system can be performed.
std::map< unsigned, RUserRanges > fClientRanges
! individual client ranges
const RAttrAxis & GetAttrY() const
const RAttrAxis & GetAttrZ() const
void AssignZoomRange(unsigned ndim, RAttrAxis &axis, const RUserRanges &ranges)
Internal - assign client zoomed range to specified axis.
void GetAxisRanges(unsigned ndim, const RAttrAxis &axis, RUserRanges &ranges) const
Internal - extract range for specified axis.
const RAttrAxis & GetAttrX() const
void GetClientRanges(unsigned connid, RUserRanges &ranges)
Return ranges configured for the client.
std::vector< std::unique_ptr< RPadUserAxisBase > > fUserCoord
Mapping of user coordinates to normal coordinates, one entry per dimension.
void SetClientRanges(unsigned connid, const RUserRanges &ranges, bool ismainconn)
Remember client range, can be used for drawing or stats box calculations.
void PopulateMenu(RMenuItems &) override
Provide context menu items.
void GrowToDimensions(size_t nDimensions)
Create nDimensions default axes for the user coordinate system.