OpenCV for Unity  2.6.3
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.
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OpenCVForUnity.PlotModule.Plot2d Class Reference
Inheritance diagram for OpenCVForUnity.PlotModule.Plot2d:
OpenCVForUnity.CoreModule.Algorithm OpenCVForUnity.DisposableOpenCVObject OpenCVForUnity.DisposableObject

Public Member Functions

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

Additional Inherited Members

- 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()

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
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 file: