Class CvTrackbar
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Trackbar that is shown on OpenCV Window
public class CvTrackbar : DisposableObject, IDisposable
- Inheritance
-
CvTrackbar
- Implements
- Inherited Members
Properties
Callback
public TrackbarCallback Callback { get; }
Property Value
Pos
Gets or sets a numeric value that represents the current position of the scroll box on the track bar.
public int Pos { get; set; }
Property Value
Result
Result value of cv::createTrackbar
public int Result { get; }
Property Value
TrackbarName
Name of this trackbar
public string TrackbarName { get; }
Property Value
WindowName
Name of parent window
public string WindowName { get; }
Property Value
Methods
DisposeUnmanaged()
Releases unmanaged resources
protected override void DisposeUnmanaged()
SetMax(int)
Sets the trackbar maximum position. The function sets the maximum position of the specified trackbar in the specified window.
public void SetMax(int maxVal)
Parameters
maxValintNew maximum position.
SetMin(int)
Sets the trackbar minimum position. The function sets the minimum position of the specified trackbar in the specified window.
public void SetMin(int minVal)
Parameters
minValintNew minimum position.