39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
///
|
|
/// Copyright (c) 2017-2022 Sensus Slovensko a.s.
|
|
///
|
|
using Common;
|
|
|
|
namespace TBF.Rig.GenericDevices
|
|
{
|
|
public interface ICamera : Generic.IComponent
|
|
{
|
|
void ClearRoiParams();
|
|
|
|
int RegisterRoi(string roiParams); /// returns 0=NOK or handle (=index)
|
|
|
|
int GetResult(int roiHandle, out long timeMs); /// returns result for a registered ROI and camera time in ms
|
|
|
|
bool ShowOverlayRect { set; }
|
|
System.Drawing.Rectangle OverlayRect { set; }
|
|
int OverlayThickness { set; }
|
|
|
|
/// <summary>
|
|
/// Display live image.
|
|
/// </summary>
|
|
/// <returns>Reference to operation object instance</returns>
|
|
IOperation LiveStreamOp(bool hiRes);
|
|
|
|
/// <summary>
|
|
/// Watermeter wheel/arrow angle measurement process.
|
|
/// </summary>
|
|
/// <returns>Reference to operation object instance</returns>
|
|
IOperation MeasurementOp();
|
|
|
|
/// <summary>
|
|
/// Grab images.
|
|
/// </summary>
|
|
/// <returns>Reference to operation object instance</returns>
|
|
IOperation GrabImagesOp(string[] imgFileNames, bool blackAndWhite, bool lowResolution, ImageRotation imageRotation);
|
|
}
|
|
}
|