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; }
Type | Description |
---|---|
PixelSensorCapabilityType | The configurable capability types of a pixel sensor |
DataType
The data type for this capability
public PixelSensorCapabilityDataType DataType { get; set; }
Type | Description |
---|---|
PixelSensorCapabilityDataType | Represents the data types supported by a pixel sensor capability. |
ExposureModes
The array of auto exposure modes
public PixelSensorAutoExposureMode [] ExposureModes { get; set; }
Type | Description |
---|---|
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; }
Type | Description |
---|---|
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; }
Type | Description |
---|---|
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; }
Type | Description |
---|---|
PixelSensorCapabilityRangeType | Represents 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
Type | Name | Description |
---|---|---|
uint | streamIndex | The stream to get the config for |
Returns: The default config
override string ToString
public override string ToString()