16 file(std::string
const& project, std::string
const& filename)
18 data_->project = project;
19 data_->filename = filename;
36 data_->drawStyle |= data::ModelDrawStyle::COLLISION;
44 data_->drawStyle &=
~data::ModelDrawStyle::COLLISION;
52 data_->drawStyle |= data::ModelDrawStyle::OVERRIDE_COLOR;
60 data_->drawStyle &=
~data::ModelDrawStyle::OVERRIDE_COLOR;
66 joint(std::string
const& name,
float value)
68 data_->jointValues[name] = value;
74 joints(std::map<std::string, float>
const& values)
76 data_->jointValues = values;
data::PackagePath serialize() const
IceInternal::Handle< data::ElementRobot > data_
ElementOps(std::string const &id)
Robot & color(Color color)
Robot & useOriginalColor()
Robot & joints(std::map< std::string, float > const &values)
Robot & useCollisionModel()
Robot & file(const armarx::PackagePath &packagePath)
Robot & joint(std::string const &name, float value)
ElementOps(std::string const &id)
Robot & file(std::string const &project, std::string const &filename)
Robot & overrideColor(Color c)
This file is part of ArmarX.