Variable ouster::sdk::core::ALL_ATTRIBUTE_TYPES

Variable Documentation

AttributeType ouster::sdk::core::ALL_ATTRIBUTE_TYPES[] = {AttributeType::U8, AttributeType::U16, AttributeType::U32, AttributeType::U64, AttributeType::I8, AttributeType::I16, AttributeType::I32, AttributeType::I64, AttributeType::F16, AttributeType::F32, AttributeType::F64}

Every AttributeType, in declaration order.

Lets code that maps attribute types onto another type system (e.g. numpy dtypes in the Python bindings) enumerate them and derive each mapping via visit_attribute_type(), rather than keeping its own table.