45 void initializeUsingXML(xercesc::DOMElement *
element)
override;
46 void init(
InitStage stage,
const InitConfigSet &config)
override;
50 void setLength(
const fmatvec::Vec3 &length) {
lx = length(0); ly = length(1); lz = length(2); }
51 void setLength(
double lx_,
double ly_,
double lz_) {
lx = lx_; ly = ly_; lz = lz_; }
54 BOOST_PARAMETER_MEMBER_FUNCTION( (
void), enableOpenMBV, tag, (optional (diffuseColor,(
const fmatvec::Vec3&),fmatvec::Vec3(std::vector<double>{-1,1,1}))(transparency,(
double),0)(pointSize,(
double),0)(lineWidth,(
double),0))) {
55 OpenMBVColoredBody ombv(diffuseColor,transparency,pointSize,lineWidth);