PointcloudDrawer.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 POINTCLOUDDRAWER_H_
26 #define POINTCLOUDDRAWER_H_
27 
28 #include "SceneObject.h"
29 
30 namespace octomap {
31 
36  public:
38  PointcloudDrawer(const ScanGraph& graph);
39  virtual ~PointcloudDrawer();
40 
41  virtual void draw() const;
42  virtual void clear();
43  virtual void setScanGraph(const ScanGraph& graph);
44 
45  protected:
46  GLfloat* m_pointsArray;
47  unsigned m_numberPoints;
48 
49  };
50 
51 }
52 
53 #endif /* POINTCLOUDDRAWER_H_ */
octomap::PointcloudDrawer::clear
virtual void clear()
Definition: PointcloudDrawer.cpp:72
octomap::PointcloudDrawer::PointcloudDrawer
PointcloudDrawer()
Definition: PointcloudDrawer.cpp:29
octomap::PointcloudDrawer::~PointcloudDrawer
virtual ~PointcloudDrawer()
Definition: PointcloudDrawer.cpp:41
octomap::PointcloudDrawer::m_pointsArray
GLfloat * m_pointsArray
Definition: PointcloudDrawer.h:46
octomap::ScanGraph
octomap::PointcloudDrawer::m_numberPoints
unsigned m_numberPoints
Definition: PointcloudDrawer.h:47
octomap::ScanGraphDrawer
Definition: SceneObject.h:96
SceneObject.h
octomap::PointcloudDrawer::draw
virtual void draw() const
Definition: PointcloudDrawer.cpp:80
octomap::PointcloudDrawer::setScanGraph
virtual void setScanGraph(const ScanGraph &graph)
Definition: PointcloudDrawer.cpp:46
octomap
octomap::PointcloudDrawer
Definition: PointcloudDrawer.h:35


octovis
Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Thu Apr 3 2025 02:40:44