Skip to content

Drag‐and‐Drop Coordinates

Chris Chronopoulos edited this page Aug 12, 2023 · 1 revision

This page is up-to-date as of Parallax version 0.28.2

Many features in Parallax deal with 3D spatial coordinates: the positions of translation stages, triangulated object points, inputs and outputs of transforms, etc. Commonly we want to transfer coordinates from one widget to another - for example you may see a feature in your camera views, triangulate it using your camera calibration, and then use that result in the Targeting Dialog to move your probe there. In previous versions, this involved a lot of copying and pasting, which is tedious and prone to error. Now, we can use drag-and-drop mechanics to help with this common task.

Any widget in GUI equipped with this feature can either be the source or destination for a coordinate drag-and-drop. Currently, these widgets include:

  • The Stage Control Panel (most recently queried motor coordinates)
  • The Calibration Panel (most recently triangulated object point)
  • The Targeting Dialog (drop target coordinates for the stage)
  • The Point Bank
  • The Rigid Body Transform Tool

To initiate a coordinate drag-and-drop, just click and hold on the source widget, and start moving your mouse. You will see your cursor change into the drag and drop icon. Move to the destination icon and release. The coordinates will be copied from the source to the destination.