MCPcopy Create free account
hub / github.com/CCNYRoboticsLab/imu_tools / show

Method show

rviz_imu_plugin/src/imu_orientation_visual.cpp:73–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void ImuOrientationVisual::show()
74{
75 if (!orientation_box_)
76 {
77 orientation_box_ = new rviz_rendering::Shape(
78 rviz_rendering::Shape::Cube, scene_manager_, frame_node_);
79 orientation_box_->setColor(color_.redF(), color_.greenF(),
80 color_.blueF(), alpha_);
81 orientation_box_->setScale(Ogre::Vector3(scale_x_, scale_y_, scale_z_));
82 orientation_box_->setOrientation(orientation_);
83 }
84}
85
86void ImuOrientationVisual::hide()
87{

Callers

nothing calls this directly

Calls 3

setColorMethod · 0.45
setScaleMethod · 0.45
setOrientationMethod · 0.45

Tested by

no test coverage detected