Fills the Z Buffer based on a disparity image. More...
#include <disparity_renderer.h>
Public Member Functions | |
void | clear () |
DisparityRenderer (Ogre::SceneNode *scene_root, unsigned char render_queue_group) | |
bool | setDisparityImage (const stereo_msgs::DisparityImage &disparity_image, const sensor_msgs::CameraInfo &camera_info, const sensor_msgs::Image *image=0) |
bool | update () |
virtual | ~DisparityRenderer () |
Private Attributes | |
rviz_interaction_tools::PointCloud | image_point_cloud_ |
boost::mutex | mutex_ |
bool | new_point_cloud_ |
std::vector < rviz_interaction_tools::PointCloud::Point > | raw_points_ |
Ogre::SceneNode * | scene_root_ |
Fills the Z Buffer based on a disparity image.
Definition at line 46 of file disparity_renderer.h.
rviz_interaction_tools::DisparityRenderer::DisparityRenderer | ( | Ogre::SceneNode * | scene_root, | |
unsigned char | render_queue_group | |||
) |
Definition at line 36 of file disparity_renderer.cpp.
rviz_interaction_tools::DisparityRenderer::~DisparityRenderer | ( | ) | [virtual] |
Definition at line 44 of file disparity_renderer.cpp.
void rviz_interaction_tools::DisparityRenderer::clear | ( | ) |
Definition at line 143 of file disparity_renderer.cpp.
bool rviz_interaction_tools::DisparityRenderer::setDisparityImage | ( | const stereo_msgs::DisparityImage & | disparity_image, | |
const sensor_msgs::CameraInfo & | camera_info, | |||
const sensor_msgs::Image * | image = 0 | |||
) |
Definition at line 49 of file disparity_renderer.cpp.
bool rviz_interaction_tools::DisparityRenderer::update | ( | ) |
Definition at line 123 of file disparity_renderer.cpp.
rviz_interaction_tools::PointCloud rviz_interaction_tools::DisparityRenderer::image_point_cloud_ [private] |
Definition at line 71 of file disparity_renderer.h.
boost::mutex rviz_interaction_tools::DisparityRenderer::mutex_ [private] |
Definition at line 69 of file disparity_renderer.h.
bool rviz_interaction_tools::DisparityRenderer::new_point_cloud_ [private] |
Definition at line 74 of file disparity_renderer.h.
std::vector<rviz_interaction_tools::PointCloud::Point> rviz_interaction_tools::DisparityRenderer::raw_points_ [private] |
Definition at line 75 of file disparity_renderer.h.
Ogre::SceneNode* rviz_interaction_tools::DisparityRenderer::scene_root_ [private] |
Definition at line 67 of file disparity_renderer.h.