42 #include <visp3/core/vpConfig.h>
43 #include <visp3/core/vpDisplay.h>
44 #include <visp3/gui/vpPlotGraph.h>
46 #if defined(VISP_HAVE_DISPLAY)
119 unsigned int graphNbr;
120 vpPlotGraph *graphList;
146 vpPlot(
unsigned int nbGraph,
unsigned int height = 700,
unsigned int width = 700,
int x = -1,
int y = -1,
147 const std::string &title =
"");
149 void getPixelValue(
bool block);
150 void init(
unsigned int nbGraph,
unsigned int height = 700,
unsigned int width = 700,
int x = -1,
int y = -1,
151 const std::string &title =
"");
152 void initGraph(
unsigned int graphNum,
unsigned int curveNbr);
154 void initRange(
unsigned int graphNum,
double xmin,
double xmax,
double ymin,
double ymax);
155 void initRange(
unsigned int graphNum,
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
158 void plot(
unsigned int graphNum,
unsigned int curveNum,
double x,
double y);
159 void plot(
unsigned int graphNum,
double x,
const vpColVector &v_y);
160 void plot(
unsigned int graphNum,
double x,
const vpRowVector &v_y);
161 void plot(
unsigned int graphNum,
double x,
const vpPoseVector &v_y);
168 void resetPointList(
unsigned int graphNum);
169 void resetPointList(
unsigned int graphNum,
unsigned int curveNum);
171 void saveData(
unsigned int graphNum,
const std::string &dataFile,
const std::string &title_prefix =
"");
172 void setColor(
unsigned int graphNum,
unsigned int curveNum,
vpColor color);
173 void setGraphThickness(
unsigned int graphNum,
unsigned int thickness);
174 void setGridThickness(
unsigned int graphNum,
unsigned int thickness);
184 if (display->isInitialised())
187 void setLegend(
unsigned int graphNum,
unsigned int curveNum,
const std::string &legend);
188 void setTitle(
unsigned int graphNum,
const std::string &title);
189 void setUnitX(
unsigned int graphNum,
const std::string &unitx);
190 void setUnitY(
unsigned int graphNum,
const std::string &unity);
191 void setUnitZ(
unsigned int graphNum,
const std::string &unitz);
192 void setThickness(
unsigned int graphNum,
unsigned int curveNum,
unsigned int thickness);
195 void initNbGraph(
unsigned int nbGraph);
Implementation of column vector and the associated operations.
Class to define RGB colors available for display functionalities.
Class that defines generic functionalities 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.