@@ -1938,6 +1938,41 @@ AR_DEFINE_ENUM(ArFutureState){
1938
1938
AR_FUTURE_STATE_DONE = 2 ,
1939
1939
};
1940
1940
1941
+ // Describe the Geospatial anchor type. Do not use. For internal use only.
1942
+ AR_DEFINE_ENUM (ArGeospatialAnchorType){
1943
+ AR_GEOSPATIAL_ANCHOR_TYPE_UNKNOWN = 0 ,
1944
+ // Anchor with altitude relative to WGS84 Earth ellipsoid's mean sea level.
1945
+ AR_GEOSPATIAL_ANCHOR_TYPE_WGS84 = 1 ,
1946
+ // Anchor with altitude relative to ground floors or ground terrain.
1947
+ AR_GEOSPATIAL_ANCHOR_TYPE_TERRAIN = 2 ,
1948
+ // Anchor with altitude relative to building rooftops.
1949
+ AR_GEOSPATIAL_ANCHOR_TYPE_ROOFTOP = 3 ,
1950
+ };
1951
+
1952
+ // Describe the Geospatial Creator Platform. Do not use. For internal use only.
1953
+ AR_DEFINE_ENUM (ArGeospatialCreatorPlatform){
1954
+ // The platform cannot be determined, because the client did not explicitly
1955
+ // report this field. This is the default value.
1956
+ AR_GEOSPATIAL_CREATOR_PLATFORM_UNKNOWN = 0 ,
1957
+
1958
+ // Geospatial Creator is available on the platform, but was not used for
1959
+ // this AR application.
1960
+ AR_GEOSPATIAL_CREATOR_PLATFORM_DISABLED = 1 ,
1961
+
1962
+ // Geospatial Creator was used, but the platform is not defined in an enum.
1963
+ // This is useful for implementing backwards compatibility for 3rd party
1964
+ // partners, though subsequent ARCore releases should have an appropriate
1965
+ // enum value exposed.
1966
+ AR_GEOSPATIAL_CREATOR_PLATFORM_OTHER = 2 ,
1967
+
1968
+ // Geospatial Creator for the ARCore Extensions SDK was used to build this
1969
+ // this AR application.
1970
+ AR_GEOSPATIAL_CREATOR_PLATFORM_ARCORE_EXTENSIONS_UNITY = 3 ,
1971
+
1972
+ // Geospatial Creator for Adobe Aero was used to build this AR application.
1973
+ AR_GEOSPATIAL_CREATOR_PLATFORM_ADOBE_AERO = 4 ,
1974
+ };
1975
+
1941
1976
// / @ingroup ArHostCloudAnchorFuture
1942
1977
// / Handle to an asynchronous operation launched by
1943
1978
// / @c ::ArSession_hostCloudAnchorAsync. See the <a
@@ -4842,10 +4877,11 @@ void ArTrackDataList_acquireItem(const ArSession *session,
4842
4877
// / Attempts to acquire a depth image that corresponds to the current frame.
4843
4878
// /
4844
4879
// / The depth image has a single 16-bit plane at index 0, stored in
4845
- // / little-endian format. Each pixel contains the distance in millimeters to the
4846
- // / camera plane. Currently, the three most significant bits are always set to
4847
- // / 000. The remaining thirteen bits express values from 0 to 8191, representing
4848
- // / depth in millimeters. To extract distance from a depth map, see <a
4880
+ // / little-endian format. Each pixel contains the distance in millimeters along
4881
+ // / the camera principal axis. Currently, the three most significant bits are
4882
+ // / always set to 000. The remaining thirteen bits express values from 0 to
4883
+ // / 8191, representing depth in millimeters. To extract distance from a depth
4884
+ // / map, see <a
4849
4885
// / href="https://developers.google.com/ar/develop/c/depth/developer-guide#extract-distance">the
4850
4886
// / Depth API developer guide</a>.
4851
4887
// /
@@ -4919,8 +4955,8 @@ ArStatus ArFrame_acquireDepthImage(const ArSession *session,
4919
4955
// / href="https://developer.android.com/reference/android/hardware/HardwareBuffer#D_16">
4920
4956
// / HardwareBuffer.D_16</a>, which is a single 16-bit plane at index 0,
4921
4957
// / stored in little-endian format. Each pixel contains the distance in
4922
- // / millimeters to the camera plane , with the representable depth range between
4923
- // / 0 millimeters and 65535 millimeters, or about 65 meters.
4958
+ // / millimeters along the camera principal axis , with the representable depth
4959
+ // / range between 0 millimeters and 65535 millimeters, or about 65 meters.
4924
4960
// /
4925
4961
// / To extract distance from a depth map, see <a
4926
4962
// / href="https://developers.google.com/ar/develop/c/depth/developer-guide#extract-distance">the
@@ -4995,10 +5031,11 @@ ArStatus ArFrame_acquireDepthImage16Bits(const ArSession *session,
4995
5031
// / @c ::ArFrame_acquireRawDepthConfidenceImage).
4996
5032
// /
4997
5033
// / The depth image has a single 16-bit plane at index 0, stored in
4998
- // / little-endian format. Each pixel contains the distance in millimeters to the
4999
- // / camera plane. Currently, the three most significant bits are always set to
5000
- // / 000. The remaining thirteen bits express values from 0 to 8191, representing
5001
- // / depth in millimeters. To extract distance from a depth map, see <a
5034
+ // / little-endian format. Each pixel contains the distance in millimeters along
5035
+ // / the camera principal axis. Currently, the three most significant bits are
5036
+ // / always set to 000. The remaining thirteen bits express values from 0 to
5037
+ // / 8191, representing depth in millimeters. To extract distance from a depth
5038
+ // / map, see <a
5002
5039
// / href="https://developers.google.com/ar/develop/c/depth/developer-guide#extract-distance">the
5003
5040
// / Depth API developer guide</a>.
5004
5041
// /
@@ -5087,8 +5124,8 @@ ArStatus ArFrame_acquireRawDepthImage(const ArSession *session,
5087
5124
// / href="https://developer.android.com/reference/android/hardware/HardwareBuffer#D_16">
5088
5125
// / HardwareBuffer.D_16</a>, which is a single 16-bit plane at index 0,
5089
5126
// / stored in little-endian format. Each pixel contains the distance in
5090
- // / millimeters to the camera plane , with the representable depth range between
5091
- // / 0 millimeters and 65535 millimeters, or about 65 meters.
5127
+ // / millimeters along the camera principal axis , with the representable depth
5128
+ // / range between 0 millimeters and 65535 millimeters, or about 65 meters.
5092
5129
// /
5093
5130
// / To extract distance from a depth map, see <a
5094
5131
// / href="https://developers.google.com/ar/develop/c/depth/developer-guide#extract-distance">the
0 commit comments