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

Method setAlpha

rviz_imu_plugin/src/mag_visual.cpp:136–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void MagVisual::setAlpha(float alpha)
137{
138 alpha_ = alpha;
139 if (heading_vector_)
140 heading_vector_->setColor(color_.redF(), color_.greenF(),
141 color_.blueF(), alpha_);
142}
143
144void MagVisual::setFramePosition(const Ogre::Vector3& position)
145{

Callers 3

updateBoxMethod · 0.45
updateAccMethod · 0.45
updateMagMethod · 0.45

Calls 1

setColorMethod · 0.45

Tested by

no test coverage detected