Exemplo n.º 1
0
 public void ReadXml(XmlNode node)
 {
     ClipSet    = XmlMeta.GetHash(Xml.GetChildInnerText(node, "ClipSet"));
     Clip       = XmlMeta.GetHash(Xml.GetChildInnerText(node, "Clip"));
     Offset     = Xml.GetChildFloatAttribute(node, "Offset");
     PointCloud = new PoseMatcherPointCloud(node);
 }
Exemplo n.º 2
0
        public PoseMatcherMatchSample(DataReader r)
        {
            ClipSet = r.ReadUInt32();
            Clip    = r.ReadUInt32();

            Offset = r.ReadSingle();

            PointCloud = new PoseMatcherPointCloud(r);

            switch (Offset)
            {
            case 0:
            case 0.266f:
            case 0.576f:
            case 0.366933f:
            case 0.599466f:
            case 0.506333f:
            case 1.09f:
                break;

            default:
                break;
            }
        }