Table of Contents

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 RealSenseStreamProfile

Inheritance

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

stream RealSenseStreamType

The stream.

index int

The stream index.

width int

The width.

height int

The height.

frameRate int

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

int

Height

Gets the height in pixels.

[JsonInclude]
public int Height { get; }

Property Value

int

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

int

Stream

Gets the stream.

[JsonInclude]
public RealSenseStreamType Stream { get; }

Property Value

RealSenseStreamType

Width

Gets the width in pixels.

[JsonInclude]
public int Width { get; }

Property Value

int

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.