|
Jive reference manual
|
#include <jem/gl/XYPlot.h>

Classes | |
| class | DataSet |
Public Types | |
| typedef Tuple< double, 2 > | Range |
Public Member Functions | |
| XYPlot (const String &name) | |
| XYPlot (const String &name, const Size2f &size) | |
| virtual void | getBBox (Box &box) const |
| virtual void | configure (const Properties &props) |
| virtual void | getConfig (const Properties &props) const |
| virtual void | listProps (const Properties &props) const |
| virtual void | redraw (GfxContext >x) |
| virtual void | redrawFast (GfxContext >x, double lod) |
| virtual bool | exeCommand (GfxContext >x, const String &cmd, const Properties ¶ms) |
| virtual void | listOptions (Menu &menu) const |
| virtual bool | setFont () |
| void | clear () |
| DataSet * | newDataSet (const String &key="", int style=LINES) |
| DataSet * | newDataSet (const String &key, const Array< double > &xData, const Array< double > &yData, int style=LINES) |
| bool | eraseDataSet (DataSet *dset) |
| DataSet * | findDataSet (const String &key) const |
| Array< DataSet * > | getDataSets () const |
| Size2f | size () const |
| void | resize (const Size2f &sz) |
| void | setOption (int option, bool choice=true) |
| void | setOptions (int options) |
| void | toggleOption (int option) |
| int | getOptions () const |
| void | setKeyPos (GLfloat xpos, GLfloat ypos) |
| GLfloat | getKeyXPos () const |
| GLfloat | getKeyYPos () const |
| void | setXRange (const Range &range) |
| void | setYRange (const Range &range) |
| Range | getXRange () const |
| Range | getYRange () const |
| void | setAutoScale () |
| void | setXAutoScale () |
| void | setYAutoScale () |
| bool | getXAutoScale () const |
| bool | getYAutoScale () const |
| void | setScaleStep (double step) |
| double | getScaleStep () const |
| Vertex2d | mapPoint (const Vertex2d &p) const |
| void | adjustRange (Range &r) const |
Public Member Functions inherited from jem::gl::LeafNode | |
| LeafNode (const String &name="") | |
| virtual bool | takeAction (const String &action, const Properties ¶ms) |
| virtual bool | takeGLAction (GfxContext >x, int action, const Properties ¶ms) |
| virtual void | getVisibility (bool &viz, Box &vbox, const Transform &proj) const |
Public Member Functions inherited from jem::gl::GfxNode | |
| GfxNode (const String &name="") | |
| virtual String | getContext () const |
| virtual GfxNode * | findNode (const String &name) const |
| virtual bool | takeNRAction (const String &action, const Properties ¶ms) |
| GfxNode * | getParent () const |
| void | setParent (GfxNode *parent) |
| void | clearParent () |
Public Member Functions inherited from jem::NamedObject | |
| NamedObject (const String &name="") | |
| virtual String | toString () const |
| Returns a short textual description of this object. More... | |
| String | getName () const |
Public Member Functions inherited from jem::Object | |
| virtual Class * | getClass () const |
Returns the Class instance representing the runtime class of this object. More... | |
| virtual long | hashValue () const |
| Returns a hash value for this object. More... | |
| virtual bool | equals (const Ref< Object > &obj) const |
| Tests whether two objects are equal. More... | |
| Ref< Object > | clone () const |
| Returns a copy of this object. More... | |
Public Attributes | |
| String | title |
| String | xLabel |
| String | yLabel |
Public Attributes inherited from jem::gl::LeafNode | |
| bool | hidden |
Static Public Attributes | |
| static const int | SHOW_KEY |
| static const int | SHOW_XTICKS |
| static const int | SHOW_YTICKS |
| static const int | SHOW_TICKS |
| static const int | DEFAULT_OPTIONS |
| static const int | LINES |
| static const int | POINTS |
| static const int | LINES_POINTS |
Protected Member Functions | |
| virtual | ~XYPlot () |
Protected Member Functions inherited from jem::gl::LeafNode | |
| virtual | ~LeafNode () |
Protected Member Functions inherited from jem::gl::GfxNode | |
| virtual | ~GfxNode () |
Protected Member Functions inherited from jem::NamedObject | |
| virtual | ~NamedObject () |
Protected Member Functions inherited from jem::Collectable | |
| Collectable () | |
Creates an empty Collectable. More... | |
| ~Collectable () | |
| Frees resources. More... | |
Friends | |
| class | DataSet_ |
Additional Inherited Members | |
Static Public Member Functions inherited from jem::NamedObject | |
| static String | makeContext (const String &kind, const String &name) |
Static Public Member Functions inherited from jem::Object | |
| static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
Protected Attributes inherited from jem::NamedObject | |
| String | myName_ |
| typedef Tuple<double,2> jem::gl::XYPlot::Range |
|
explicit |
|
protectedvirtual |
|
virtual |
Reimplemented from jem::gl::GfxNode.
|
virtual |
Reimplemented from jem::gl::LeafNode.
|
virtual |
Reimplemented from jem::gl::LeafNode.
|
virtual |
Reimplemented from jem::gl::LeafNode.
|
virtual |
Implements jem::gl::LeafNode.
|
virtual |
Implements jem::gl::LeafNode.
|
virtual |
Reimplemented from jem::gl::LeafNode.
|
virtual |
Reimplemented from jem::gl::LeafNode.
|
virtual |
Reimplemented from jem::gl::LeafNode.
| void jem::gl::XYPlot::clear | ( | ) |
| DataSet* jem::gl::XYPlot::newDataSet | ( | const String & | key, |
| const Array< double > & | xData, | ||
| const Array< double > & | yData, | ||
| int | style = LINES |
||
| ) |
| bool jem::gl::XYPlot::eraseDataSet | ( | DataSet * | dset | ) |
| Size2f jem::gl::XYPlot::size | ( | ) | const |
| void jem::gl::XYPlot::resize | ( | const Size2f & | sz | ) |
| void jem::gl::XYPlot::setOption | ( | int | option, |
| bool | choice = true |
||
| ) |
| void jem::gl::XYPlot::setOptions | ( | int | options | ) |
| void jem::gl::XYPlot::toggleOption | ( | int | option | ) |
| int jem::gl::XYPlot::getOptions | ( | ) | const |
| void jem::gl::XYPlot::setKeyPos | ( | GLfloat | xpos, |
| GLfloat | ypos | ||
| ) |
| GLfloat jem::gl::XYPlot::getKeyXPos | ( | ) | const |
| GLfloat jem::gl::XYPlot::getKeyYPos | ( | ) | const |
| void jem::gl::XYPlot::setXRange | ( | const Range & | range | ) |
| void jem::gl::XYPlot::setYRange | ( | const Range & | range | ) |
| Range jem::gl::XYPlot::getXRange | ( | ) | const |
| Range jem::gl::XYPlot::getYRange | ( | ) | const |
| void jem::gl::XYPlot::setAutoScale | ( | ) |
| void jem::gl::XYPlot::setXAutoScale | ( | ) |
| void jem::gl::XYPlot::setYAutoScale | ( | ) |
| bool jem::gl::XYPlot::getXAutoScale | ( | ) | const |
| bool jem::gl::XYPlot::getYAutoScale | ( | ) | const |
| void jem::gl::XYPlot::setScaleStep | ( | double | step | ) |
| double jem::gl::XYPlot::getScaleStep | ( | ) | const |
| void jem::gl::XYPlot::adjustRange | ( | Range & | r | ) | const |
|
friend |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| String jem::gl::XYPlot::title |
| String jem::gl::XYPlot::xLabel |
| String jem::gl::XYPlot::yLabel |