TinyURDF
1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
world.h
Go to the documentation of this file.
1
#ifndef INCLUDE_TINYURDF_WORLD_H_
2
#define INCLUDE_TINYURDF_WORLD_H_
3
4
// Copyright 2025 Wissem CHIHA
5
6
#include <string>
7
#include <vector>
8
#include <memory>
9
10
#include <loguru/loguru.hpp>
11
12
#include "
model.h
"
13
#include "
object_base.h
"
14
#include "
pose.h
"
15
#include "
property_base.h
"
16
17
template
<
typename
...
PropertyBase
>
18
class
Entity
:
public
ObjectBase
19
{
20
public
:
21
void
clear
();
22
private
:
23
std::shared_ptr<Model> model;
24
Pose
origin;
25
};
26
27
template
<
typename
...
PropertyBase
>
28
class
World
:
public
ObjectBase
{
29
public
:
30
World
();
31
void
clear
();
32
private
:
33
std::shared_ptr<std::string> name =
nullptr
;
34
std::vector<
Entity
<
PropertyBase
...>> models;
35
};
36
#endif
// TINYURDF_WORLD_H_
Entity
Definition
world.h:19
Entity::clear
void clear()
ObjectBase
Definition
object_base.h:11
Pose
Represents a pose, consisting of position and rotation.
Definition
pose.h:13
PropertyBase
Definition
property_base.h:9
World
Definition
world.h:28
World::World
World()
Definition
world.cc:4
World::clear
void clear()
Definition
world.cc:10
model.h
object_base.h
pose.h
property_base.h
include
tinyurdf
world.h
Generated by
1.9.8