Public Member Functions | Protected Member Functions | Protected Attributes
TableExtraction Class Reference

Extracts table tops from a polygon array. More...

#include <table_extraction.h>

List of all members.

Public Member Functions

bool isTable ()
 Check if the polygon is a table top.
void setAreaMax (double area_max)
 Set the maximum area of the table top.
void setAreaMin (double area_min)
 Set the minimum area of the table top.
void setHeightMax (double height_max)
 Set the maximum height of the table top.
void setHeightMin (double height_min)
 Set the minimum height of the table top.
void setInputPolygon (Polygon::Ptr poly_ptr)
 Set the input polygon.
void setNormalBounds (double tilt_angle)
 Set the allowed normal vector bounds for a given tilt angle.
 TableExtraction ()
 Constructor.
 ~TableExtraction ()
 Destructor.

Protected Member Functions

bool isHeightOk ()
 Check if the height of the plane polygon is within bounds.
bool isHorizontal ()
 Check if the plane of the polygon is horizontal.
bool isSizeOk ()
 Check if the area of the plane polygon is within bounds.

Protected Attributes

double area_max_
 The maximum area of the table.
double area_min_
 The minimum area of the table.
double height_max_
 The maximum height of the table.
double height_min_
 The minimum height of the table.
double norm_x_max_
 The maximum x component of the plane normal.
double norm_x_min_
 The minimum x component of the plane normal.
double norm_y_max_
 The maximum y component of the plane normal.
double norm_y_min_
 The minimum y component of the plane normal.
double norm_z_max_
 The maximum z component of the plane normal.
double norm_z_min_
 The minimum z component of the plane normal.
Polygon::Ptr poly_ptr_
 The polygon to be evaluated.

Detailed Description

Extracts table tops from a polygon array.

Definition at line 95 of file table_extraction.h.


Constructor & Destructor Documentation

Constructor.

void

Definition at line 103 of file table_extraction.h.

Destructor.

void

Definition at line 113 of file table_extraction.h.


Member Function Documentation

bool TableExtraction::isHeightOk ( ) [protected]

Check if the height of the plane polygon is within bounds.

Returns:
True if it is within bounds.

Definition at line 100 of file table_extraction.cpp.

bool TableExtraction::isHorizontal ( ) [protected]

Check if the plane of the polygon is horizontal.

Returns:
True if it is horizontal.

Definition at line 84 of file table_extraction.cpp.

bool TableExtraction::isSizeOk ( ) [protected]

Check if the area of the plane polygon is within bounds.

Returns:
True if it is within bounds.

Definition at line 109 of file table_extraction.cpp.

Check if the polygon is a table top.

Returns:
True if it is a table top.

Definition at line 69 of file table_extraction.cpp.

void TableExtraction::setAreaMax ( double  area_max) [inline]

Set the maximum area of the table top.

Parameters:
area_maxThe maximum area.

Definition at line 181 of file table_extraction.h.

void TableExtraction::setAreaMin ( double  area_min) [inline]

Set the minimum area of the table top.

Parameters:
area_minThe minimum area.

Definition at line 169 of file table_extraction.h.

void TableExtraction::setHeightMax ( double  height_max) [inline]

Set the maximum height of the table top.

Parameters:
height_manThe maximum height.

Definition at line 157 of file table_extraction.h.

void TableExtraction::setHeightMin ( double  height_min) [inline]

Set the minimum height of the table top.

Parameters:
height_minThe minimum height.

Definition at line 145 of file table_extraction.h.

void TableExtraction::setInputPolygon ( Polygon::Ptr  poly_ptr) [inline]

Set the input polygon.

Parameters:
poly_ptrPointer to the polygon.

Definition at line 193 of file table_extraction.h.

void TableExtraction::setNormalBounds ( double  tilt_angle) [inline]

Set the allowed normal vector bounds for a given tilt angle.

Parameters:
[in]tilt_angleThe allowed tilt angle (in degrees).

Definition at line 125 of file table_extraction.h.


Member Data Documentation

double TableExtraction::area_max_ [protected]

The maximum area of the table.

Definition at line 245 of file table_extraction.h.

double TableExtraction::area_min_ [protected]

The minimum area of the table.

Definition at line 244 of file table_extraction.h.

double TableExtraction::height_max_ [protected]

The maximum height of the table.

Definition at line 242 of file table_extraction.h.

double TableExtraction::height_min_ [protected]

The minimum height of the table.

Definition at line 241 of file table_extraction.h.

double TableExtraction::norm_x_max_ [protected]

The maximum x component of the plane normal.

Definition at line 235 of file table_extraction.h.

double TableExtraction::norm_x_min_ [protected]

The minimum x component of the plane normal.

Definition at line 234 of file table_extraction.h.

double TableExtraction::norm_y_max_ [protected]

The maximum y component of the plane normal.

Definition at line 237 of file table_extraction.h.

double TableExtraction::norm_y_min_ [protected]

The minimum y component of the plane normal.

Definition at line 236 of file table_extraction.h.

double TableExtraction::norm_z_max_ [protected]

The maximum z component of the plane normal.

Definition at line 239 of file table_extraction.h.

double TableExtraction::norm_z_min_ [protected]

The minimum z component of the plane normal.

Definition at line 238 of file table_extraction.h.

The polygon to be evaluated.

Definition at line 247 of file table_extraction.h.


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


cob_3d_mapping_semantics
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:03:34