| 147 | } |
| 148 | |
| 149 | void ImuAccVisual::setScale(float scale) |
| 150 | { |
| 151 | scale_ = scale; |
| 152 | if (acc_vector_) |
| 153 | { |
| 154 | acc_vector_->setDirection(direction_); |
| 155 | acc_vector_->set(arrow_length_ * scale_, arrow_radius_ * scale_, |
| 156 | head_length_ * scale_, head_radius_ * scale_); |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | void ImuAccVisual::setColor(const QColor& color) |
| 161 | { |
nothing calls this directly
no outgoing calls
no test coverage detected