Window Class |
Namespace: OpenCvSharp
The Window type exposes the following members.
| Name | Description | |
|---|---|---|
| Window |
Creates a window with a random name
| |
| Window(String) |
Creates a window
| |
| Window(Mat) |
Creates a window with a random name and a specified image
| |
| Window(String, Mat) |
Creates a window
| |
| Window(String, WindowMode) |
Creates a window
| |
| Window(WindowMode, Mat) |
Creates a window with a specified image and flag
| |
| Window(String, WindowMode, Mat) |
Creates a window
|
| Name | Description | |
|---|---|---|
| AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) | |
| AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) | |
| Handle |
Gets window handle
| |
| HasQt |
Returns true if the library is compiled with Qt
| |
| Image |
Gets or sets an image to be shown
| |
| IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
| IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) | |
| Name |
Gets window name
|
| Name | Description | |
|---|---|---|
| AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
| AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
| Close |
Destroys this window.
| |
| CreateTrackbar(String, CvTrackbarCallback) |
Creates the trackbar and attaches it to this window
| |
| CreateTrackbar(String, CvTrackbarCallback2) |
Creates the trackbar and attaches it to this window
| |
| CreateTrackbar(String, Int32, Int32, CvTrackbarCallback) |
Creates the trackbar and attaches it to this window
| |
| CreateTrackbar(String, Int32, Int32, CvTrackbarCallback2) |
Creates the trackbar and attaches it to this window
| |
| CreateTrackbar2 |
Creates the trackbar and attaches it to this window
| |
| DestroyAllWindows |
Destroys all the opened HighGUI windows.
| |
| DisplayOverlay |
Display text on the window's image as an overlay for delay milliseconds. This is not editing the image's data. The text is display on the top of the image.
| |
| DisplayStatusBar | ||
| Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
| DisposeManaged |
Releases managed resources
(Overrides DisposableObjectDisposeManaged.) | |
| DisposeUnmanaged |
Releases unmanaged resources
(Inherited from DisposableObject.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize |
Destructor
(Inherited from DisposableObject.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetProperty |
Get Property of the window
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetWindowByName |
Retrieves a created window by name
| |
| LoadWindowParameters |
Load parameters of the window.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Move |
Sets window position
| |
| NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
| Resize |
Sets window size
| |
| SaveWindowParameters |
Save parameters of the window.
| |
| SetProperty |
Set Property of the window
| |
| ShowImage |
Shows the image in this window
| |
| ShowImages(Mat) | ||
| ShowImages(IEnumerableMat, IEnumerableString) | ||
| ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| WaitKey |
Waits for a pressed key
| |
| WaitKey(Int32) |
Waits for a pressed key
|
| Name | Description | |
|---|---|---|
| OnMouseCallback |
Event handler to be called every time mouse event occurs in the specified window.
|
| Name | Description | |
|---|---|---|
| dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) |