| 127 | } |
| 128 | |
| 129 | void ImuDisplay::updateBox() |
| 130 | { |
| 131 | box_enabled_ = box_enabled_property_->getBool(); |
| 132 | if (isEnabled() && box_enabled_) |
| 133 | box_visual_->show(); |
| 134 | else |
| 135 | box_visual_->hide(); |
| 136 | |
| 137 | box_visual_->setScaleX(box_scale_x_property_->getFloat()); |
| 138 | box_visual_->setScaleY(box_scale_y_property_->getFloat()); |
| 139 | box_visual_->setScaleZ(box_scale_z_property_->getFloat()); |
| 140 | box_visual_->setColor(box_color_property_->getColor()); |
| 141 | box_visual_->setAlpha(box_alpha_property_->getFloat()); |
| 142 | } |
| 143 | |
| 144 | void ImuDisplay::updateAxes() |
| 145 | { |