ed
include
ed
relations
transform_cache.h
Go to the documentation of this file.
1
#ifndef ED_TRANSFORM_CACHE_H_
2
#define ED_TRANSFORM_CACHE_H_
3
4
#include "
ed/relation.h
"
5
#include "
ed/time_cache.h
"
6
7
namespace
ed
8
{
9
10
class
TransformCache
:
public
ed::Relation
11
{
12
13
public
:
14
15
TransformCache
();
16
17
~TransformCache
();
18
19
bool
calculateTransform
(
const
Time
&
t
,
geo::Pose3D
& tf)
const
;
20
21
void
insert
(
const
Time
& t,
const
geo::Pose3D
& tf) {
cache_
.insert(
t
, tf); }
22
23
private
:
24
25
// Transforms, ordered in time
26
TimeCache<geo::Pose3D>
cache_
;
27
28
};
29
30
}
// end namespace ed
31
32
#endif
ed::Relation
Definition:
relation.h:12
ed::TransformCache::calculateTransform
bool calculateTransform(const Time &t, geo::Pose3D &tf) const
Definition:
transform_cache.cpp:64
t
Timer t
ed::TransformCache::~TransformCache
~TransformCache()
Definition:
transform_cache.cpp:58
geo::Transform3T
relation.h
ed::Time
Definition:
time.h:9
ed::TransformCache::cache_
TimeCache< geo::Pose3D > cache_
Definition:
transform_cache.h:26
ed::TimeCache
Definition:
time_cache.h:11
ed::TransformCache::TransformCache
TransformCache()
Definition:
transform_cache.cpp:52
time_cache.h
ed
Definition:
convex_hull.h:8
ed::TransformCache
Definition:
transform_cache.h:10
ed::TransformCache::insert
void insert(const Time &t, const geo::Pose3D &tf)
Definition:
transform_cache.h:21
Generated on Sun Feb 23 2025 04:34:40 for ed by
1.8.17