Class RealSenseStreamProfile
- Namespace
- VisioForge.Core.Types.X.Sources
- Assembly
- VisioForge.Core.dll
A stream mode a RealSense camera reports: stream, sensor index, size and frame rate.
public class RealSenseStreamProfileInheritance
Inherited Members
Constructors
RealSenseStreamProfile(RealSenseStreamType, int, int, int, int)
Initializes a new instance of the VisioForge.Core.Types.X.Sources.RealSenseStreamProfile class.
public RealSenseStreamProfile(RealSenseStreamType stream, int index, int width, int height, int frameRate)Parameters
streamRealSenseStreamType-
The stream.
indexint-
The stream index.
widthint-
The width.
heightint-
The height.
frameRateint-
The frame rate.
Exceptions
- ArgumentOutOfRangeException
-
The index is negative, or the size or frame rate is not positive.
Properties
FrameRate
Gets the frame rate in frames per second.
[JsonInclude]
public int FrameRate { get; }Property Value
Height
Gets the height in pixels.
[JsonInclude]
public int Height { get; }Property Value
Index
Gets the stream index: 1 or 2 for the left and right infrared imagers, 0 for the other streams.
[JsonInclude]
public int Index { get; }Property Value
Stream
Gets the stream.
[JsonInclude]
public RealSenseStreamType Stream { get; }Property Value
Width
Gets the width in pixels.
[JsonInclude]
public int Width { get; }Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()Returns
- string
-
A string that represents the current object.