Struct Binary.CodeBook | Kinematica | 0.5.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Binary.CodeBook

    A codebook contains the necessary information to perform fast comparisons for poses and trajectories. Poses and trajectories can be compared separately.

    Namespace: Unity.Kinematica
    Syntax
    public struct CodeBook
    Remarks

    Codedbooks are defined based on metrics which in turn are defined on a per-tag basis. The reason for this is to logically group similar poses into a combined codebook.

    Fields

    metricIndex

    Denotes the metric this codebook has been created for.

    Declaration
    public Binary.MetricIndex metricIndex
    Field Value
    Type Description
    Binary.MetricIndex

    numFragments

    Denotes the number of fragments this codebook contains.

    Declaration
    public int numFragments
    Field Value
    Type Description
    Int32

    poses

    Denotes the encoding for all poses contained in this codebook.

    Declaration
    public Binary.CodeBook.Encoding poses
    Field Value
    Type Description
    Binary.CodeBook.Encoding

    traitIndex

    Denotes the trait this codebook has been created for.

    Declaration
    public Binary.TraitIndex traitIndex
    Field Value
    Type Description
    Binary.TraitIndex

    trajectories

    Denotes the encoding for all trajectories contained in this codebook.

    Declaration
    public Binary.CodeBook.Encoding trajectories
    Field Value
    Type Description
    Binary.CodeBook.Encoding
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023