TangoAreaDescriptionMetaData

com.google.atap.tangoservice

Class TangoAreaDescriptionMetaData

  • java.lang.Object
    • com.google.atap.tangoservice.TangoAreaDescriptionMetaData

  •  
    public class TangoAreaDescriptionMetaData
    extends java.lang.Object
    Metadata for an Area Description File (ADF). It can be used to read and write Metadata from/to ADF files.这是ADF的元数据。它可以用于从ADF文件读和写元数据。
    • Field Summary域摘要

      Fields 域
      Modifier and Type修饰符和类型 Field and Description域和描述
      static <any> CREATOR

      Implements the required Creator interface for an Android Parcelable.实现Android Parcelable所需要的Creator接口。
      static java.lang.String KEY_DATE_MS_SINCE_EPOCH

      The key corresponding to the creation date of the ADF measured in milliseconds since Unix epoch as a 64-Bit unsigned integer.ADF创建日期(从UNIX纪元以来)
      static java.lang.String KEY_NAME

      The key corresponding to the human readable name of the ADF file.ADF文件的可读名称。
      static java.lang.String KEY_TRANSFORMATION

      The key corresponding to a transform from the ADF to a global coordinate frame.从ADF到全球坐标框架的转换。
      static java.lang.String KEY_UUID

      The key corresponding to the UUID of the ADF, used as a unique identifier for the ADF file.ADF的UUID,用来作为ADF文件的唯一标识。
    • Constructor Summary构造器摘要

      Constructors 构造器
      Constructor and Description
      TangoAreaDescriptionMetaData()

      Creates an empty TangoAreaDescriptionMetaData object that can be populated later.创建一个空的TangoAreaDescriptionMetaData对象后面可以填充。
    • Method Summary方法摘要

      All Methods Instance Methods Concrete Methods 所有方法实例方法具体方法
      Modifier and Type Method and Description
      int describeContents()

      Needed to implement the Android Parcelable interface.需要实现Android Parcelable接口
      byte[] get(java.lang.String key)

      Searches through the metadata list for a key that matches the parameter key.搜索元数据列表查找符合参数key的键
      java.util.Set<java.lang.String> keySet()

      Gets the set of keys.获取键的集
      void readFromParcel(Parcel in)

      Populates a TangoAreaDescriptionMeta object with data from an Android Parcel.用Android Parcel的数据填充一个TangoAreaDescriptionMeta对象
      void set(java.lang.String key, byte[] value)

      Sets the value associated with an area description key to a new value.将一个区域描述相关的值设为新值。
      void writeToParcel(Parcel dest, int flags)

      Writes a TangoAreaDescriptionMeta object to an Android Parcel.将一个TangoAreaDescriptionMeta对象写到一个Android Parcel中。
      • Methods inherited from class java.lang.Object从java.lang.Object继承的方法

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    • Field Detail域的细节

      • KEY_UUID唯一标识符

         
        public static final java.lang.String KEY_UUID
        The key corresponding to the UUID of the ADF, used as a unique identifier for the ADF file. Returned as a null terminated character array.
        See Also:
        Constant Field Values
      • KEY_NAME唯一标识名称

         
        public static final java.lang.String KEY_NAME
        The key corresponding to the human readable name of the ADF file. Returned as a null terminated character array.
        See Also:
        Constant Field Values
      • KEY_TRANSFORMATION

         
        public static final java.lang.String KEY_TRANSFORMATION
        The key corresponding to a transform from the ADF to a global coordinate frame. The data consists of 7 double precision elements:与从ADF转到全球坐标框架相关的键。该数据包括7个双精度类型的元素:

        • x, y, z :ECEF (earth centered earth fixed) Cartesian frame of reference at the center of the earth which rotates with the earth).
        • qx, qy, qz, qw : Hamilton Quaternion.

        The default corresponding values are:
        (x, y, z, qx, qy, qz, qw) = (0, 0, 0, 0, 0, 0, 1).

        See Also:
        Constant Field Values
      • KEY_DATE_MS_SINCE_EPOCH

         
        public static final java.lang.String KEY_DATE_MS_SINCE_EPOCH
        The key corresponding to the creation date of the ADF measured in milliseconds since Unix epoch as a 64-Bit unsigned integer. Setting this value on the client side using TangoAreaDescriptionMetadata_set()will have no effect on the data stored by the server. Also, when you call TangoService_saveAreaDescriptionMetadata() it ignores the value.
        See Also:
        Constant Field Values
      • CREATOR

         
        public static final <any> CREATOR
        Implements the required Creator interface for an Android Parcelable. This allows reading and writing to an Android Parcel object.
    • Constructor Detail构造器细节

      • TangoAreaDescriptionMetaData

         
        public TangoAreaDescriptionMetaData()
        Creates an empty TangoAreaDescriptionMetaData object that can be populated later.创建一个空的TangoAreaDescriptionMetaData对象可以以后填充。
    • Method Detail方法细节

      • get获取

         
        public byte[] get(java.lang.String key)
        Searches through the metadata list for a key that matches the parameter key. If such a key is found, returns the value associated with that key.搜寻与key相符的子数据列表。如果该key发现,将返回与key相关的值。
        Parameters:
        key - The string key value of the parameter to get.
        Returns:
        The value of the parameter in bytes.
      • set设置

         
        public void set(java.lang.String key,
        byte[] value)
        Sets the value associated with an area description key to a new value.设置与一个区域描述key相关的值。
        Parameters:
        key - The string key value of the parameter to set.
        value - The value to set the key to in bytes.
      • keySet键集合

         
        public java.util.Set<java.lang.String> keySet()
        Gets the set of keys.获取键的集合。
      • describeContents描述内容

         
        public int describeContents()
        Needed to implement the Android Parcelable interface. Can be used to describe the kinds of objects contained in Parcelable's marshalled representation, but we'll just return 0 since we don't need that ability.要实现Android Parcelable接口必须实现该方法。可以被用来描述包含在Parcelable集合表示中的对象的种类,但是我们返回0因为我们不需要那个功能。
        Returns:
        Will always return 0.
      • readFromParcel

         
        public void readFromParcel(Parcel in)
        Populates a TangoAreaDescriptionMeta object with data from an Android Parcel.用Android Parcel中的数据填充TangoAreaDescriptionMeta对象。
        Parameters:
        in - The Parcel to read from.
      • writeToParcel

         
        public void writeToParcel(Parcel dest,
        int flags)
        Writes a TangoAreaDescriptionMeta object to an Android Parcel.将TangoAreaDescriptionMeta对象写入Android Parcel中。
        Parameters:
        dest - The Parcel to write to.
        flags - This parameter is required by the Parcelable interface, but is unused for this implementation.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

