Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Private Member Functions
icl::qt::Plot Struct Reference

a 2D function and data plotting component More...

#include <GUIComponents.h>

Inheritance diagram for icl::qt::Plot:
icl::qt::GUIComponent

List of all members.

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

Detailed Description

a 2D function and data plotting component

Creates a PlotHandle


Constructor & Destructor Documentation

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.

Parameters:
xRangehorizontal range of the data view-port. If [0,0], then it is derived from the data
yRangevertical range of the data view-port. If [0,0], then it is derived from the data
useOpenGLif true, the renderering is performed in OpenGL (this can be faster in case of transparency)
xLabelx-axis label
yLabely-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]

Create Plot component with optionally given POD parameters.

The parameters are described well in the other constructor


Member Function Documentation

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


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines