#include <FlatPointCloudVisualization.hpp>
Public Member Functions | |
FlatPointCloudVisualization (ros::NodeHandle &nodeHandle, const std::string &name) | |
bool | initialize () |
bool | readParameters (XmlRpc::XmlRpcValue &config) |
bool | visualize (const grid_map::GridMap &map) |
virtual | ~FlatPointCloudVisualization () |
Private Attributes | |
double | height_ |
Height of the z-coordinate at which the flat point cloud is visualized. | |
std::string | layer_ |
Type that is transformed to points. |
Visualization of the grid map as a flat point cloud.
Definition at line 22 of file FlatPointCloudVisualization.hpp.
grid_map_visualization::FlatPointCloudVisualization::FlatPointCloudVisualization | ( | ros::NodeHandle & | nodeHandle, |
const std::string & | name | ||
) |
Constructor.
nodeHandle | the ROS node handle. |
name | the name of the visualization. |
Definition at line 16 of file FlatPointCloudVisualization.cpp.
Destructor.
Definition at line 22 of file FlatPointCloudVisualization.cpp.
bool grid_map_visualization::FlatPointCloudVisualization::initialize | ( | ) | [virtual] |
Initialization.
Implements grid_map_visualization::VisualizationBase.
Definition at line 38 of file FlatPointCloudVisualization.cpp.
bool grid_map_visualization::FlatPointCloudVisualization::readParameters | ( | XmlRpc::XmlRpcValue & | config | ) | [virtual] |
Read parameters from ROS.
config | the parameters as XML. |
Reimplemented from grid_map_visualization::VisualizationBase.
Definition at line 26 of file FlatPointCloudVisualization.cpp.
bool grid_map_visualization::FlatPointCloudVisualization::visualize | ( | const grid_map::GridMap & | map | ) | [virtual] |
Generates the visualization.
map | the grid map to visualize. |
Implements grid_map_visualization::VisualizationBase.
Definition at line 44 of file FlatPointCloudVisualization.cpp.
double grid_map_visualization::FlatPointCloudVisualization::height_ [private] |
Height of the z-coordinate at which the flat point cloud is visualized.
Definition at line 62 of file FlatPointCloudVisualization.hpp.
std::string grid_map_visualization::FlatPointCloudVisualization::layer_ [private] |
Type that is transformed to points.
Definition at line 59 of file FlatPointCloudVisualization.hpp.