| 133 | } |
| 134 | |
| 135 | void MagDisplay::createProperties() |
| 136 | { |
| 137 | // **** acceleration vector properties |
| 138 | mag_2d_property_ = new rviz_common::properties::BoolProperty( |
| 139 | "2D-visual", twod_visual_, "Use only 2D visualization", this, |
| 140 | SLOT(updateMag())); |
| 141 | |
| 142 | mag_scale_property_ = new rviz_common::properties::FloatProperty( |
| 143 | "Scale", true, "Vector size, in meters", this, SLOT(updateMag())); |
| 144 | mag_color_property_ = new rviz_common::properties::ColorProperty( |
| 145 | "Color", Qt::red, "Color to draw vector.", this, SLOT(updateMag())); |
| 146 | mag_alpha_property_ = new rviz_common::properties::FloatProperty( |
| 147 | "Alpha", 1.0, "0 is fully transparent, 1.0 is fully opaque.", this, |
| 148 | SLOT(updateMag())); |
| 149 | } |
| 150 | |
| 151 | } // namespace rviz_imu_plugin |
| 152 |
nothing calls this directly
no outgoing calls
no test coverage detected