Placement.cpp
Go to the documentation of this file.
00001 
00011 // worldlib
00012 #include "worldlib/world/Placement.h"
00013 
00014 using namespace std;
00015 using namespace rail::spatial_temporal_learning::worldlib::world;
00016 
00017 Placement::Placement(const Item &item, const Object &object, const Surface &surface)
00018     : item_(item), object_(object), surface_(surface)
00019 {
00020 }
00021 
00022 const Item &Placement::getItem() const
00023 {
00024   return item_;
00025 }
00026 
00027 Item &Placement::getItem()
00028 {
00029   return item_;
00030 }
00031 
00032 void Placement::setItem(const Item &item)
00033 {
00034   item_ = item;
00035 }
00036 
00037 const Object &Placement::getObject() const
00038 {
00039   return object_;
00040 }
00041 
00042 Object &Placement::getObject()
00043 {
00044   return object_;
00045 }
00046 
00047 void Placement::setObject(const Object &object)
00048 {
00049   object_ = object;
00050 }
00051 
00052 const Surface &Placement::getSurface() const
00053 {
00054   return surface_;
00055 }
00056 
00057 Surface &Placement::getSurface()
00058 {
00059   return surface_;
00060 }
00061 
00062 void Placement::setSurface(const Surface &surface)
00063 {
00064   surface_ = surface;
00065 }


worldlib
Author(s): Russell Toris
autogenerated on Thu Jun 6 2019 20:55:36