strayrobots / 3d-annotation-tool

A graphical user interface to annotate point clouds and 3D data.
MIT License
78 stars 8 forks source link

Rotate rect #40

Closed kekeblom closed 2 years ago

kekeblom commented 2 years ago

Allows rotating rectangles with the move tool (V). Rotating is done by dragging near the center. Resizing is done by dragging near a corner of the rectangle.

Currently resizing doesn't have any indicator that this can be done. You kind of just have to know. Also, the resizing behavior could be more intuitive when dragging in the wrong direction "past the center", though it still works, it no longer 100% follows the cursor.

For rotating, a circle is shown at the center of the rectangle when hovering a rectangle with the move tool.

Should be more than good enough for a v1.