World placement configuration information. More...
#include <Placement.h>
Public Member Functions | |
const Item & | getItem () const |
Item value accessor (immutable). | |
Item & | getItem () |
Item value accessor. | |
const Object & | getObject () const |
Object value accessor (immutable). | |
Object & | getObject () |
Object value accessor. | |
const Surface & | getSurface () const |
Surface value accessor (immutable). | |
Surface & | getSurface () |
Surface value accessor. | |
Placement (const Item &item, const Object &object, const Surface &pose) | |
Create a new Placement. | |
void | setItem (const Item &item) |
Item value mutator. | |
void | setObject (const Object &object) |
Object value mutator. | |
void | setSurface (const Surface &surface) |
Surface value mutator. | |
Private Attributes | |
Item | item_ |
Object | object_ |
Surface | surface_ |
World placement configuration information.
A placement consists of an Item with respect to some Object at a given Pose on a Surface.
Definition at line 33 of file Placement.h.
Placement::Placement | ( | const Item & | item, |
const Object & | object, | ||
const Surface & | pose | ||
) |
Create a new Placement.
Create a new Placement with the given Item (with a Pose in reference to the Object), the reference Object, and the Surface it was placed on.
item | The Item seen in this Placement (the Pose of the Item should be in reference to the Object). |
object | The Object the Item was placed in reference to. |
pose | The Pose of the Item in with respect to the Object. |
Definition at line 17 of file Placement.cpp.
const Item & Placement::getItem | ( | ) | const |
Item & Placement::getItem | ( | ) |
const Object & Placement::getObject | ( | ) | const |
Object & Placement::getObject | ( | ) |
const Surface & Placement::getSurface | ( | ) | const |
Surface & Placement::getSurface | ( | ) |
void Placement::setItem | ( | const Item & | item | ) |
void Placement::setObject | ( | const Object & | object | ) |
void Placement::setSurface | ( | const Surface & | surface | ) |
Definition at line 131 of file Placement.h.
Definition at line 133 of file Placement.h.
The Surface in this Placement.
Definition at line 135 of file Placement.h.