Main Page
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Typedefs
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
x
z
Related Functions
:
b
c
d
e
o
p
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Functions
a
b
c
d
f
g
i
k
m
n
o
p
q
r
s
t
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
include
octovis
TrajectoryDrawer.h
Go to the documentation of this file.
1
/*
2
* This file is part of OctoMap - An Efficient Probabilistic 3D Mapping
3
* Framework Based on Octrees
4
* http://octomap.github.io
5
*
6
* Copyright (c) 2009-2014, K.M. Wurm and A. Hornung, University of Freiburg
7
* All rights reserved. License for the viewer octovis: GNU GPL v2
8
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
9
*
10
*
11
* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* (at your option) any later version.
15
*
16
* This program is distributed in the hope that it will be useful, but
17
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19
* for more details.
20
*
21
* You should have received a copy of the GNU General Public License
22
* along with this program. If not, see http://www.gnu.org/licenses/.
23
*/
24
25
#ifndef TRAJECTORYDRAWER_H_
26
#define TRAJECTORYDRAWER_H_
27
28
#include "
SceneObject.h
"
29
#include <vector>
30
31
namespace
octomap
{
32
33
class
TrajectoryDrawer
:
public
ScanGraphDrawer
{
34
public
:
35
TrajectoryDrawer
();
36
TrajectoryDrawer
(
const
ScanGraph
& graph);
37
virtual
~TrajectoryDrawer
();
38
virtual
void
draw
()
const
;
39
virtual
void
clear
();
40
virtual
void
setScanGraph
(
const
octomap::ScanGraph
& graph);
41
42
protected
:
43
GLfloat*
m_trajectoryVertexArray
;
44
GLfloat*
m_trajectoryColorArray
;
45
unsigned
int
m_trajectorySize
;
46
};
47
48
}
49
50
#endif
/* TRAJECTORYDRAWER_H_ */
octomap::TrajectoryDrawer
Definition:
TrajectoryDrawer.h:33
octomap::TrajectoryDrawer::draw
virtual void draw() const
Definition:
TrajectoryDrawer.cpp:46
octomap::TrajectoryDrawer::~TrajectoryDrawer
virtual ~TrajectoryDrawer()
Definition:
TrajectoryDrawer.cpp:41
octomap::TrajectoryDrawer::TrajectoryDrawer
TrajectoryDrawer()
Definition:
TrajectoryDrawer.cpp:29
octomap::TrajectoryDrawer::m_trajectorySize
unsigned int m_trajectorySize
number of nodes in the ScanGraph
Definition:
TrajectoryDrawer.h:45
octomap::ScanGraph
octomap::TrajectoryDrawer::m_trajectoryVertexArray
GLfloat * m_trajectoryVertexArray
Definition:
TrajectoryDrawer.h:43
octomap::ScanGraphDrawer
Definition:
SceneObject.h:96
octomap::TrajectoryDrawer::clear
virtual void clear()
Definition:
TrajectoryDrawer.cpp:74
SceneObject.h
octomap
octomap::TrajectoryDrawer::setScanGraph
virtual void setScanGraph(const octomap::ScanGraph &graph)
Definition:
TrajectoryDrawer.cpp:83
octomap::TrajectoryDrawer::m_trajectoryColorArray
GLfloat * m_trajectoryColorArray
Definition:
TrajectoryDrawer.h:44
octovis
Author(s): Kai M. Wurm
, Armin Hornung
autogenerated on Thu Apr 3 2025 02:40:44