Skip to main content
Version: 21 Aug 2024

PixelSensorCapabilityRange

NameSpace: PixelSensors

The capability range for a sensor capability

Public Fields

BoolValues

The array of discrete booleans


public bool [] BoolValues { get; set; }


CapabilityType

The type of the capability this range is for


public PixelSensorCapabilityType CapabilityType { get; set; }

TypeDescription
PixelSensorCapabilityTypeThe configurable capability types of a pixel sensor

DataType

The data type for this capability


public PixelSensorCapabilityDataType DataType { get; set; }

TypeDescription
PixelSensorCapabilityDataTypeRepresents the data types supported by a pixel sensor capability.

ExposureModes

The array of auto exposure modes


public PixelSensorAutoExposureMode [] ExposureModes { get; set; }

TypeDescription
PixelSensorAutoExposureMode []The exposure mode of the pixel sensor

ExtentValues

The array of discrete extents


public Vector2Int [] ExtentValues { get; set; }


FloatRange

The float range with a min and max


public PixelSensorCapabilityMinMax< float > FloatRange { get; set; }

TypeDescription
PixelSensorCapabilityMinMax< float >Represents a range of values ranging from Min to Max

FrameFormats

The array of frame formats


public PixelSensorFrameFormat [] FrameFormats { get; set; }


IntRange

The IntRange with a min and max


public PixelSensorCapabilityMinMax< uint > IntRange { get; set; }

TypeDescription
PixelSensorCapabilityMinMax< uint >Represents a range of values ranging from Min to Max

IntValues

The array of discrete uints


public uint [] IntValues { get; set; }


IsValid

Whether the range is valid or not. This is used when configuring a sensor


public bool IsValid { get; set; }

Details*

Use this to filter out invalid configurations from being applied to a sensor


RangeType

The range type for this capability


public PixelSensorCapabilityRangeType RangeType { get; set; }

TypeDescription
PixelSensorCapabilityRangeTypeRepresents the range type of pixel sensor capability.

Stream

The stream index this range is for


public uint Stream { get; set; }


Public Methods

PixelSensorConfigData GetDefaultConfig

Get a default configuration from the given range for this capability

public PixelSensorConfigData GetDefaultConfig(
uint streamIndex
)

Parameters

TypeNameDescription
uintstreamIndexThe stream to get the config for

Returns: The default config


override string ToString

public override string ToString()