OpenCV for Unity 2.6.5
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.PlotModule.Plot2d Class Reference

Public Member Functions

void render (Mat _plotResult)
 
void setGridLinesNumber (int gridLinesNumber)
 
void setInvertOrientation (bool _invertOrientation)
 
void setMaxX (double _plotMaxX)
 
void setMaxY (double _plotMaxY)
 
void setMinX (double _plotMinX)
 
void setMinY (double _plotMinY)
 
void setNeedPlotLine (bool _needPlotLine)
 Switches data visualization mode.
 
void setPlotAxisColor (in Vec4d _plotAxisColor)
 
void setPlotAxisColor (in(double v0, double v1, double v2, double v3) _plotAxisColor)
 
void setPlotAxisColor (Scalar _plotAxisColor)
 
void setPlotBackgroundColor (in Vec4d _plotBackgroundColor)
 
void setPlotBackgroundColor (in(double v0, double v1, double v2, double v3) _plotBackgroundColor)
 
void setPlotBackgroundColor (Scalar _plotBackgroundColor)
 
void setPlotGridColor (in Vec4d _plotGridColor)
 
void setPlotGridColor (in(double v0, double v1, double v2, double v3) _plotGridColor)
 
void setPlotGridColor (Scalar _plotGridColor)
 
void setPlotLineColor (in Vec4d _plotLineColor)
 
void setPlotLineColor (in(double v0, double v1, double v2, double v3) _plotLineColor)
 
void setPlotLineColor (Scalar _plotLineColor)
 
void setPlotLineWidth (int _plotLineWidth)
 
void setPlotSize (int _plotSizeWidth, int _plotSizeHeight)
 
void setPlotTextColor (in Vec4d _plotTextColor)
 
void setPlotTextColor (in(double v0, double v1, double v2, double v3) _plotTextColor)
 
void setPlotTextColor (Scalar _plotTextColor)
 
void 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).
 
void setShowGrid (bool needShowGrid)
 
void setShowText (bool needShowText)
 
- Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
virtual void clear ()
 Clears the algorithm state.
 
virtual bool empty ()
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
 
virtual string getDefaultName ()
 
IntPtr getNativeObjAddr ()
 
void save (string filename)
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 
void ThrowIfDisposed ()
 

Static Public Member Functions

static new Plot2d __fromPtr__ (IntPtr addr)
 
static Plot2d create (Mat data)
 Creates Plot2d object.
 
static Plot2d create (Mat dataX, Mat dataY)
 Creates Plot2d object.
 
- Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
static Algorithm __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- Package Functions inherited from OpenCVForUnity.CoreModule.Algorithm
- Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject
- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Member Function Documentation

◆ __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
_needPlotLineif true then neighbour plot points will be connected by lines. In other case data will be plotted as a set of standalone points.

◆ setPlotAxisColor() [1/3]

void OpenCVForUnity.PlotModule.Plot2d.setPlotAxisColor ( in Vec4d _plotAxisColor)

◆ setPlotAxisColor() [2/3]

void OpenCVForUnity.PlotModule.Plot2d.setPlotAxisColor ( in(double v0, double v1, double v2, double v3) _plotAxisColor)

◆ setPlotAxisColor() [3/3]

void OpenCVForUnity.PlotModule.Plot2d.setPlotAxisColor ( Scalar _plotAxisColor)

◆ setPlotBackgroundColor() [1/3]

void OpenCVForUnity.PlotModule.Plot2d.setPlotBackgroundColor ( in Vec4d _plotBackgroundColor)

◆ setPlotBackgroundColor() [2/3]

void OpenCVForUnity.PlotModule.Plot2d.setPlotBackgroundColor ( in(double v0, double v1, double v2, double v3) _plotBackgroundColor)

◆ setPlotBackgroundColor() [3/3]

void OpenCVForUnity.PlotModule.Plot2d.setPlotBackgroundColor ( Scalar _plotBackgroundColor)

◆ setPlotGridColor() [1/3]

void OpenCVForUnity.PlotModule.Plot2d.setPlotGridColor ( in Vec4d _plotGridColor)

◆ setPlotGridColor() [2/3]

void OpenCVForUnity.PlotModule.Plot2d.setPlotGridColor ( in(double v0, double v1, double v2, double v3) _plotGridColor)

◆ setPlotGridColor() [3/3]

void OpenCVForUnity.PlotModule.Plot2d.setPlotGridColor ( Scalar _plotGridColor)

◆ setPlotLineColor() [1/3]

void OpenCVForUnity.PlotModule.Plot2d.setPlotLineColor ( in Vec4d _plotLineColor)

◆ setPlotLineColor() [2/3]

void OpenCVForUnity.PlotModule.Plot2d.setPlotLineColor ( in(double v0, double v1, double v2, double v3) _plotLineColor)

◆ setPlotLineColor() [3/3]

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() [1/3]

void OpenCVForUnity.PlotModule.Plot2d.setPlotTextColor ( in Vec4d _plotTextColor)

◆ setPlotTextColor() [2/3]

void OpenCVForUnity.PlotModule.Plot2d.setPlotTextColor ( in(double v0, double v1, double v2, double v3) _plotTextColor)

◆ setPlotTextColor() [3/3]

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
pointIdxindex 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 files: