C# Class Accord.Vision.Tracking.TrackingObject

Inheritance: ICloneable
Show file Open project: accord-net/framework Class Usage Examples

Private Properties

Property Type Description
ICloneable object

Public Methods

Method Description
Clone ( bool excludeImage = true ) : TrackingObject

Creates a new object that is a copy of the current instance.

GetAxis ( ) : LineSegment

Gets two points defining the horizontal axis of the object.

GetAxis ( AxisOrientation axis ) : LineSegment

Gets two points defining the axis of the object.

Reset ( ) : void

Resets this tracking object.

TrackingObject ( ) : System

Constructs a new tracking object.

TrackingObject ( IntPoint center ) : System

Constructs a new tracking object.

TrackingObject ( Rectangle rectangle, IntPoint center, float angle ) : System

Constructs a new tracking object.

TrackingObject ( Rectangle rectangle, float angle ) : System

Constructs a new tracking object.

Private Methods

Method Description
ICloneable ( ) : object

Creates a new object that is a copy of the current instance.

Method Details

Clone() public method

Creates a new object that is a copy of the current instance.
public Clone ( bool excludeImage = true ) : TrackingObject
excludeImage bool Pass true to not include /// the in the copy object.
return TrackingObject

GetAxis() public method

Gets two points defining the horizontal axis of the object.
public GetAxis ( ) : LineSegment
return Accord.Math.Geometry.LineSegment

GetAxis() public method

Gets two points defining the axis of the object.
public GetAxis ( AxisOrientation axis ) : LineSegment
axis AxisOrientation
return Accord.Math.Geometry.LineSegment

Reset() public method

Resets this tracking object.
public Reset ( ) : void
return void

TrackingObject() public method

Constructs a new tracking object.
public TrackingObject ( ) : System
return System

TrackingObject() public method

Constructs a new tracking object.
public TrackingObject ( IntPoint center ) : System
center AForge.IntPoint The center of gravity of the object.
return System

TrackingObject() public method

Constructs a new tracking object.
public TrackingObject ( Rectangle rectangle, IntPoint center, float angle ) : System
rectangle System.Drawing.Rectangle The rectangle containing the object.
center AForge.IntPoint The center of gravity of the object.
angle float The angle of orientation for the object.
return System

TrackingObject() public method

Constructs a new tracking object.
public TrackingObject ( Rectangle rectangle, float angle ) : System
rectangle System.Drawing.Rectangle The rectangle containing the object.
angle float The angle of the object.
return System