Public Member Functions | Protected Attributes
ColorOctomapServer Class Reference

#include <ColorOctomapServer.h>

Inheritance diagram for ColorOctomapServer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ColorOctomapServer ()
virtual void insertCloudCallback (const pointcloud_type::ConstPtr cloud, double max_range=-1.0)
virtual void insertCloudCallbackCommon (boost::shared_ptr< octomap::Pointcloud > cloud, pointcloud_type::ConstPtr colors, const octomap::point3d &origin, double max_range=-1.0)
void occupancyFilter (pointcloud_type::ConstPtr input, pointcloud_type::Ptr output, double occupancy_threshold)
 Filter cloud by occupancy of voxels, e.g. remove points in free space.
virtual void render ()
void reset ()
 Clear octomap and reset values to paramters from parameter server.
bool save (const char *filename) const
virtual ~ColorOctomapServer ()

Protected Attributes

octomap::ColorOcTree m_octoMap
QFuture< void > rendering

Detailed Description

Definition at line 14 of file ColorOctomapServer.h.


Constructor & Destructor Documentation

partly taken from the ros octomap server.

Author:
A. Hornung, K. M. Wurm University of Freiburg, Copyright (C) 2009. License: GPL

Definition at line 18 of file ColorOctomapServer.cpp.

Definition at line 24 of file ColorOctomapServer.cpp.


Member Function Documentation

void ColorOctomapServer::insertCloudCallback ( const pointcloud_type::ConstPtr  cloud,
double  max_range = -1.0 
) [virtual]

Raycas cloud into the octomap

Parameters:
cloudpointcloud in arbitrary frame (specified in the clouds header)

Definition at line 61 of file ColorOctomapServer.cpp.

void ColorOctomapServer::insertCloudCallbackCommon ( boost::shared_ptr< octomap::Pointcloud cloud,
pointcloud_type::ConstPtr  colors,
const octomap::point3d origin,
double  max_range = -1.0 
) [virtual]

Raycast cloud into the octomap

Parameters:
cloudpointcloud in map frame
originsensor location in map frame

Definition at line 93 of file ColorOctomapServer.cpp.

void ColorOctomapServer::occupancyFilter ( pointcloud_type::ConstPtr  input,
pointcloud_type::Ptr  output,
double  occupancy_threshold 
)

Filter cloud by occupancy of voxels, e.g. remove points in free space.

Definition at line 132 of file ColorOctomapServer.cpp.

void ColorOctomapServer::render ( ) [virtual]

Implements Renderable.

Definition at line 187 of file ColorOctomapServer.cpp.

Clear octomap and reset values to paramters from parameter server.

Definition at line 26 of file ColorOctomapServer.cpp.

bool ColorOctomapServer::save ( const char *  filename) const

Definition at line 38 of file ColorOctomapServer.cpp.


Member Data Documentation

Definition at line 38 of file ColorOctomapServer.h.

QFuture<void> ColorOctomapServer::rendering [mutable, protected]

Definition at line 40 of file ColorOctomapServer.h.


The documentation for this class was generated from the following files:


rgbdslam_v2
Author(s): Felix Endres, Juergen Hess, Nikolas Engelhard
autogenerated on Thu Jun 6 2019 21:49:45