Show / Hide Table of Contents

Class CvTrackbar

Trackbar that is shown on OpenCV Window

Inheritance
System.Object
DisposableObject
CvTrackbar
Inherited Members
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.DisposeManaged()
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public class CvTrackbar : DisposableObject

Properties

| Improve this Doc View Source

Callback

Declaration
public TrackbarCallback Callback { get; }
Property Value
Type Description
TrackbarCallback
| Improve this Doc View Source

Pos

Gets or sets a numeric value that represents the current position of the scroll box on the track bar.

Declaration
public int Pos { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Result

Result value of cv::createTrackbar

Declaration
public int Result { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

TrackbarName

Name of this trackbar

Declaration
public string TrackbarName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

WindowName

Name of parent window

Declaration
public string WindowName { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

DisposeUnmanaged()

Releases unmanaged resources

Declaration
protected override void DisposeUnmanaged()
Overrides
DisposableObject.DisposeUnmanaged()
| Improve this Doc View Source

SetMax(Int32)

Sets the trackbar maximum position. The function sets the maximum position of the specified trackbar in the specified window.

Declaration
public void SetMax(int maxVal)
Parameters
Type Name Description
System.Int32 maxVal

New maximum position.

| Improve this Doc View Source

SetMin(Int32)

Sets the trackbar minimum position. The function sets the minimum position of the specified trackbar in the specified window.

Declaration
public void SetMin(int minVal)
Parameters
Type Name Description
System.Int32 minVal

New minimum position.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX