Image Component Library (ICL)
|
a 2D function and data plotting component More...
#include <GUIComponents.h>
Public Member Functions | |
Plot (const utils::Range32f xRange=utils::Range32f(0, 0), const utils::Range32f yRange=utils::Range32f(0, 0), bool useOpenGL=false, const std::string &xLabel="", const std::string &yLabel="") | |
Create Plot component with optionally given range parameters. | |
Plot (float minX, float maxX=0, float minY=0, float maxY=0, bool useOpenGL=false, const std::string &xLabel="", const std::string &yLabel="") | |
Create Plot component with optionally given POD parameters. | |
Static Private Member Functions | |
static std::string | form_args (const utils::Range32f xRange, const utils::Range32f yRange, bool useOpenGL, const std::string &xLabel, const std::string &yLabel) |
utility method |
a 2D function and data plotting component
Creates a PlotHandle
icl::qt::Plot::Plot | ( | const utils::Range32f | xRange = utils::Range32f(0,0) , |
const utils::Range32f | yRange = utils::Range32f(0,0) , |
||
bool | useOpenGL = false , |
||
const std::string & | xLabel = "" , |
||
const std::string & | yLabel = "" |
||
) | [inline] |
Create Plot component with optionally given range parameters.
xRange | horizontal range of the data view-port. If [0,0], then it is derived from the data |
yRange | vertical range of the data view-port. If [0,0], then it is derived from the data |
useOpenGL | if true, the renderering is performed in OpenGL (this can be faster in case of transparency) |
xLabel | x-axis label |
yLabel | y-axis label |
icl::qt::Plot::Plot | ( | float | minX, |
float | maxX = 0 , |
||
float | minY = 0 , |
||
float | maxY = 0 , |
||
bool | useOpenGL = false , |
||
const std::string & | xLabel = "" , |
||
const std::string & | yLabel = "" |
||
) | [inline] |
static std::string icl::qt::Plot::form_args | ( | const utils::Range32f | xRange, |
const utils::Range32f | yRange, | ||
bool | useOpenGL, | ||
const std::string & | xLabel, | ||
const std::string & | yLabel | ||
) | [inline, static, private] |
utility method