47 #include <visp3/core/vpConfig.h>
48 #include <visp3/core/vpDisplay.h>
49 #include <visp3/gui/vpPlotGraph.h>
113 #if defined(VISP_HAVE_DISPLAY)
123 unsigned int graphNbr;
124 vpPlotGraph *graphList;
150 vpPlot(
unsigned int nbGraph,
unsigned int height = 700,
unsigned int width = 700,
int x = -1,
int y = -1,
151 const std::string &title =
"");
153 void getPixelValue(
bool block);
154 void init(
unsigned int nbGraph,
unsigned int height = 700,
unsigned int width = 700,
int x = -1,
int y = -1,
155 const std::string &title =
"");
156 void initGraph(
unsigned int graphNum,
unsigned int curveNbr);
158 void initRange(
unsigned int graphNum,
double xmin,
double xmax,
double ymin,
double ymax);
159 void initRange(
unsigned int graphNum,
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
162 void plot(
unsigned int graphNum,
unsigned int curveNum,
double x,
double y);
163 void plot(
unsigned int graphNum,
double x,
const vpColVector &v_y);
164 void plot(
unsigned int graphNum,
double x,
const vpRowVector &v_y);
165 void plot(
unsigned int graphNum,
double x,
const vpPoseVector &v_y);
172 void resetPointList(
unsigned int graphNum);
173 void resetPointList(
unsigned int graphNum,
unsigned int curveNum);
175 void saveData(
unsigned int graphNum,
const std::string &dataFile,
const std::string &title_prefix =
"");
176 void setColor(
unsigned int graphNum,
unsigned int curveNum,
vpColor color);
177 void setGraphThickness(
unsigned int graphNum,
unsigned int thickness);
178 void setGridThickness(
unsigned int graphNum,
unsigned int thickness);
187 if (display->isInitialised())
190 void setLegend(
unsigned int graphNum,
unsigned int curveNum,
const std::string &legend);
191 void setTitle(
unsigned int graphNum,
const std::string &title);
192 void setUnitX(
unsigned int graphNum,
const std::string &unitx);
193 void setUnitY(
unsigned int graphNum,
const std::string &unity);
194 void setUnitZ(
unsigned int graphNum,
const std::string &unitz);
195 void setThickness(
unsigned int graphNum,
unsigned int curveNum,
unsigned int thickness);
198 void initNbGraph(
unsigned int nbGraph);
Implementation of column vector and the associated operations.
Class to define RGB colors available for display functionnalities.
Class that defines generic functionnalities for display.
static void setFont(const vpImage< unsigned char > &I, const std::string &font)
This class enables real time drawing of 2D or 3D graphics. An instance of the class open a window whi...
void setFont(const std::string &font)
vpImage< unsigned char > I
Implementation of a pose vector and operations on poses.
Implementation of a generic rotation vector.
Implementation of row vector and the associated operations.
Class that consider the case of a translation vector.