cv::plot::Plot2d Class Reference
abstract
#include <opencv2/plot.hpp>
Collaboration diagram for cv::plot::Plot2d:
virtual void
setMaxX (double _plotMaxX)=0
virtual void
setMaxY (double _plotMaxY)=0
virtual void
setMinX (double _plotMinX)=0
virtual void
setMinY (double _plotMinY)=0
Switches data visualization mode.
virtual void
setPlotSize (int _plotSizeWidth, int _plotSizeHeight)=0
Sets the index of a point which coordinates will be printed on the top left corner of the plot (if ShowText flag is true).
Clears the algorithm state.
virtual bool
empty () const
Returns true if the
Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
Reads algorithm parameters from a file storage.
Stores algorithm parameters in a file storage.
Static Public Member Functions
Loads algorithm from the file.
Loads algorithm from a String.
Reads algorithm from the file node.
Additional Inherited Members
Member Function Documentation
◆だいやまーく create() [1/2]
|
static |
| Python: |
|---|
| cv.plot.Plot2d.create( | data | ) -> | retval |
| cv.plot.Plot2d.create( | dataX, dataY | ) -> | retval |
| cv.plot.Plot2d_create( | data | ) -> | retval |
| cv.plot.Plot2d_create( | dataX, dataY | ) -> | retval |
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 |
| Python: |
|---|
| cv.plot.Plot2d.create( | data | ) -> | retval |
| cv.plot.Plot2d.create( | dataX, dataY | ) -> | retval |
| cv.plot.Plot2d_create( | data | ) -> | retval |
| cv.plot.Plot2d_create( | dataX, dataY | ) -> | retval |
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.
virtual void cv::plot::Plot2d::render
(
OutputArray _plotResult )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.render( | [, _plotResult] | ) -> | _plotResult |
◆だいやまーく setGridLinesNumber()
virtual void cv::plot::Plot2d::setGridLinesNumber
(
int gridLinesNumber )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setGridLinesNumber( | gridLinesNumber | ) -> | None |
◆だいやまーく setInvertOrientation()
virtual void cv::plot::Plot2d::setInvertOrientation
(
bool _invertOrientation )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setInvertOrientation( | _invertOrientation | ) -> | None |
virtual void cv::plot::Plot2d::setMaxX
(
double _plotMaxX )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setMaxX( | _plotMaxX | ) -> | None |
virtual void cv::plot::Plot2d::setMaxY
(
double _plotMaxY )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setMaxY( | _plotMaxY | ) -> | None |
virtual void cv::plot::Plot2d::setMinX
(
double _plotMinX )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setMinX( | _plotMinX | ) -> | None |
virtual void cv::plot::Plot2d::setMinY
(
double _plotMinY )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setMinY( | _plotMinY | ) -> | None |
◆だいやまーく setNeedPlotLine()
virtual void cv::plot::Plot2d::setNeedPlotLine
(
bool _needPlotLine )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setNeedPlotLine( | _needPlotLine | ) -> | None |
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()
virtual void cv::plot::Plot2d::setPlotAxisColor
(
Scalar _plotAxisColor )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setPlotAxisColor( | _plotAxisColor | ) -> | None |
◆だいやまーく setPlotBackgroundColor()
virtual void cv::plot::Plot2d::setPlotBackgroundColor
(
Scalar _plotBackgroundColor )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setPlotBackgroundColor( | _plotBackgroundColor | ) -> | None |
◆だいやまーく setPlotGridColor()
virtual void cv::plot::Plot2d::setPlotGridColor
(
Scalar _plotGridColor )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setPlotGridColor( | _plotGridColor | ) -> | None |
◆だいやまーく setPlotLineColor()
virtual void cv::plot::Plot2d::setPlotLineColor
(
Scalar _plotLineColor )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setPlotLineColor( | _plotLineColor | ) -> | None |
◆だいやまーく setPlotLineWidth()
virtual void cv::plot::Plot2d::setPlotLineWidth
(
int _plotLineWidth )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setPlotLineWidth( | _plotLineWidth | ) -> | None |
virtual void cv::plot::Plot2d::setPlotSize
(
int _plotSizeWidth,
int _plotSizeHeight )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setPlotSize( | _plotSizeWidth, _plotSizeHeight | ) -> | None |
◆だいやまーく setPlotTextColor()
virtual void cv::plot::Plot2d::setPlotTextColor
(
Scalar _plotTextColor )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setPlotTextColor( | _plotTextColor | ) -> | None |
◆だいやまーく setPointIdxToPrint()
virtual void cv::plot::Plot2d::setPointIdxToPrint
(
int pointIdx )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setPointIdxToPrint( | pointIdx | ) -> | None |
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.
virtual void cv::plot::Plot2d::setShowGrid
(
bool needShowGrid )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setShowGrid( | needShowGrid | ) -> | None |
virtual void cv::plot::Plot2d::setShowText
(
bool needShowText )
pure virtual |
| Python: |
|---|
| cv.plot.Plot2d.setShowText( | needShowText | ) -> | None |
The documentation for this class was generated from the following file:
Generated on Thu Dec 5 2024 12:18:49 for OpenCV by
doxygen
1.12.0