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,
151 int y = -1,
const std::string &title =
"");
153 void getPixelValue(
bool block);
154 void init(
unsigned int nbGraph,
unsigned int height = 700,
unsigned int width = 700,
155 int x = -1,
int y = -1,
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,
163 void plot(
unsigned int graphNum,
unsigned int curveNum,
double x,
double y);
164 void plot(
unsigned int graphNum,
double x,
const vpColVector &v_y);
165 void plot(
unsigned int graphNum,
double x,
const vpRowVector &v_y);
166 void plot(
unsigned int graphNum,
double x,
const vpPoseVector &v_y);
174 void resetPointList(
unsigned int graphNum);
175 void resetPointList(
unsigned int graphNum,
unsigned int curveNum);
177 void saveData(
unsigned int graphNum,
const std::string &dataFile,
const std::string &title_prefix =
"");
178 void setColor(
unsigned int graphNum,
unsigned int curveNum,
vpColor color);
179 void setGraphThickness(
unsigned int graphNum,
unsigned int thickness);
180 void setGridThickness(
unsigned int graphNum,
unsigned int thickness);
192 void setLegend(
unsigned int graphNum,
unsigned int curveNum,
const std::string &legend);
193 void setTitle(
unsigned int graphNum,
const std::string &title);
194 void setUnitX(
unsigned int graphNum,
const std::string &unitx);
195 void setUnitY(
unsigned int graphNum,
const std::string &unity);
196 void setUnitZ(
unsigned int graphNum,
const std::string &unitz);
197 void setThickness(
unsigned int graphNum,
unsigned int curveNum,
unsigned int thickness);
200 void initNbGraph(
unsigned int nbGraph);
Implementation of a generic rotation vector.
Class that defines generic functionnalities for display.
vpImage< unsigned char > I
Implementation of row vector and the associated operations.
Class to define colors available for display functionnalities.
static void setFont(const vpImage< unsigned char > &I, const std::string &font)
void setFont(const std::string &font)
Implementation of column vector and the associated operations.
Implementation of a pose vector and operations on poses.
This class enables real time drawing of 2D or 3D graphics. An instance of the class open a window whi...
Class that consider the case of a translation vector.