00001 00018 #include <object_config.h> 00019 00020 namespace fake_object_recognition { 00021 00022 ObjectConfig::ObjectConfig(const std::string &type, const std::string id, const geometry_msgs::Pose &pose, const std::string &mesh_name) : type_(type), id_(id), pose_(pose), mesh_name_(mesh_name), 00023 normals_(std::vector<geometry_msgs::Point>()), bb_corners_(std::vector<geometry_msgs::Point>()) { } 00024 00025 std::string ObjectConfig::getType() const { 00026 return type_; 00027 } 00028 00029 std::string ObjectConfig::getId() const { 00030 return id_; 00031 } 00032 00033 geometry_msgs::Pose ObjectConfig::getPose() const { 00034 return pose_; 00035 } 00036 00037 std::string ObjectConfig::getMeshName() const { 00038 return mesh_name_; 00039 } 00040 00041 }