$search

cob_3d_mapping::Shape Class Reference

Class, representing Shape objects. More...

#include <shape.h>

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

List of all members.

Public Types

typedef boost::shared_ptr< ShapePtr
 Shape Pointer.

Public Member Functions

double computeDistanceFromViewpoint ()
 Shape ()
 Constructor of shape object.
virtual void transform2tf (const Eigen::Affine3f &trafo)=0
 Transform shape to target frame.
virtual ~Shape ()
 Destructor of shape.

Public Attributes

Eigen::Vector4f centroid
std::vector< float > color
unsigned int frame_stamp
unsigned int id
unsigned int merged

Detailed Description

Class, representing Shape objects.

Note:
Base class for Cylinder and Polygon classes

Definition at line 78 of file shape.h.


Member Typedef Documentation

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

Shape Pointer.

Boost shared pointer to shape object.

Reimplemented in cob_3d_mapping::Cylinder, cob_3d_mapping::Polygon, and cob_3d_mapping::ShapeCluster.

Definition at line 86 of file shape.h.


Constructor & Destructor Documentation

cob_3d_mapping::Shape::Shape ( void   )  [inline]

Constructor of shape object.

Definition at line 92 of file shape.h.

virtual cob_3d_mapping::Shape::~Shape (  )  [inline, virtual]

Destructor of shape.

Definition at line 102 of file shape.h.


Member Function Documentation

double cob_3d_mapping::Shape::computeDistanceFromViewpoint (  )  [inline]

Definition at line 110 of file shape.h.

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

Transform shape to target frame.

Parameters:
[in] trafo Transformatuon, which is applied.

Implemented in cob_3d_mapping::Polygon, and cob_3d_mapping::ShapeCluster.


Member Data Documentation

Cenroid of shape.

Definition at line 115 of file shape.h.

std::vector<float> cob_3d_mapping::Shape::color

Color of shape as RGB vector.

Definition at line 116 of file shape.h.

Frame, shape was created or merged the last time.

Definition at line 114 of file shape.h.

ID of shape.

Definition at line 112 of file shape.h.

Number of times, shape has been merged.

Definition at line 113 of file shape.h.


The documentation for this class was generated from the following file:
 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