コード例 #1
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            this.utime = ins.ReadInt64();

            this.num_boxes = ins.ReadSByte();

            this.boxes = new mwt.bounding_box_t[(int)num_boxes];
            for (int a = 0; a < this.num_boxes; a++)
            {
                this.boxes[a] = mwt.bounding_box_t._decodeRecursiveFactory(ins);
            }

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.model_name = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);
        }
コード例 #2
0
        public void _decodeRecursive(LCMDataInputStream ins)
        {
            byte[] __strbuf = null;
            this.left = ins.ReadDouble();

            this.top = ins.ReadDouble();

            this.width = ins.ReadDouble();

            this.height = ins.ReadDouble();

            this.num_classes = ins.ReadSByte();

            this.scores = new double[(int)num_classes];
            for (int a = 0; a < this.num_classes; a++)
            {
                this.scores[a] = ins.ReadDouble();
            }

            __strbuf = new byte[ins.ReadInt32() - 1]; ins.ReadFully(__strbuf); ins.ReadByte(); this.class_name = System.Text.Encoding.GetEncoding("US-ASCII").GetString(__strbuf);
        }
コード例 #3
0
 public void _decodeRecursive(LCMDataInputStream ins)
 {
     this.lout = ins.ReadSByte();
 }