CARLA
Toggle main menu visibility
Loading...
Searching...
No Matches
Unreal
CarlaUnreal
Plugins
Carla
Source
Carla
Recorder
CarlaRecorderWalkerBones.h
Go to the documentation of this file.
1
// Copyright (c) 2026 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 <fstream>
10
#include <vector>
11
12
#pragma pack(push, 1)
13
struct
CarlaRecorderWalkerBone
14
{
15
FString
Name
;
16
FVector
Location
;
17
FVector
Rotation
;
18
19
CarlaRecorderWalkerBone
(FString &InName, FVector &InLocation, FVector &InRotation) :
20
Name
(InName),
Location
(InLocation),
Rotation
(InRotation) {}
21
};
22
23
struct
CarlaRecorderWalkerBones
24
{
25
uint32_t
DatabaseId
;
26
std::vector<CarlaRecorderWalkerBone>
Bones
;
27
28
void
Read
(std::ifstream &InFile);
29
30
void
Write
(std::ofstream &OutFile);
31
32
void
Clear
();
33
34
};
35
#pragma pack(pop)
36
37
class
CarlaRecorderWalkersBones
38
{
39
public
:
40
41
void
Add
(
const
CarlaRecorderWalkerBones
&InObj);
42
43
void
Clear
(
void
);
44
45
void
Write
(std::ofstream &OutFile);
46
47
private
:
48
49
std::vector<CarlaRecorderWalkerBones>
Walkers
;
50
};
CarlaRecorderWalkersBones
Definition
CarlaRecorderWalkerBones.h:38
CarlaRecorderWalkersBones::Write
void Write(std::ofstream &OutFile)
Definition
CarlaRecorderWalkerBones.cpp:69
CarlaRecorderWalkersBones::Clear
void Clear(void)
Definition
CarlaRecorderWalkerBones.cpp:59
CarlaRecorderWalkersBones::Walkers
std::vector< CarlaRecorderWalkerBones > Walkers
Definition
CarlaRecorderWalkerBones.h:49
CarlaRecorderWalkersBones::Add
void Add(const CarlaRecorderWalkerBones &InObj)
Definition
CarlaRecorderWalkerBones.cpp:64
CarlaRecorderWalkerBone::Name
FString Name
Definition
CarlaRecorderWalkerBones.h:15
CarlaRecorderWalkerBone::CarlaRecorderWalkerBone
CarlaRecorderWalkerBone(FString &InName, FVector &InLocation, FVector &InRotation)
Definition
CarlaRecorderWalkerBones.h:19
CarlaRecorderWalkerBone::Rotation
FVector Rotation
Definition
CarlaRecorderWalkerBones.h:17
CarlaRecorderWalkerBone::Location
FVector Location
Definition
CarlaRecorderWalkerBones.h:16
CarlaRecorderWalkerBones
Definition
CarlaRecorderWalkerBones.h:24
CarlaRecorderWalkerBones::DatabaseId
uint32_t DatabaseId
Definition
CarlaRecorderWalkerBones.h:25
CarlaRecorderWalkerBones::Read
void Read(std::ifstream &InFile)
Definition
CarlaRecorderWalkerBones.cpp:30
CarlaRecorderWalkerBones::Clear
void Clear()
Definition
CarlaRecorderWalkerBones.cpp:52
CarlaRecorderWalkerBones::Bones
std::vector< CarlaRecorderWalkerBone > Bones
Definition
CarlaRecorderWalkerBones.h:26
CarlaRecorderWalkerBones::Write
void Write(std::ofstream &OutFile)
Definition
CarlaRecorderWalkerBones.cpp:14
Generated by
1.18.0