Public Member Functions | Protected Attributes | List of all members
CuboidReader Class Reference

Cuboid reader. More...

#include <cuboid_reader.h>

Inheritance diagram for CuboidReader:
Inheritance graph
[legend]

Public Member Functions

std::vector< Cuboid > & cuboidBox ()
 Get Cuboid box. More...
 
std::vector< Cuboid > & cuboidObstacle ()
 Get Cuboid obstacle. More...
 
 CuboidReader (std::shared_ptr< ros::NodeHandle > const &d)
 Cuboid reader constructor. More...
 
void read () override
 read implementatin More...
 
void setCuboidBox (std::vector< Cuboid > &cuboid_data)
 Set Cuboid box. More...
 
void setCuboidObstacle (std::vector< Cuboid > &cuboid_data)
 Set Cuboid obstacle. More...
 
- Public Member Functions inherited from AbstractParamReader
 AbstractParamReader (std::shared_ptr< ros::NodeHandle > const &d)
 AbstractParamReader constructor. More...
 
float floatOf (XmlRpc::XmlRpcValue &val)
 Xmlrpc parser. More...
 

Protected Attributes

std::vector< Cuboid > cuboid_box_
 As box defined object. More...
 
std::vector< Cuboid > cuboid_obstacle_
 As obstacle defined objects. More...
 
- Protected Attributes inherited from AbstractParamReader
std::shared_ptr< ros::NodeHandle > nh_
 ROS Nodehandle. More...
 

Detailed Description

Cuboid reader.

Reader which returns cuboid objects as defined in gb_grasp

Definition at line 17 of file cuboid_reader.h.

Constructor & Destructor Documentation

◆ CuboidReader()

CuboidReader::CuboidReader ( std::shared_ptr< ros::NodeHandle > const &  d)
inline

Cuboid reader constructor.

Calls pure virtual read() methode

Parameters
dROS nodehandle

Definition at line 28 of file cuboid_reader.h.

Member Function Documentation

◆ cuboidBox()

std::vector<Cuboid>& CuboidReader::cuboidBox ( )
inline

Get Cuboid box.

Returns
Cuboid box vector

Definition at line 46 of file cuboid_reader.h.

◆ cuboidObstacle()

std::vector<Cuboid>& CuboidReader::cuboidObstacle ( )
inline

Get Cuboid obstacle.

Returns
Cuboid obstacle vector

Definition at line 52 of file cuboid_reader.h.

◆ read()

void CuboidReader::read ( )
overridevirtual

read implementatin

Implements AbstractParamReader.

Definition at line 3 of file cuboid_reader.cpp.

◆ setCuboidBox()

void CuboidReader::setCuboidBox ( std::vector< Cuboid > &  cuboid_data)
inline

Set Cuboid box.

Parameters
cuboid_data

Definition at line 34 of file cuboid_reader.h.

◆ setCuboidObstacle()

void CuboidReader::setCuboidObstacle ( std::vector< Cuboid > &  cuboid_data)
inline

Set Cuboid obstacle.

Parameters
cuboid_data

Definition at line 40 of file cuboid_reader.h.

Member Data Documentation

◆ cuboid_box_

std::vector<Cuboid> CuboidReader::cuboid_box_
protected

As box defined object.

Definition at line 19 of file cuboid_reader.h.

◆ cuboid_obstacle_

std::vector<Cuboid> CuboidReader::cuboid_obstacle_
protected

As obstacle defined objects.

Definition at line 20 of file cuboid_reader.h.


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


multi_cell_builder
Author(s): Matteo Anedda
autogenerated on Sun Apr 9 2023 23:59:51