Class VLFindContours.TVLDrawContoursLayer
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: VisionLabPkg
Unit: VLFindContours
Inherits: TLPDrawLayer
Contents |
Syntax
Delphi:
type TVLDrawContoursLayer = class( TLPDrawLayer )
C++ Builder:
class TVLDrawContoursLayer : public TLPDrawLayer
Visual C++ (MFC):
class CTVLDrawContoursLayer : public CTLPDrawLayer
C# (.NET):
public ref class DrawContoursLayer : Mitov.VisionLab.DrawLayer
Summary
Layer drawing detected contours.
Description
Add this layer to draw detected contours over the frames.
Diagram:
Example:
Properties
Published
- InnerContours - Specifies how the inner contours will be drawn.
- OuterContours - Specifies how the outer contours will be drawn.
- BoundRectangles - Specifies how the bounding rectangles will be drawn.
Methods
Public
Pins
- InputPin - The Contours Input Pin of the layer.
From TLPDrawLayer
Properties
Published
Methods
Public
- function GetHasEnable() : Boolean
- function GetCanDisable() : Boolean
- procedure DoLayerBegin(ACanvas : TLPCanvas; AWidth : Integer; AHeight : Integer; AXCoeff : Single; AYCoeff : Single)
- procedure DoLayerEnd()
- procedure DoLayerDraw(ACanvas : TLPCanvas; AWidth : Integer; AHeight : Integer; AXCoeff : Single; AYCoeff : Single; AContoursOnly : Boolean)
- procedure DoLayerMouseMove(AShift : TShiftState; AX : Integer; AY : Integer)
- procedure DoLayerMouseDown(Button : TMouseButton; Shift : TShiftState; X : Integer; Y : Integer)
- procedure DoLayerMouseUp(Button : TMouseButton; Shift : TShiftState; X : Integer; Y : Integer)
- procedure DoLayerMouseWheelDown(AShift : TShiftState; AX : Integer; AY : Integer)
- procedure DoLayerMouseWheelUp(AShift : TShiftState; AX : Integer; AY : Integer)
- procedure DoLayerMouseEnter()
- procedure DoLayerMouseLeave()
- function GetChachedData(ALink : TObject) : TObject
- procedure SetChachedData(ALink : TObject; AData : TObject)
- function GetOperations() : TLPDrawLayerOperations
- procedure AddLayerLink(ALink : TLPLayerCollectionItem)
- procedure RemoveLayerLink(ALink : TLPLayerCollectionItem)
- function GetName() : String
- function WriteLock() : IOWLockSection