|
| XAxis (const char *name, bool runtime, AxisDirection dir, bool rightOrTop, Transaction &tr_graph, const shared_ptr< XGraph > &graph) |
|
virtual XString | getLabel () const |
|
int | drawAxis (const Snapshot &shot, XQGraphPainter *painter) |
|
XGraph::GFloat | valToAxis (XGraph::VFloat value) |
| obtains axis pos from value
|
|
XGraph::VFloat | axisToVal (XGraph::GFloat pos, XGraph::GFloat axis_prec=-1) |
|
XGraph::GFloat | screenToAxis (const Snapshot &shot, const XGraph::ScrPoint &scr) |
|
void | axisToScreen (const Snapshot &shot, XGraph::GFloat pos, XGraph::ScrPoint *scr) |
| obtains screen position from axis
|
|
void | valToScreen (const Snapshot &shot, XGraph::VFloat val, XGraph::ScrPoint *scr) |
|
XGraph::VFloat | screenToVal (const Snapshot &shot, const XGraph::ScrPoint &scr) |
|
XString | valToString (XGraph::VFloat val) |
|
const shared_ptr< XStringNode > & | label () const |
|
const shared_ptr< XDoubleNode > & | x () const |
|
const shared_ptr< XDoubleNode > & | y () const |
|
const shared_ptr< XDoubleNode > & | z () const |
|
const shared_ptr< XDoubleNode > & | length () const |
|
const shared_ptr< XDoubleNode > & | majorTicScale () const |
|
const shared_ptr< XDoubleNode > & | minorTicScale () const |
|
const shared_ptr< XBoolNode > & | displayMajorTics () const |
|
const shared_ptr< XBoolNode > & | displayMinorTics () const |
|
const shared_ptr< XDoubleNode > & | maxValue () const |
|
const shared_ptr< XDoubleNode > & | minValue () const |
|
const shared_ptr< XBoolNode > & | rightOrTopSided () const |
|
const shared_ptr< XStringNode > & | ticLabelFormat () const |
|
const shared_ptr< XBoolNode > & | displayLabel () const |
|
const shared_ptr< XBoolNode > & | displayTicLabels () const |
|
const shared_ptr< XHexNode > & | ticColor () const |
|
const shared_ptr< XHexNode > & | labelColor () const |
|
const shared_ptr< XHexNode > & | ticLabelColor () const |
|
const shared_ptr< XBoolNode > & | autoFreq () const |
|
const shared_ptr< XBoolNode > & | autoScale () const |
|
const shared_ptr< XBoolNode > & | logScale () const |
|
void | zoom (bool minchange, bool maxchange, XGraph::GFloat zoomscale, XGraph::GFloat center=0.5) |
|
Tic | queryTic (int length, int pos, XGraph::VFloat *ticnum) |
| Obtains the type of tic and rounded value from position on axis.
|
|
void | startAutoscale (const Snapshot &shot, float resolution, bool clearscale=false) |
| Call this function before drawing or autoscale.
|
|
void | fixScale (Transaction &tr, float resolution, bool suppressupdate=false) |
| Preserves modified scale.
|
|
XGraph::VFloat | fixedMin () const |
| fixed value
|
|
XGraph::VFloat | fixedMax () const |
|
bool | isIncluded (XGraph::VFloat x) |
|
void | tryInclude (XGraph::VFloat x) |
|
const AxisDirection & | direction () const |
|
const XGraph::ScrPoint & | dirVector () const |
|
| 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 |
|
|
AxisDirection | m_direction |
|
XGraph::ScrPoint | m_dirVector |
|
const weak_ptr< XGraph > | m_graph |
|
const shared_ptr< XStringNode > | m_label |
|
const shared_ptr< XDoubleNode > | m_x |
|
const shared_ptr< XDoubleNode > | m_y |
|
const shared_ptr< XDoubleNode > | m_z |
|
const shared_ptr< XDoubleNode > | m_length |
|
const shared_ptr< XDoubleNode > | m_majorTicScale |
|
const shared_ptr< XDoubleNode > | m_minorTicScale |
|
const shared_ptr< XBoolNode > | m_displayMajorTics |
|
const shared_ptr< XBoolNode > | m_displayMinorTics |
|
const shared_ptr< XDoubleNode > | m_max |
|
const shared_ptr< XDoubleNode > | m_min |
|
const shared_ptr< XBoolNode > | m_rightOrTopSided |
|
const shared_ptr< XStringNode > | m_ticLabelFormat |
|
const shared_ptr< XBoolNode > | m_displayLabel |
|
const shared_ptr< XBoolNode > | m_displayTicLabels |
|
const shared_ptr< XHexNode > | m_ticColor |
|
const shared_ptr< XHexNode > | m_labelColor |
|
const shared_ptr< XHexNode > | m_ticLabelColor |
|
const shared_ptr< XBoolNode > | m_autoFreq |
|
const shared_ptr< XBoolNode > | m_autoScale |
|
const shared_ptr< XBoolNode > | m_logScale |
|
XGraph::VFloat | m_minFixed |
|
XGraph::VFloat | m_maxFixed |
|
XGraph::VFloat | m_majorFixed |
|
XGraph::VFloat | m_minorFixed |
|
XGraph::VFloat | m_invLogMaxOverMinFixed |
|
XGraph::VFloat | m_invMaxMinusMinFixed |
|
bool | m_bLogscaleFixed |
|
bool | m_bAutoscaleFixed |
|
Definition at line 276 of file graph.h.