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(
const unsigned int nbGraph,
const unsigned int height = 700,
const unsigned int width = 700,
const int x = -1,
151 const int y = -1,
const std::string &title =
"");
153 void getPixelValue(
const bool block);
154 void init(
const unsigned int nbGraph,
const unsigned int height = 700,
const unsigned int width = 700,
155 const int x = -1,
const int y = -1,
const std::string &title =
"");
156 void initGraph(
unsigned int graphNum,
unsigned int curveNbr);
158 void initRange(
const unsigned int graphNum,
double xmin,
double xmax,
double ymin,
double ymax);
159 void initRange(
const unsigned int graphNum,
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
163 void plot(
const unsigned int graphNum,
const unsigned int curveNum,
const double x,
const double y);
164 void plot(
const unsigned int graphNum,
const double x,
const vpColVector &v_y);
165 void plot(
const unsigned int graphNum,
const double x,
const vpRowVector &v_y);
166 void plot(
const unsigned int graphNum,
const double x,
const vpPoseVector &v_y);
168 void plot(
const unsigned int graphNum,
const double x,
const vpRotationVector &v_y);
170 const double y,
const double z);
174 void resetPointList(
const unsigned int graphNum);
175 void resetPointList(
const unsigned int graphNum,
const unsigned int curveNum);
177 void saveData(
const unsigned int graphNum,
const std::string &dataFile,
const std::string &title_prefix =
"");
178 void setColor(
const unsigned int graphNum,
const unsigned int curveNum,
vpColor color);
179 void setGraphThickness(
const unsigned int graphNum,
const unsigned int thickness);
180 void setGridThickness(
const unsigned int graphNum,
const unsigned int thickness);
192 void setLegend(
const unsigned int graphNum,
const unsigned int curveNum,
const std::string &legend);
193 void setTitle(
const unsigned int graphNum,
const std::string &title);
194 void setUnitX(
const unsigned int graphNum,
const std::string &unitx);
195 void setUnitY(
const unsigned int graphNum,
const std::string &unity);
196 void setUnitZ(
const unsigned int graphNum,
const std::string &unitz);
197 void setThickness(
const unsigned int graphNum,
const unsigned int curveNum,
const 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.