CARLA
 
载入中...
搜索中...
未找到
CarlaRecorderBoundingBox.h
浏览该文件的文档.
1// Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
7#pragma once
8
9#include <sstream>
10#include <vector>
11
12#pragma pack(push, 1)
14{
15 FVector Origin;
16 FVector Extension;
17
18 void Read(std::istream &InFile);
19
20 void Write(std::ostream &OutFile);
21};
22#pragma pack(pop)
23
24#pragma pack(push, 1)
26{
27 uint32_t DatabaseId;
29
30 void Read(std::istream &InFile);
31
32 void Write(std::ostream &OutFile);
33};
34#pragma pack(pop)
35
37{
38 public:
39
40 void Add(const CarlaRecorderActorBoundingBox &InObj);
41
42 void Clear(void);
43
44 void Write(std::ostream &OutFile);
45
46private:
47
48 std::vector<CarlaRecorderActorBoundingBox> Boxes;
49};
50
52{
53 public:
54
55 void Add(const CarlaRecorderActorBoundingBox &InObj);
56
57 void Clear(void);
58
59 void Write(std::ostream &OutFile);
60
61private:
62
63 std::vector<CarlaRecorderActorBoundingBox> Boxes;
64};
std::vector< CarlaRecorderActorBoundingBox > Boxes
void Add(const CarlaRecorderActorBoundingBox &InObj)
std::vector< CarlaRecorderActorBoundingBox > Boxes
void Add(const CarlaRecorderActorBoundingBox &InObj)
void Write(std::ostream &OutFile)
void Read(std::istream &InFile)