上次更新日期:五月 5, 2017

TangoAreaDescriptionMetaData区域描述元数据的更多相关文章

  1. Area Learning

    Area Learning区域学习 How it works它是如何工作的 With Motion Tracking alone, the device tracks its movement and ...

  2. Hello_Area_Description 任务三:Project Tango采集区域描述数据

    Permission Dialogs for Users in Java在Java中用户使用的权限对话框 Tango works by using visual cues from the devic ...

  3. clr 元数据

    clr相关编译器编译生成的托管模块由四部分组成:PE32或32+头.clr头.元数据.IL代码. 元数据和IL代码完全对应,保持一致(:>)性. 元数据有很多用途: VS的智能感知,自动补全: ...

  4. 运用Mono.Cecil 反射读取.NET程序集元数据

    CLR自带的反射机智和API可以很轻松的读取.NET程序集信息,但是不能对程序集进行修改.CLR提供的是只读的API,但是开源项目Mono.Cecil不仅仅可以读取.NET程序集的元数据,还可以进行修 ...

  5. ASP.NET MVC Model元数据(五)

    ASP.NET MVC Model元数据(五) 前言 在上一篇中我们描述了应用于Model上面的各种用于显示控制的特性类,在本篇中将详细的介绍这些特性类的应用,虽然它们跟Model元数据的直接关系并不 ...

  6. ASP.NET MVC Model元数据(四)

    ASP.NET MVC Model元数据(四) 前言 前面的篇幅讲解了Model元数据生成的过程,并没有对Model元数据生成过程的内部和Model元数据结构的详细解释.看完本篇后将会对Model元数 ...

  7. ASP.NET MVC Model元数据(三)

    ASP.NET MVC Model元数据(三) 前言 在上篇中我们大概的讲解了Model元数据的生成过程,并没有对Model元数据本身和详细的生成过程有所描述,本篇将会对详细的生成过程进行讲解,并且会 ...

  8. ASP.NET MVC Model元数据(二)

    ASP.NET MVC Model元数据(二) 前言 在上篇中,给大家留个对Model元数据的印象,并没有对Model元数据有过多的讲解,而在本篇中也不会对Model元数据的本身来解释,而是针对于它的 ...

  9. ASP.NET MVC Model元数据(一)

    ASP.NET MVC Model元数据(一) 前言 在我初学的时候对Model元数据的概念很模糊,或者说是在大脑中没有它的一个模型,作为小白的我去看网上的一些文章还是两眼一黑啥都看不明白,然后我想退 ...

