0.2.0-dev Download ZIP
76 lines ·3.4 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="OpenXRSpatialCapabilityConfigurationAruco" inherits="OpenXRSpatialCapabilityConfigurationBaseHeader" api_type="core" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd"> |
| 3 | <brief_description> |
| 4 | Configuration header for ArUco markers. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | Configuration header for ArUco markers. Pass this to [method OpenXRSpatialEntityExtension.create_spatial_context] to create a spatial context that can detect ArUco markers. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <methods> |
| 12 | <method name="get_enabled_components" qualifiers="const"> |
| 13 | <return type="PackedInt64Array" /> |
| 14 | <description> |
| 15 | Returns the components enabled by this configuration. |
| 16 | [b]Note:[/b] Only valid after this configuration was used to create a spatial context. |
| 17 | </description> |
| 18 | </method> |
| 19 | </methods> |
| 20 | <members> |
| 21 | <member name="aruco_dict" type="int" setter="set_aruco_dict" getter="get_aruco_dict" enum="OpenXRSpatialCapabilityConfigurationAruco.ArucoDict" default="16"> |
| 22 | Dictionary to use to decode ArUco markers. |
| 23 | [b]Note:[/b] Must be set before using this configuration to create a spatial context. |
| 24 | </member> |
| 25 | </members> |
| 26 | <constants> |
| 27 | <constant name="ARUCO_DICT_4X4_50" value="1" enum="ArucoDict"> |
| 28 | 4 by 4 pixel ArUco marker dictionary with 50 IDs. |
| 29 | </constant> |
| 30 | <constant name="ARUCO_DICT_4X4_100" value="2" enum="ArucoDict"> |
| 31 | 4 by 4 pixel ArUco marker dictionary with 100 IDs. |
| 32 | </constant> |
| 33 | <constant name="ARUCO_DICT_4X4_250" value="3" enum="ArucoDict"> |
| 34 | 4 by 4 pixel ArUco marker dictionary with 250 IDs. |
| 35 | </constant> |
| 36 | <constant name="ARUCO_DICT_4X4_1000" value="4" enum="ArucoDict"> |
| 37 | 4 by 4 pixel ArUco marker dictionary with 1000 IDs. |
| 38 | </constant> |
| 39 | <constant name="ARUCO_DICT_5X5_50" value="5" enum="ArucoDict"> |
| 40 | 5 by 5 pixel ArUco marker dictionary with 50 IDs. |
| 41 | </constant> |
| 42 | <constant name="ARUCO_DICT_5X5_100" value="6" enum="ArucoDict"> |
| 43 | 5 by 5 pixel ArUco marker dictionary with 100 IDs. |
| 44 | </constant> |
| 45 | <constant name="ARUCO_DICT_5X5_250" value="7" enum="ArucoDict"> |
| 46 | 5 by 5 pixel ArUco marker dictionary with 250 IDs. |
| 47 | </constant> |
| 48 | <constant name="ARUCO_DICT_5X5_1000" value="8" enum="ArucoDict"> |
| 49 | 5 by 5 pixel ArUco marker dictionary with 1000 IDs. |
| 50 | </constant> |
| 51 | <constant name="ARUCO_DICT_6X6_50" value="9" enum="ArucoDict"> |
| 52 | 6 by 6 pixel ArUco marker dictionary with 50 IDs. |
| 53 | </constant> |
| 54 | <constant name="ARUCO_DICT_6X6_100" value="10" enum="ArucoDict"> |
| 55 | 6 by 6 pixel ArUco marker dictionary with 100 IDs. |
| 56 | </constant> |
| 57 | <constant name="ARUCO_DICT_6X6_250" value="11" enum="ArucoDict"> |
| 58 | 6 by 6 pixel ArUco marker dictionary with 250 IDs. |
| 59 | </constant> |
| 60 | <constant name="ARUCO_DICT_6X6_1000" value="12" enum="ArucoDict"> |
| 61 | 6 by 6 pixel ArUco marker dictionary with 1000 IDs. |
| 62 | </constant> |
| 63 | <constant name="ARUCO_DICT_7X7_50" value="13" enum="ArucoDict"> |
| 64 | 7 by 7 pixel ArUco marker dictionary with 50 IDs. |
| 65 | </constant> |
| 66 | <constant name="ARUCO_DICT_7X7_100" value="14" enum="ArucoDict"> |
| 67 | 7 by 7 pixel ArUco marker dictionary with 100 IDs. |
| 68 | </constant> |
| 69 | <constant name="ARUCO_DICT_7X7_250" value="15" enum="ArucoDict"> |
| 70 | 7 by 7 pixel ArUco marker dictionary with 250 IDs. |
| 71 | </constant> |
| 72 | <constant name="ARUCO_DICT_7X7_1000" value="16" enum="ArucoDict"> |
| 73 | 7 by 7 pixel ArUco marker dictionary with 1000 IDs. |
| 74 | </constant> |
| 75 | </constants> |
| 76 | </class> |