mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-18 00:01:17 +08:00
Update plot module
This commit is contained in:
@@ -87,6 +87,7 @@ namespace cv
|
||||
CV_WRAP virtual void setShowGrid(bool needShowGrid) = 0;
|
||||
CV_WRAP virtual void setShowText(bool needShowText) = 0;
|
||||
CV_WRAP virtual void setGridLinesNumber(int gridLinesNumber) = 0;
|
||||
CV_WRAP virtual void setInvertOrientation(bool _invertOrientation) = 0;
|
||||
/**
|
||||
* @brief Sets the index of a point which coordinates will be printed on the top left corner of the plot (if ShowText flag is true).
|
||||
*
|
||||
@@ -99,19 +100,17 @@ namespace cv
|
||||
* @brief Creates Plot2d object
|
||||
*
|
||||
* @param data \f$1xN\f$ or \f$Nx1\f$ matrix containing \f$Y\f$ values of points to plot. \f$X\f$ values
|
||||
* @param _invertOrientation true means the y axis is inverted
|
||||
* will be equal to indexes of correspondind elements in data matrix.
|
||||
*/
|
||||
CV_WRAP static Ptr<Plot2d> create(InputArray data, bool _invertOrientation=false);
|
||||
CV_WRAP static Ptr<Plot2d> create(InputArray data);
|
||||
|
||||
/**
|
||||
* @brief Creates Plot2d object
|
||||
*
|
||||
* @param dataX \f$1xN\f$ or \f$Nx1\f$ matrix \f$X\f$ values of points to plot.
|
||||
* @param dataY \f$1xN\f$ or \f$Nx1\f$ matrix containing \f$Y\f$ values of points to plot.
|
||||
* @param _invertOrientation true means the y axis is inverted
|
||||
*/
|
||||
CV_WRAP static Ptr<Plot2d> create(InputArray dataX, InputArray dataY, bool _invertOrientation=false);
|
||||
CV_WRAP static Ptr<Plot2d> create(InputArray dataX, InputArray dataY);
|
||||
};
|
||||
//! @}
|
||||
}
|
||||
|
Reference in New Issue
Block a user