$search
#include <table_extraction.h>
Public Member Functions | |
bool | isHeightOk () |
check if the plane is high enough or not | |
bool | isHorizontal () |
check if the plane of the polygon is horizontal or not | |
bool | isSizeOk () |
check if the area of the plane polygon is sufficient or not | |
bool | isTable () |
check if the polygon is a table object candidate or not | |
void | setAreaMax (double area_max) |
Set Maximum threshold for area of a polygon. | |
void | setAreaMin (double area_min) |
Set Minimum threshold for area of a polygon. | |
void | setHeightMax (double height_max) |
Set Maximum threshold for height. | |
void | setHeightMin (double height_min) |
Set Minimum threshold for height. | |
void | setInputPolygon (Polygon::Ptr poly_ptr) |
sets the input polygon | |
void | setNormalBounds (double tilt_angle) |
void | setNormXMax (double norm_x_max) |
Set Maximum threshold for x component of normal vector. | |
void | setNormXMin (double norm_x_min) |
Set Minimum threshold for x component of normal vector. | |
void | setNormYMax (double norm_y_max) |
Set Maximum threshold for y component of normal vector. | |
void | setNormYMin (double norm_y_min) |
Set Minimum threshold for y component of normal vector. | |
void | setNormZMax (double norm_z_max) |
Set Maximum threshold for z component of normal vector. | |
void | setNormZMin (double norm_z_min) |
Set Minimum threshold for z component of normal vector. | |
TableExtraction () | |
Constructor. | |
~TableExtraction () | |
Destructor. | |
Protected Attributes | |
double | area_max_ |
double | area_min_ |
double | height_max_ |
double | height_min_ |
double | norm_x_max_ |
double | norm_x_min_ |
double | norm_y_max_ |
double | norm_y_min_ |
double | norm_z_max_ |
double | norm_z_min_ |
Polygon::Ptr | poly_ptr_ |
Definition at line 85 of file table_extraction.h.
TableExtraction::TableExtraction | ( | ) | [inline] |
TableExtraction::~TableExtraction | ( | ) | [inline] |
bool TableExtraction::isHeightOk | ( | ) |
check if the plane is high enough or not
Definition at line 92 of file table_extraction.cpp.
bool TableExtraction::isHorizontal | ( | ) |
check if the plane of the polygon is horizontal or not
Definition at line 77 of file table_extraction.cpp.
bool TableExtraction::isSizeOk | ( | ) |
check if the area of the plane polygon is sufficient or not
Definition at line 101 of file table_extraction.cpp.
bool TableExtraction::isTable | ( | ) |
check if the polygon is a table object candidate or not
Definition at line 62 of file table_extraction.cpp.
void TableExtraction::setAreaMax | ( | double | area_max | ) | [inline] |
Set Maximum threshold for area of a polygon.
area_max | maximum threshold value |
Definition at line 252 of file table_extraction.h.
void TableExtraction::setAreaMin | ( | double | area_min | ) | [inline] |
Set Minimum threshold for area of a polygon.
area_min | minimum threshold value |
Definition at line 240 of file table_extraction.h.
void TableExtraction::setHeightMax | ( | double | height_max | ) | [inline] |
Set Maximum threshold for height.
height_man | maximum threshold value |
Definition at line 229 of file table_extraction.h.
void TableExtraction::setHeightMin | ( | double | height_min | ) | [inline] |
Set Minimum threshold for height.
height_min | minimum threshold value |
Definition at line 217 of file table_extraction.h.
void TableExtraction::setInputPolygon | ( | Polygon::Ptr | poly_ptr | ) | [inline] |
sets the input polygon
poly_ptr | pointer to the polygon |
Definition at line 263 of file table_extraction.h.
void TableExtraction::setNormalBounds | ( | double | tilt_angle | ) | [inline] |
Definition at line 118 of file table_extraction.h.
void TableExtraction::setNormXMax | ( | double | norm_x_max | ) | [inline] |
Set Maximum threshold for x component of normal vector.
norm_x_max | maximum threshold value |
Definition at line 157 of file table_extraction.h.
void TableExtraction::setNormXMin | ( | double | norm_x_min | ) | [inline] |
Set Minimum threshold for x component of normal vector.
norm_x_min | minimum threshold value |
Definition at line 145 of file table_extraction.h.
void TableExtraction::setNormYMax | ( | double | norm_y_max | ) | [inline] |
Set Maximum threshold for y component of normal vector.
norm_y_max | maximum threshold value |
Definition at line 181 of file table_extraction.h.
void TableExtraction::setNormYMin | ( | double | norm_y_min | ) | [inline] |
Set Minimum threshold for y component of normal vector.
norm_y_min | minimum threshold value |
Definition at line 169 of file table_extraction.h.
void TableExtraction::setNormZMax | ( | double | norm_z_max | ) | [inline] |
Set Maximum threshold for z component of normal vector.
norm_z_max | maximum threshold value |
Definition at line 206 of file table_extraction.h.
void TableExtraction::setNormZMin | ( | double | norm_z_min | ) | [inline] |
Set Minimum threshold for z component of normal vector.
norm_z_min | minimum threshold value |
Definition at line 194 of file table_extraction.h.
double TableExtraction::area_max_ [protected] |
Definition at line 310 of file table_extraction.h.
double TableExtraction::area_min_ [protected] |
Definition at line 310 of file table_extraction.h.
double TableExtraction::height_max_ [protected] |
Definition at line 308 of file table_extraction.h.
double TableExtraction::height_min_ [protected] |
Definition at line 308 of file table_extraction.h.
double TableExtraction::norm_x_max_ [protected] |
Definition at line 304 of file table_extraction.h.
double TableExtraction::norm_x_min_ [protected] |
Definition at line 304 of file table_extraction.h.
double TableExtraction::norm_y_max_ [protected] |
Definition at line 305 of file table_extraction.h.
double TableExtraction::norm_y_min_ [protected] |
Definition at line 305 of file table_extraction.h.
double TableExtraction::norm_z_max_ [protected] |
Definition at line 306 of file table_extraction.h.
double TableExtraction::norm_z_min_ [protected] |
Definition at line 306 of file table_extraction.h.
Polygon::Ptr TableExtraction::poly_ptr_ [protected] |
Definition at line 312 of file table_extraction.h.