#include <OcTreeDrawer.h>
|
void | clearCubes (GLfloat ***glArray, unsigned int &glArraySize, GLfloat **glColorArray=NULL) |
| clear OpenGL visualization More...
|
|
void | clearOcTreeStructure () |
|
void | drawAxes () const |
|
void | drawCubes (GLfloat **cubeArray, unsigned int cubeArraySize, GLfloat *cubeColorArray=NULL) const |
|
void | drawFreeVoxels () const |
|
void | drawOccupiedVoxels () const |
|
void | drawOctreeGrid () const |
|
void | drawSelection () const |
|
unsigned int | generateCube (const octomap::OcTreeVolume &v, const std::vector< octomath::Vector3 > &cube_template, const unsigned int ¤t_array_idx, GLfloat ***glArray) |
| add one cube to arrays More...
|
|
void | generateCubes (const std::list< octomap::OcTreeVolume > &voxels, GLfloat ***glArray, unsigned int &glArraySize, octomath::Pose6D &origin, GLfloat **glColorArray=NULL) |
|
void | initCubeTemplate (const octomath::Pose6D &origin, std::vector< octomath::Vector3 > &cube_template) |
| setup cube template More...
|
|
void | initGLArrays (const unsigned int &num_cubes, unsigned int &glArraySize, GLfloat ***glArray, GLfloat **glColorArray) |
| setup OpenGL arrays More...
|
|
void | initOctreeGridVis () |
|
unsigned int | setCubeColorHeightmap (const octomap::OcTreeVolume &v, const unsigned int ¤t_array_idx, GLfloat **glColorArray) |
|
unsigned int | setCubeColorRGBA (const unsigned char &r, const unsigned char &g, const unsigned char &b, const unsigned char &a, const unsigned int ¤t_array_idx, GLfloat **glColorArray) |
|
void | heightMapColor (double h, GLfloat *glArrayPos) const |
|
void | heightMapGray (double h, GLfloat *glArrayPos) const |
|
Definition at line 32 of file OcTreeDrawer.h.
octomap::OcTreeDrawer::OcTreeDrawer |
( |
| ) |
|
octomap::OcTreeDrawer::~OcTreeDrawer |
( |
| ) |
|
|
virtual |
void octomap::OcTreeDrawer::clear |
( |
| ) |
|
|
virtual |
void octomap::OcTreeDrawer::clearCubes |
( |
GLfloat *** |
glArray, |
|
|
unsigned int & |
glArraySize, |
|
|
GLfloat ** |
glColorArray = NULL |
|
) |
| |
|
protected |
void octomap::OcTreeDrawer::clearOcTreeSelection |
( |
| ) |
|
void octomap::OcTreeDrawer::clearOcTreeStructure |
( |
| ) |
|
|
protected |
void octomap::OcTreeDrawer::draw |
( |
| ) |
const |
|
virtual |
void octomap::OcTreeDrawer::drawAxes |
( |
| ) |
const |
|
protected |
void octomap::OcTreeDrawer::drawCubes |
( |
GLfloat ** |
cubeArray, |
|
|
unsigned int |
cubeArraySize, |
|
|
GLfloat * |
cubeColorArray = NULL |
|
) |
| const |
|
protected |
void octomap::OcTreeDrawer::drawFreeVoxels |
( |
| ) |
const |
|
protected |
void octomap::OcTreeDrawer::drawOccupiedVoxels |
( |
| ) |
const |
|
protected |
void octomap::OcTreeDrawer::drawOctreeGrid |
( |
| ) |
const |
|
protected |
void octomap::OcTreeDrawer::drawSelection |
( |
| ) |
const |
|
protected |
void octomap::OcTreeDrawer::enableAxes |
( |
bool |
enabled = true | ) |
|
|
inline |
void octomap::OcTreeDrawer::enableFreespace |
( |
bool |
enabled = true | ) |
|
|
inline |
void octomap::OcTreeDrawer::enableOcTree |
( |
bool |
enabled = true | ) |
|
void octomap::OcTreeDrawer::enableOcTreeCells |
( |
bool |
enabled = true | ) |
|
|
inline |
void octomap::OcTreeDrawer::enableSelection |
( |
bool |
enabled = true | ) |
|
|
inline |
unsigned int octomap::OcTreeDrawer::generateCube |
( |
const octomap::OcTreeVolume & |
v, |
|
|
const std::vector< octomath::Vector3 > & |
cube_template, |
|
|
const unsigned int & |
current_array_idx, |
|
|
GLfloat *** |
glArray |
|
) |
| |
|
protected |
void octomap::OcTreeDrawer::generateCubes |
( |
const std::list< octomap::OcTreeVolume > & |
voxels, |
|
|
GLfloat *** |
glArray, |
|
|
unsigned int & |
glArraySize, |
|
|
octomath::Pose6D & |
origin, |
|
|
GLfloat ** |
glColorArray = NULL |
|
) |
| |
|
protected |
Initializes the OpenGL visualization for a list of OcTreeVolumes The array is cleared first, if needed rotates cubes to correct reference frame
Definition at line 477 of file OcTreeDrawer.cpp.
void octomap::OcTreeDrawer::initGLArrays |
( |
const unsigned int & |
num_cubes, |
|
|
unsigned int & |
glArraySize, |
|
|
GLfloat *** |
glArray, |
|
|
GLfloat ** |
glColorArray |
|
) |
| |
|
protected |
void octomap::OcTreeDrawer::initOctreeGridVis |
( |
| ) |
|
|
protected |
void octomap::OcTreeDrawer::setAlphaOccupied |
( |
double |
alpha | ) |
|
unsigned int octomap::OcTreeDrawer::setCubeColorHeightmap |
( |
const octomap::OcTreeVolume & |
v, |
|
|
const unsigned int & |
current_array_idx, |
|
|
GLfloat ** |
glColorArray |
|
) |
| |
|
protected |
unsigned int octomap::OcTreeDrawer::setCubeColorRGBA |
( |
const unsigned char & |
r, |
|
|
const unsigned char & |
g, |
|
|
const unsigned char & |
b, |
|
|
const unsigned char & |
a, |
|
|
const unsigned int & |
current_array_idx, |
|
|
GLfloat ** |
glColorArray |
|
) |
| |
|
protected |
void octomap::OcTreeDrawer::setMax_tree_depth |
( |
unsigned int |
max_tree_depth | ) |
|
|
inline |
void octomap::OcTreeDrawer::setOcTree |
( |
const AbstractOcTree & |
octree | ) |
|
|
inline |
void octomap::OcTreeDrawer::setOcTreeSelection |
( |
const std::list< octomap::OcTreeVolume > & |
selectedPoints | ) |
|
double octomap::OcTreeDrawer::m_alphaOccupied |
|
protected |
bool octomap::OcTreeDrawer::m_displayAxes |
|
protected |
bool octomap::OcTreeDrawer::m_drawFree |
|
protected |
bool octomap::OcTreeDrawer::m_drawOccupied |
|
protected |
bool octomap::OcTreeDrawer::m_drawOcTreeGrid |
|
protected |
bool octomap::OcTreeDrawer::m_drawSelection |
|
protected |
GLfloat** octomap::OcTreeDrawer::m_freeArray |
|
protected |
unsigned int octomap::OcTreeDrawer::m_freeSize |
|
protected |
GLfloat** octomap::OcTreeDrawer::m_freeThresArray |
|
protected |
unsigned int octomap::OcTreeDrawer::m_freeThresSize |
|
protected |
unsigned int octomap::OcTreeDrawer::m_max_tree_depth |
|
protected |
GLfloat** octomap::OcTreeDrawer::m_occupiedArray |
|
protected |
GLfloat* octomap::OcTreeDrawer::m_occupiedColorArray |
|
protected |
unsigned int octomap::OcTreeDrawer::m_occupiedSize |
|
protected |
GLfloat** octomap::OcTreeDrawer::m_occupiedThresArray |
|
protected |
OpenGL representation of Octree cells (cubes)
Definition at line 121 of file OcTreeDrawer.h.
GLfloat* octomap::OcTreeDrawer::m_occupiedThresColorArray |
|
protected |
Color array for occupied cells (height)
Definition at line 133 of file OcTreeDrawer.h.
unsigned int octomap::OcTreeDrawer::m_occupiedThresSize |
|
protected |
bool octomap::OcTreeDrawer::m_octree_grid_vis_initialized |
|
protected |
GLfloat** octomap::OcTreeDrawer::m_selectionArray |
|
protected |
unsigned int octomap::OcTreeDrawer::m_selectionSize |
|
protected |
int octomap::OcTreeDrawer::map_id |
|
protected |
GLfloat* octomap::OcTreeDrawer::octree_grid_vertex_array |
|
protected |
OpenGL representation of Octree (grid structure)
Definition at line 138 of file OcTreeDrawer.h.
unsigned int octomap::OcTreeDrawer::octree_grid_vertex_size |
|
protected |
The documentation for this class was generated from the following files: