$search

cob_3d_mapping::ShapeCluster Class Reference

Class representing ShapeCluster shapes. More...

#include <shape_cluster.h>

Inheritance diagram for cob_3d_mapping::ShapeCluster:
Inheritance graph
[legend]

List of all members.

Public Types

typedef boost::shared_ptr
< const ShapeCluster
ConstPtr
 ConstShapeCluster pointer.
typedef boost::shared_ptr
< ShapeCluster
Ptr
 ShapeCluster pointer.

Public Member Functions

void computeAttributes ()
 Compute attributes of ShapeCluster.
void getMergeCandidates (const std::vector< ShapeCluster::Ptr > &sc_vec, std::vector< int > &intersections) const
 Check for merge candidates.
bool hasSimilarParametersWith (ShapeCluster::Ptr sc) const
 Check for similar ShapeCluster parameters.
void insert (Shape::Ptr shape)
void merge (std::vector< ShapeCluster::Ptr > &sc_vec)
 Merging of ShapeClusters.
 ShapeCluster ()
 Constructor of ShapeCluster object.
void transform2tf (const Eigen::Affine3f &trafo)
 Transform ShapeCluster to target frame.

Public Attributes

Eigen::Vector3f scale
 A vector, containing the scale.
std::list< Shape::Ptrshapes
 List with shapes.

Private Attributes

float d_

Detailed Description

Class representing ShapeCluster shapes.

Definition at line 71 of file shape_cluster.h.


Member Typedef Documentation

typedef boost::shared_ptr<const ShapeCluster> cob_3d_mapping::ShapeCluster::ConstPtr

ConstShapeCluster pointer.

Const Boost shared pointer to ShapeCluster.

Definition at line 85 of file shape_cluster.h.

typedef boost::shared_ptr<ShapeCluster> cob_3d_mapping::ShapeCluster::Ptr

ShapeCluster pointer.

Boost shared pointer to ShapeCluster.

Reimplemented from cob_3d_mapping::Shape.

Definition at line 78 of file shape_cluster.h.


Constructor & Destructor Documentation

cob_3d_mapping::ShapeCluster::ShapeCluster (  )  [inline]

Constructor of ShapeCluster object.

Definition at line 92 of file shape_cluster.h.


Member Function Documentation

void cob_3d_mapping::ShapeCluster::computeAttributes (  ) 

Compute attributes of ShapeCluster.

Definition at line 63 of file shape_cluster.cpp.

void cob_3d_mapping::ShapeCluster::getMergeCandidates ( const std::vector< ShapeCluster::Ptr > &  sc_vec,
std::vector< int > &  intersections 
) const

Check for merge candidates.

Parameters:
[in] sc_vec Vector of ShapeClusters, that are checked.
[out] intersections Vector with indices of merge candidates.

Definition at line 84 of file shape_cluster.cpp.

bool cob_3d_mapping::ShapeCluster::hasSimilarParametersWith ( ShapeCluster::Ptr  sc  )  const [inline]

Check for similar ShapeCluster parameters.

Check is performed based on merge settings of ShapeClusters.

Parameters:
[in] poly ShapeCluster, whose parameters are compared to this ShapeCluster.

Definition at line 142 of file shape_cluster.h.

void cob_3d_mapping::ShapeCluster::insert ( Shape::Ptr  shape  ) 

@brief Insert shape to ShapeCluster.

Definition at line 109 of file shape_cluster.cpp.

void cob_3d_mapping::ShapeCluster::merge ( std::vector< ShapeCluster::Ptr > &  sc_vec  ) 

Merging of ShapeClusters.

Complete merge process for this polygon with a vector of merge candidates. Merging is performed relative to an average ShapeCluster.

Parameters:
[in] poly_vec Vector with merge candidate ShapeClusters

Definition at line 96 of file shape_cluster.cpp.

void cob_3d_mapping::ShapeCluster::transform2tf ( const Eigen::Affine3f &  trafo  )  [virtual]

Transform ShapeCluster to target frame.

Parameters:
[in] trafo Transformation from source frame to target frame.

Implements cob_3d_mapping::Shape.

Definition at line 78 of file shape_cluster.cpp.


Member Data Documentation

Definition at line 157 of file shape_cluster.h.

A vector, containing the scale.

Definition at line 154 of file shape_cluster.h.

List with shapes.

Definition at line 150 of file shape_cluster.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


cob_3d_mapping_common
Author(s): Georg Arbeiter
autogenerated on Fri Mar 1 15:17:42 2013