Public Member Functions | Protected Attributes
SupportingPlaneExtraction Class Reference

Finds a supporting plane (e.g. a table top or a wall) in a polygon array. More...

#include <supporting_plane_extraction.h>

List of all members.

Public Member Functions

bool getSupportingPlane (std::vector< Polygon::Ptr > &polys, Polygon &sp)
 Extract the supporting plane from a polygon array.
void setAreaMax (double area_max)
 Set the maximum threshold for the area of the supporting plane.
void setAreaMin (double area_min)
 Set the minimum threshold for the area of the supporting plane.
void setDistanceMax (double distance_max)
 Set the maximum threshold for the distance from the supporting plane to the view point.
void setDistanceMin (double distance_min)
 Set the minimum threshold for the distance from the supporting plane to the view point.
 SupportingPlaneExtraction ()
 Constructor.
 ~SupportingPlaneExtraction ()
 Destructor.

Protected Attributes

double area_max_
 The maximum area of the supporting plane.
double area_min_
 The minimum area of the supporting plane.
double distance_max_
 The minimum distance between supporting plane an view point.
double distance_min_
 The minimum distance between supporting plane an view point.

Detailed Description

Finds a supporting plane (e.g. a table top or a wall) in a polygon array.

The supporting plane has an area the lies between a user-definied minimum and maximum value and has to be in a certain distance range from the view point. The algorithm only works if a dominant plane exists in the array. Works best with a polygon array defined in camera coordinates.

Definition at line 89 of file supporting_plane_extraction.h.


Constructor & Destructor Documentation

Constructor.

void

Definition at line 97 of file supporting_plane_extraction.h.

Destructor.

void

Definition at line 106 of file supporting_plane_extraction.h.


Member Function Documentation

bool SupportingPlaneExtraction::getSupportingPlane ( std::vector< Polygon::Ptr > &  polys,
Polygon sp 
)

Extract the supporting plane from a polygon array.

Parameters:
[in]polysThe polygon array to be evaluated.
[out]spThe supporting plane
Returns:
True if extraction was possible.

Definition at line 61 of file supporting_plane_extraction.cpp.

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

Set the maximum threshold for the area of the supporting plane.

Parameters:
area_maxThe maximum threshold.

Definition at line 155 of file supporting_plane_extraction.h.

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

Set the minimum threshold for the area of the supporting plane.

Parameters:
area_minThe minimum threshold.

Definition at line 143 of file supporting_plane_extraction.h.

void SupportingPlaneExtraction::setDistanceMax ( double  distance_max) [inline]

Set the maximum threshold for the distance from the supporting plane to the view point.

Parameters:
distance_manThe maximum threshold.

Definition at line 131 of file supporting_plane_extraction.h.

void SupportingPlaneExtraction::setDistanceMin ( double  distance_min) [inline]

Set the minimum threshold for the distance from the supporting plane to the view point.

Parameters:
distance_minThe minimum threshold.

Definition at line 119 of file supporting_plane_extraction.h.


Member Data Documentation

The maximum area of the supporting plane.

Definition at line 176 of file supporting_plane_extraction.h.

The minimum area of the supporting plane.

Definition at line 175 of file supporting_plane_extraction.h.

The minimum distance between supporting plane an view point.

Definition at line 174 of file supporting_plane_extraction.h.

The minimum distance between supporting plane an view point.

Definition at line 173 of file supporting_plane_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