include
octomap_pa
octree_stamped_pa.h
Go to the documentation of this file.
1
/******************************************************************************
2
* *
3
* octree_stamped_pa.h *
4
* =================== *
5
* *
6
*******************************************************************************
7
* *
8
* Repository: *
9
* https://github.com/TUC-ProAut/ros_octomap *
10
* *
11
* Chair of Automation Technology, Technische Universität Chemnitz *
12
* https://www.tu-chemnitz.de/etit/proaut *
13
* *
14
* Author: *
15
* Peter Weissig *
16
* *
17
*******************************************************************************
18
* *
19
* New BSD License *
20
* *
21
* Copyright (c) 2015-2021 TU Chemnitz *
22
* All rights reserved. *
23
* *
24
* Redistribution and use in source and binary forms, with or without *
25
* modification, are permitted provided that the following conditions are met: *
26
* * Redistributions of source code must retain the above copyright notice, *
27
* this list of conditions and the following disclaimer. *
28
* * Redistributions in binary form must reproduce the above copyright *
29
* notice, this list of conditions and the following disclaimer in the *
30
* documentation and/or other materials provided with the distribution. *
31
* * Neither the name of the copyright holder nor the names of its *
32
* contributors may be used to endorse or promote products derived from *
33
* this software without specific prior written permission. *
34
* *
35
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *
36
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED *
37
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR *
38
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR *
39
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, *
40
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, *
41
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; *
42
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, *
43
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR *
44
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF *
45
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
46
* *
47
******************************************************************************/
48
49
#ifndef OCTREE_STAMPED_PA_H
50
#define OCTREE_STAMPED_PA_H
51
52
// local headers
53
#include "
octomap_pa/octree_stamped_base_pa.h
"
54
55
// additional libraries
56
#include <octomap/octomap.h>
57
#include <octomap/OcTreeNode.h>
58
#include <octomap/OccupancyOcTreeBase.h>
59
60
// standard headers
61
#include <string>
62
63
64
//**************************[cOcTreeStampedPa]*********************************
65
class
cOcTreeStampedPa
:
public
cOcTreeStampedBasePa
<
66
octomap::OccupancyOcTreeBase, octomap::OcTreeNode> {
67
68
public
:
69
70
typedef
octomap::OcTreeNode
NodeTypeBase
;
71
typedef
cNodeStampedBasePa<NodeTypeBase>
NodeTypeFull
;
72
typedef
cOcTreeStampedBasePa
<
73
octomap::OccupancyOcTreeBase,
NodeTypeBase
>
TreeTypeBase
;
74
76
cOcTreeStampedPa
(
double
resolution);
77
78
// Default destructor
79
virtual
~cOcTreeStampedPa
(
void
);
80
83
cOcTreeStampedPa
*
create
()
const
;
84
85
virtual
std::string
getTreeType
()
const
;
86
87
protected
:
92
class
StaticMemberInitializer
{
93
public
:
94
StaticMemberInitializer
(
void
);
95
96
void
ensureLinking
(
void
);
97
};
98
100
static
StaticMemberInitializer
StaticMemberInit
;
101
};
102
103
#endif //#ifndef OCTREE_STAMPED_PA_H
cOcTreeStampedPa::create
cOcTreeStampedPa * create() const
Definition:
octree_stamped_pa.cpp:67
cOcTreeStampedPa::NodeTypeBase
octomap::OcTreeNode NodeTypeBase
Definition:
octree_stamped_pa.h:116
cOcTreeStampedPa::getTreeType
virtual std::string getTreeType() const
Definition:
octree_stamped_pa.cpp:74
cOcTreeStampedPa::~cOcTreeStampedPa
virtual ~cOcTreeStampedPa(void)
Definition:
octree_stamped_pa.cpp:62
cOcTreeStampedPa::StaticMemberInitializer
Definition:
octree_stamped_pa.h:138
cOcTreeStampedPa::TreeTypeBase
cOcTreeStampedBasePa< octomap::OccupancyOcTreeBase, NodeTypeBase > TreeTypeBase
Definition:
octree_stamped_pa.h:119
cOcTreeStampedPa::cOcTreeStampedPa
cOcTreeStampedPa(double resolution)
Default constructor, sets resolution of leafs.
Definition:
octree_stamped_pa.cpp:54
cOcTreeStampedPa::NodeTypeFull
cNodeStampedBasePa< NodeTypeBase > NodeTypeFull
Definition:
octree_stamped_pa.h:117
cNodeStampedBasePa
Definition:
node_stamped_base_pa.h:78
cOcTreeStampedPa
Definition:
octree_stamped_pa.h:65
cOcTreeStampedPa::StaticMemberInitializer::StaticMemberInitializer
StaticMemberInitializer(void)
Definition:
octree_stamped_pa.cpp:86
cOcTreeStampedBasePa
Definition:
octree_stamped_base_pa.h:60
cOcTreeStampedPa::StaticMemberInit
static StaticMemberInitializer StaticMemberInit
to ensure static initialization (only once)
Definition:
octree_stamped_pa.h:146
cOcTreeStampedPa::StaticMemberInitializer::ensureLinking
void ensureLinking(void)
Definition:
octree_stamped_pa.cpp:94
octree_stamped_base_pa.h
octomap_pa
Author(s):
autogenerated on Wed Mar 2 2022 00:46:31