Classes | |
struct | Payload |
Public Member Functions | |
XXYPlot (const char *name, bool runtime, Transaction &tr_graph, const shared_ptr< XGraph > &graph) | |
void | clearAllPoints (Transaction &tr) |
void | addPoint (Transaction &tr, XGraph::VFloat x, XGraph::VFloat y, XGraph::VFloat z=0.0, XGraph::VFloat weight=1.0) |
Adds one point and draws. | |
![]() | |
XPlot (const char *name, bool runtime, Transaction &tr_graph, const shared_ptr< XGraph > &graph) | |
virtual XString | getLabel () const |
int | screenToVal (const Snapshot &shot, const XGraph::ScrPoint &scr, XGraph::ValPoint *val, XGraph::SFloat scr_prec=-1) |
void | screenToGraph (const Snapshot &shot, const XGraph::ScrPoint &pt, XGraph::GPoint *g) |
void | graphToScreen (const Snapshot &shot, const XGraph::GPoint &pt, XGraph::ScrPoint *scr) |
void | graphToVal (const Snapshot &shot, const XGraph::GPoint &pt, XGraph::ValPoint *val) |
const shared_ptr< XStringNode > & | label () const |
const shared_ptr< XUIntNode > & | maxCount () const |
const shared_ptr< XBoolNode > & | displayMajorGrid () const |
const shared_ptr< XBoolNode > & | displayMinorGrid () const |
const shared_ptr< XBoolNode > & | drawLines () const |
const shared_ptr< XBoolNode > & | drawBars () const |
const shared_ptr< XBoolNode > & | drawPoints () const |
const shared_ptr< XBoolNode > & | colorPlot () const |
const shared_ptr< XHexNode > & | majorGridColor () const |
const shared_ptr< XHexNode > & | minorGridColor () const |
const shared_ptr< XHexNode > & | pointColor () const |
const shared_ptr< XHexNode > & | lineColor () const |
const shared_ptr< XHexNode > & | barColor () const |
const shared_ptr< XHexNode > & | colorPlotColorHigh () const |
const shared_ptr< XHexNode > & | colorPlotColorLow () const |
const shared_ptr < XTouchableNode > & | clearPoints () const |
const shared_ptr< XItemNode < XAxisList, XAxis > > & | axisX () const |
const shared_ptr< XItemNode < XAxisList, XAxis > > & | axisY () const |
const shared_ptr< XItemNode < XAxisList, XAxis > > & | axisZ () const |
const shared_ptr< XItemNode < XAxisList, XAxis > > & | axisW () const |
const shared_ptr< XDoubleNode > & | zwoAxisZ () const |
z value without AxisZ | |
const shared_ptr< XDoubleNode > & | intensity () const |
virtual int | validateAutoScale (const Snapshot &shot) |
auto-scale | |
int | drawPlot (const Snapshot &shot, XQGraphPainter *painter) |
Draws points from snapshot. | |
int | drawLegend (const Snapshot &shot, XQGraphPainter *painter, const XGraph::ScrPoint &spt, float dx, float dy) |
void | drawGrid (const Snapshot &shot, XQGraphPainter *painter, bool drawzaxis=true) |
int | findPoint (const Snapshot &shot, int start, const XGraph::GPoint &gmin, const XGraph::GPoint &gmax, XGraph::GFloat width, XGraph::ValPoint *val, XGraph::GPoint *g1) |
bool | fixScales (const Snapshot &) |
![]() | |
XNode (const char *name, bool runtime=false) | |
template<class T > | |
shared_ptr< T > | create (const char *name) |
template<class T , typename... Args> | |
shared_ptr< T > | create (const char *name, bool runtime, Args &&...args) |
template<class T > | |
shared_ptr< T > | create (Transaction &tr, const char *name) |
template<class T , typename... Args> | |
shared_ptr< T > | create (Transaction &tr, const char *name, bool runtime, Args &&...args) |
XString | getName () const |
XString | getTypename () const |
shared_ptr< XNode > | getChild (const XString &var) const |
shared_ptr< XNode > | getParent () const |
void | setUIEnabled (bool v) |
Enables/disables controls over scripting/GUI. | |
void | disable () |
Disables all scripting/GUI operations on this node hereafter. | |
![]() | |
bool | insert (Transaction< XNode > &tr, const shared_ptr< XNode > &var, bool online_after_insertion=false) |
void | insert (const shared_ptr< XNode > &var) |
bool | release (Transaction< XNode > &tr, const shared_ptr< XNode > &var) |
void | release (const shared_ptr< XNode > &var) |
void | releaseAll () |
bool | swap (Transaction< XNode > &tr, const shared_ptr< XNode > &x, const shared_ptr< XNode > &y) |
void | swap (const shared_ptr< XNode > &x, const shared_ptr< XNode > &y) |
XNode * | upperNode (Snapshot< XNode > &shot) |
Finds the parent node in shot. | |
Snapshot< XNode > | iterate_commit (Closure) |
Snapshot< XNode > | iterate_commit_if (Closure) |
void | iterate_commit_while (Closure) |
void | print_ () const |
Node (const Node &)=delete | |
Node & | operator= (const Node &)=delete |
Protected Member Functions | |
virtual void | snapshot (const Snapshot &shot) |
Takes a snap-shot all points for rendering. | |
Additional Inherited Members | |
![]() | |
using | NodeNotFoundError = std::domain_error |
using | NodeList = fast_vector< shared_ptr< XNode >, 2 > |
using | iterator = typename NodeList::iterator |
using | const_iterator = typename NodeList::const_iterator |
![]() | |
template<class T__ > | |
static shared_ptr< T__ > | createOrphan (const char *name) |
template<class T__ , typename... Args_> | |
static shared_ptr< T__ > | createOrphan (const char *name, bool runtime, Args_ &&...args) |
![]() | |
const weak_ptr< XGraph > | m_graph |
shared_ptr< XAxis > | m_curAxisX |
shared_ptr< XAxis > | m_curAxisY |
shared_ptr< XAxis > | m_curAxisZ |
shared_ptr< XAxis > | m_curAxisW |
XGraph::ScrPoint | m_scr0 |
XGraph::ScrPoint | m_len |
std::vector< XGraph::ValPoint > | m_ptsSnapped |