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

#include <structure_extraction.h>

List of all members.

Public Member Functions

bool classify (unsigned int &label)
 Classify the polygon.
void setCeilingHeight (double height)
 Set the height of the ceiling.
void setFloorHeight (double height)
 Set the height of the floor.
void setInputPolygon (Polygon::Ptr poly_ptr)
 Set the input polygon.
 StructureExtraction ()
 Constructor.
 ~StructureExtraction ()
 Destructor.

Protected Member Functions

bool isCeiling ()
 Check if the polygon is a ceiling.
bool isFloor ()
 Check if the polygon is a floor.
bool isWall ()
 Check if the polygon is a wall.

Protected Attributes

double ceiling_height_
 The ceiling height.
double floor_height_
 The floor height.
Polygon::Ptr poly_ptr_
 The pointer to the polygon to be classified.

Detailed Description

Classifies a polygon as floor, ceiling or wall in order to obtain the structure of the environment.

Definition at line 95 of file structure_extraction.h.


Constructor & Destructor Documentation

Constructor.

void

Definition at line 103 of file structure_extraction.h.

Destructor.

void

Definition at line 112 of file structure_extraction.h.


Member Function Documentation

bool StructureExtraction::classify ( unsigned int &  label)

Classify the polygon.

Parameters:
[out]labelThe class of the polygon (ceiling = 1, floor = 2, wall = 3, other = 0).
Returns:
True if classification was possible.

Definition at line 99 of file structure_extraction.cpp.

bool StructureExtraction::isCeiling ( ) [protected]

Check if the polygon is a ceiling.

Returns:
True if it is a ceiling.

Definition at line 89 of file structure_extraction.cpp.

bool StructureExtraction::isFloor ( ) [protected]

Check if the polygon is a floor.

Returns:
True if it is a floor.

Definition at line 79 of file structure_extraction.cpp.

bool StructureExtraction::isWall ( ) [protected]

Check if the polygon is a wall.

Returns:
True if it is a wall.

Definition at line 69 of file structure_extraction.cpp.

void StructureExtraction::setCeilingHeight ( double  height) [inline]

Set the height of the ceiling.

Parameters:
heightThe ceiling height.

Definition at line 137 of file structure_extraction.h.

void StructureExtraction::setFloorHeight ( double  height) [inline]

Set the height of the floor.

Parameters:
heightThe floor height.

Definition at line 125 of file structure_extraction.h.

Set the input polygon.

Parameters:
poly_ptrPointer to the polygon.

Definition at line 149 of file structure_extraction.h.


Member Data Documentation

The ceiling height.

Definition at line 190 of file structure_extraction.h.

The floor height.

Definition at line 189 of file structure_extraction.h.

The pointer to the polygon to be classified.

Definition at line 192 of file structure_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