Manipulator
The Manipulator plugin is a 3D transform control widget derived from the ControlBase class. It provides interactive translation, rotation, and scaling handles that can be embedded into custom editors and scene tools. All visual parameters (handle size, arrow length, axis radius, and colors) are fully customizable.
#include <interface/manipulator/include/TellusimManipulator.h>
Example
// create manipulator
Manipulator manipulator(&root);
manipulator.setMode(Manipulator::ModeTranslator);
// manipulator callback
manipulator.setClickedCallback([](Manipulator *manipulator) {
Matrix4x3d m = manipulator->getRelativeTransform();
manipulator->setGlobalTransform(manipulator->getGlobalTransform() * m);
TS_LOGT(Message, "{0}\n", toString(m));
});