Create a coordinate-frame widget
We need a coordinate-frame widget in smtk that allows users to:
-
pick a point for the origin -
choose x/y/z axes relative to world coordinates -
pick an axis to align with the surface normal at the selected point -
if possible, allows constrained editing of each axis within a plane whose normal is another axis (e.g., holding the X axis fixed, the Y and Z axes can be rotated in the Y-Z plane)
This widget will be used for coordinate-frame landmark annotations and for specifying coordinate-system transforms.
Edited by Spiros Tsalikis