Class RealSenseSourceSettings
- Namespace
- VisioForge.Core.Types.X.Sources
- Assembly
- VisioForge.Core.dll
Settings of VisioForge.Core.MediaBlocks.Sources.RealSenseSourceBlock: the camera, the streams to open and how depth is delivered.
public class RealSenseSourceSettingsInheritance
Inherited Members
Constructors
RealSenseSourceSettings(string)
Initializes a new instance of the VisioForge.Core.Types.X.Sources.RealSenseSourceSettings class.
public RealSenseSourceSettings(string serialNumber)Parameters
serialNumberstring-
The serial number of the camera, from VisioForge.Core.Types.X.Sources.RealSenseDeviceInfo.SerialNumber.
Properties
AlignDepthToColor
Gets or sets a value indicating whether depth is aligned to the colour image, so that a depth pixel and a colour pixel at the same coordinates show the same point. The depth output then has the colour size. Needs both VisioForge.Core.Types.X.Sources.RealSenseSourceSettings.Color and VisioForge.Core.Types.X.Sources.RealSenseSourceSettings.Depth.
public bool AlignDepthToColor { get; set; }Property Value
Color
Gets or sets the colour mode, or null to leave the colour stream off.
public RealSenseStreamProfile Color { get; set; }Property Value
Depth
Gets or sets the depth mode, or null to leave the depth stream off.
public RealSenseStreamProfile Depth { get; set; }Property Value
DepthMode
Gets or sets what the depth output carries. Defaults to VisioForge.Core.Types.X.Sources.RealSenseDepthMode.Colorized.
public RealSenseDepthMode DepthMode { get; set; }Property Value
Infrared
Gets or sets the infrared mode, or null to leave the infrared stream off.
public RealSenseStreamProfile Infrared { get; set; }Property Value
SerialNumber
Gets the serial number of the camera to open.
[JsonInclude]
public string SerialNumber { get; }