50 #include <visp/vpConfig.h>
51 #include <visp/vpDisplay.h>
52 #include <visp/vpPlotGraph.h>
115 #if defined(VISP_HAVE_DISPLAY)
125 unsigned int graphNbr;
126 vpPlotGraph* graphList;
136 vpPlot(
const unsigned int nbGraph,
137 const unsigned int height=700,
138 const unsigned int width=700,
139 const int x=-1,
const int y=-1,
const char *title=NULL);
141 void getPixelValue(
const bool block);
142 void init(
const unsigned int nbGraph,
143 const unsigned int height=700,
144 const unsigned int width=700,
145 const int x=-1,
const int y=-1,
const char *title=NULL);
146 void initGraph (
unsigned int graphNum,
unsigned int curveNbr);
148 void initRange (
const unsigned int graphNum,
double xmin,
double xmax,
double ymin,
double ymax);
149 void initRange (
const unsigned int graphNum,
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
150 void navigate (
void);
152 void plot (
const unsigned int graphNum,
const unsigned int curveNum,
const double x,
const double y);
153 void plot(
const unsigned int graphNum,
const double x,
const vpColVector &v_y);
154 void plot (
const unsigned int graphNum,
const unsigned int curveNum,
const double x,
const double y,
const double z);
157 void resetPointList (
const unsigned int graphNum);
158 void resetPointList (
const unsigned int graphNum,
const unsigned int curveNum);
160 void saveData(
const unsigned int graphNum,
const char* dataFile);
161 void setColor (
const unsigned int graphNum,
const unsigned int curveNum,
vpColor color);
162 void setGraphThickness (
const unsigned int graphNum,
const unsigned int thickness);
163 void setGridThickness (
const unsigned int graphNum,
const unsigned int thickness);
174 void setLegend (
const unsigned int graphNum,
const unsigned int curveNum,
const char *legend);
175 void setTitle (
const unsigned int graphNum,
const char *title);
176 void setUnitX (
const unsigned int graphNum,
const char *unitx);
177 void setUnitY (
const unsigned int graphNum,
const char *unity);
178 void setUnitZ (
const unsigned int graphNum,
const char *unitz);
179 void setThickness (
const unsigned int graphNum,
const unsigned int curveNum,
const unsigned int thickness);
182 void initNbGraph (
unsigned int nbGraph);
Class that defines generic functionnalities for display.
vpImage< unsigned char > I
Class to define colors available for display functionnalities.
void setFont(const char *font)
virtual void setFont(const char *font)=0
Class that provides a data structure for the column vectors as well as a set of operations on these v...
This class enables real time drawing of 2D or 3D graphics. An instance of the class open a window whi...