◆ __fromPtr__()
static new Plot2d OpenCVForUnity.PlotModule.Plot2d.__fromPtr__ |
( |
IntPtr |
addr | ) |
|
|
static |
◆ create() [1/2]
static Plot2d OpenCVForUnity.PlotModule.Plot2d.create |
( |
Mat |
data | ) |
|
|
static |
Creates Plot2d object.
- Parameters
-
data | \(1xN\) or \(Nx1\) matrix containing \(Y\) values of points to plot. \(X\) values will be equal to indexes of correspondind elements in data matrix. |
◆ create() [2/2]
static Plot2d OpenCVForUnity.PlotModule.Plot2d.create |
( |
Mat |
dataX, |
|
|
Mat |
dataY |
|
) |
| |
|
static |
Creates Plot2d object.
- Parameters
-
dataX | \(1xN\) or \(Nx1\) matrix \(X\) values of points to plot. |
dataY | \(1xN\) or \(Nx1\) matrix containing \(Y\) values of points to plot. |
◆ Dispose()
override void OpenCVForUnity.PlotModule.Plot2d.Dispose |
( |
bool |
disposing | ) |
|
|
protectedvirtual |
◆ render()
void OpenCVForUnity.PlotModule.Plot2d.render |
( |
Mat |
_plotResult | ) |
|
◆ setGridLinesNumber()
void OpenCVForUnity.PlotModule.Plot2d.setGridLinesNumber |
( |
int |
gridLinesNumber | ) |
|
◆ setInvertOrientation()
void OpenCVForUnity.PlotModule.Plot2d.setInvertOrientation |
( |
bool |
_invertOrientation | ) |
|
◆ setMaxX()
void OpenCVForUnity.PlotModule.Plot2d.setMaxX |
( |
double |
_plotMaxX | ) |
|
◆ setMaxY()
void OpenCVForUnity.PlotModule.Plot2d.setMaxY |
( |
double |
_plotMaxY | ) |
|
◆ setMinX()
void OpenCVForUnity.PlotModule.Plot2d.setMinX |
( |
double |
_plotMinX | ) |
|
◆ setMinY()
void OpenCVForUnity.PlotModule.Plot2d.setMinY |
( |
double |
_plotMinY | ) |
|
◆ setNeedPlotLine()
void OpenCVForUnity.PlotModule.Plot2d.setNeedPlotLine |
( |
bool |
_needPlotLine | ) |
|
Switches data visualization mode.
- Parameters
-
_needPlotLine | if true then neighbour plot points will be connected by lines. In other case data will be plotted as a set of standalone points. |
◆ setPlotAxisColor()
void OpenCVForUnity.PlotModule.Plot2d.setPlotAxisColor |
( |
Scalar |
_plotAxisColor | ) |
|
◆ setPlotBackgroundColor()
void OpenCVForUnity.PlotModule.Plot2d.setPlotBackgroundColor |
( |
Scalar |
_plotBackgroundColor | ) |
|
◆ setPlotGridColor()
void OpenCVForUnity.PlotModule.Plot2d.setPlotGridColor |
( |
Scalar |
_plotGridColor | ) |
|
◆ setPlotLineColor()
void OpenCVForUnity.PlotModule.Plot2d.setPlotLineColor |
( |
Scalar |
_plotLineColor | ) |
|
◆ setPlotLineWidth()
void OpenCVForUnity.PlotModule.Plot2d.setPlotLineWidth |
( |
int |
_plotLineWidth | ) |
|
◆ setPlotSize()
void OpenCVForUnity.PlotModule.Plot2d.setPlotSize |
( |
int |
_plotSizeWidth, |
|
|
int |
_plotSizeHeight |
|
) |
| |
◆ setPlotTextColor()
void OpenCVForUnity.PlotModule.Plot2d.setPlotTextColor |
( |
Scalar |
_plotTextColor | ) |
|
◆ setPointIdxToPrint()
void OpenCVForUnity.PlotModule.Plot2d.setPointIdxToPrint |
( |
int |
pointIdx | ) |
|
Sets the index of a point which coordinates will be printed on the top left corner of the plot (if ShowText flag is true).
- Parameters
-
pointIdx | index of the required point in data array. |
◆ setShowGrid()
void OpenCVForUnity.PlotModule.Plot2d.setShowGrid |
( |
bool |
needShowGrid | ) |
|
◆ setShowText()
void OpenCVForUnity.PlotModule.Plot2d.setShowText |
( |
bool |
needShowText | ) |
|
The documentation for this class was generated from the following file:
- OpenCVForUnity/Assets/OpenCVForUnity/org/opencv_contrib/plot/Plot2d.cs