随机推荐

  1. 【HDU】1520 Anniversary party(树形dp)

    题目 题目 分析 带权值的树上最大独立集 代码 #include <bits/stdc++.h> using namespace std; ; int a[maxn], n, fa[max ...

  2. 【洛谷】P1196 银河英雄传说(并查集)

    题目描述 公元五八○一年,地球居民迁至金牛座α第二行星,在那里发表银河联邦创立宣言,同年改元为宇宙历元年,并开始向银河系深处拓展. 宇宙历七九九年,银河系的两大军事集团在巴米利恩星域爆发战争.泰山压顶 ...

  3. pycharm多行代码同时注释、去除注释

    pycharm中同时注释多行代码快捷键: 代码选中的条件下,同时按住 Ctrl+/,被选中行被注释,再次按下Ctrl+/,注释被取消

  4. 【转】Android Studio打包全攻略---从入门到精通

    原文地址:http://blog.csdn.net/zivensonice/article/details/51672846 初出茅庐 手动打包 怎么手动打包 项目写完了,现在需要把应用上传到市场,问 ...

  5. Tkinter Relief styles(样式)

      Tkinter Relief styles: 构件的浮雕式是指某些模拟的3-D周围的部件外的影响.下面是一排按钮的屏幕截图展示了所有可能的救济风格   构件的浮雕式是指某些模拟的3-D周围的部件外 ...

  6. django之jquery完成ajax

    使用Ajax 使用视图通过上下文向模板中传递数据,需要先加载完成模板的静态页面,再执行模型代码,生成最张的html,返回给浏览器,这个过程将页面与数据集成到了一起,扩展性差 改进方案:通过ajax的方 ...

  7. 流媒体协议部分RTP、RTCP、RTSP、MMS、HLS、HTTP progressive streaming

    流媒体协议:(RTP.RTCP.RTSP.MMS.HLS.HTTP progressive streaming) 当前在internet上传送音频和视频等信息主要有两种方式: 下载,完整下载一个视频, ...

  8. 新版Eclipse使用遇到的问题总结

    1.SDK下载很慢. 配置SDK代理,速度像飞一样.建议先把20-24下完,不然后面遇到很多问题. 2.support-v7的问题 例如res\values\styles.xml:4: error: ...

  9. 「小程序JAVA实战」开发用户redis-session(40)

    转自:https://idig8.com/2018/09/05/xiaochengxujavashizhankaifayonghuredis-session39/ 接下来我们需要在我们的项目里面配置下 ...

  10. adb命令检测apk启动时间、内存、CPU使用情况、流量、电池电量等——常用的adb命令

    ADB:Android Debug Bridge,是Android SDK里一个可以直接操作安卓模拟器或真实设备的工具,颇为强大.   检测APP:   adb shell am start -W p ...