$search
#include <range_image_visualizer.h>
Public Member Functions | |
RangeImageVisualizer (const std::string &name="Range Image") | |
Constructor. | |
void | setRangeImage (const pcl::RangeImage &range_image, float min_value=-INFINITY, float max_value=INFINITY, bool grayscale=false) |
Visualize a range image. | |
void | visualizeBorders (const pcl::RangeImage &range_image, float min_value, float max_value, bool grayscale, const pcl::PointCloud< pcl::BorderDescription > &border_descriptions) |
~RangeImageVisualizer () | |
Destructor. | |
Static Public Member Functions | |
static RangeImageVisualizer * | getAnglesWidget (const pcl::RangeImage &range_image, float *angles_image, const std::string &name) |
static RangeImageVisualizer * | getHalfAnglesWidget (const pcl::RangeImage &range_image, float *angles_image, const std::string &name) |
static RangeImageVisualizer * | getInterestPointsWidget (const pcl::RangeImage &range_image, float *interest_image, float min_value, float max_value, const pcl::PointCloud< pcl::InterestPoint > &interest_points, const std::string &name) |
static RangeImageVisualizer * | getRangeImageBordersWidget (const pcl::RangeImage &range_image, float min_value, float max_value, bool grayscale, const pcl::PointCloud< pcl::BorderDescription > &border_descriptions, const std::string &name="Range image with borders") |
static RangeImageVisualizer * | getRangeImageWidget (const pcl::RangeImage &range_image, float min_value, float max_value, bool grayscale, const std::string &name="Range image") |
Protected Attributes | |
std::string | name_ |
Definition at line 45 of file range_image_visualizer.h.
pcl_visualization::RangeImageVisualizer::RangeImageVisualizer | ( | const std::string & | name = "Range Image" |
) |
Constructor.
Definition at line 41 of file range_image_visualizer.cpp.
pcl_visualization::RangeImageVisualizer::~RangeImageVisualizer | ( | ) |
Destructor.
Definition at line 45 of file range_image_visualizer.cpp.
pcl_visualization::RangeImageVisualizer * pcl_visualization::RangeImageVisualizer::getAnglesWidget | ( | const pcl::RangeImage & | range_image, | |
float * | angles_image, | |||
const std::string & | name | |||
) | [static] |
Get a widget visualizing the given angle image (assuming values in (-PI, PI]). -PI and PI will return the same color You are responsible for deleting it after usage!
Definition at line 111 of file range_image_visualizer.cpp.
pcl_visualization::RangeImageVisualizer * pcl_visualization::RangeImageVisualizer::getHalfAnglesWidget | ( | const pcl::RangeImage & | range_image, | |
float * | angles_image, | |||
const std::string & | name | |||
) | [static] |
Get a widget visualizing the given angle image (assuming values in (-PI/2, PI/2]). -PI/2 and PI/2 will return the same color You are responsible for deleting it after usage!
Definition at line 120 of file range_image_visualizer.cpp.
pcl_visualization::RangeImageVisualizer * pcl_visualization::RangeImageVisualizer::getInterestPointsWidget | ( | const pcl::RangeImage & | range_image, | |
float * | interest_image, | |||
float | min_value, | |||
float | max_value, | |||
const pcl::PointCloud< pcl::InterestPoint > & | interest_points, | |||
const std::string & | name | |||
) | [static] |
Get a widget visualizing the interest values and extracted interest points. The interest points will be marked green. You are responsible for deleting it after usage!
Definition at line 129 of file range_image_visualizer.cpp.
pcl_visualization::RangeImageVisualizer * pcl_visualization::RangeImageVisualizer::getRangeImageBordersWidget | ( | const pcl::RangeImage & | range_image, | |
float | min_value, | |||
float | max_value, | |||
bool | grayscale, | |||
const pcl::PointCloud< pcl::BorderDescription > & | border_descriptions, | |||
const std::string & | name = "Range image with borders" | |||
) | [static] |
Same as above, but returning a new widget. You are responsible for deleting it after usage!
Definition at line 98 of file range_image_visualizer.cpp.
pcl_visualization::RangeImageVisualizer * pcl_visualization::RangeImageVisualizer::getRangeImageWidget | ( | const pcl::RangeImage & | range_image, | |
float | min_value, | |||
float | max_value, | |||
bool | grayscale, | |||
const std::string & | name = "Range image" | |||
) | [static] |
Get a widget visualizing the given range image. You are responsible for deleting it after usage!
Definition at line 62 of file range_image_visualizer.cpp.
void pcl_visualization::RangeImageVisualizer::setRangeImage | ( | const pcl::RangeImage & | range_image, | |
float | min_value = -INFINITY , |
|||
float | max_value = INFINITY , |
|||
bool | grayscale = false | |||
) |
Visualize a range image.
Definition at line 50 of file range_image_visualizer.cpp.
void pcl_visualization::RangeImageVisualizer::visualizeBorders | ( | const pcl::RangeImage & | range_image, | |
float | min_value, | |||
float | max_value, | |||
bool | grayscale, | |||
const pcl::PointCloud< pcl::BorderDescription > & | border_descriptions | |||
) |
Visualize the given range image and the detected borders in it. Borders on the obstacles are marked green, borders on the background are marked bright blue.
Definition at line 70 of file range_image_visualizer.cpp.
std::string pcl_visualization::RangeImageVisualizer::name_ [protected] |
Definition at line 93 of file range_image_visualizer.h.