34 #ifndef VP_PLOT_GRAPH_H
35 #define VP_PLOT_GRAPH_H
37 #include <visp3/core/vpConfig.h>
39 #ifndef DOXYGEN_SHOULD_SKIP_THIS
41 #include <visp3/core/vpColor.h>
42 #include <visp3/core/vpImage.h>
44 #include <visp3/core/vpMouseButton.h>
45 #include <visp3/gui/vpPlotCurve.h>
47 #include <visp3/core/vpHomogeneousMatrix.h>
48 #include <visp3/core/vpRect.h>
50 #include <visp3/core/vpCameraParameters.h>
51 #include <visp3/core/vpPoint.h>
53 #if defined(VISP_HAVE_DISPLAY)
76 unsigned int curveNbr;
77 vpPlotCurve *curveList;
78 bool scaleInitialized;
140 unsigned int gridThickness;
171 virtual ~vpPlotGraph();
176 void computeGraphParameters();
177 void computeGraphParameters3D();
179 void initGraph(
unsigned int nbCurve);
180 void initSize(
vpImagePoint topLeft,
unsigned int width,
unsigned int height,
unsigned int margei,
181 unsigned int margej);
182 void initScale(
vpImage<unsigned char> &I,
double xmin,
double xmax,
int nbDivx,
double ymin,
double ymax,
int nbDivy,
184 void initScale(
vpImage<unsigned char> &I,
double xmin,
double xmax,
int nbDivx,
double ymin,
double ymax,
int nbDivy,
185 double zmin,
double zmax,
int nbDivz,
bool gx,
bool gy);
205 void rescalex(
unsigned int side,
double extremity);
206 void rescaley(
unsigned int side,
double extremity);
207 void rescalez(
unsigned int side,
double extremity);
209 void resetPointList(
unsigned int curveNum);
211 void setCurveColor(
unsigned int curveNum,
const vpColor &color);
212 void setCurveThickness(
unsigned int curveNum,
unsigned int thickness);
213 void setGridThickness(
unsigned int thickness) { this->gridThickness = thickness; };
214 void setLegend(
unsigned int curveNum,
const std::string &legend);
215 void setTitle(
const std::string &title);
216 void setUnitX(
const std::string &unitx);
217 void setUnitY(
const std::string &unity);
218 void setUnitZ(
const std::string &unitz);
Generic class defining intrinsic camera parameters.
Class to define RGB colors available for display functionalities.
Implementation of an homogeneous matrix and operations on such kind of matrices.
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
Defines a rectangle in the plane.