-
-
Notifications
You must be signed in to change notification settings - Fork 83
[Feature] Gizmo Tool #159
Copy link
Copy link
Open
Labels
prio:mediumMedium priorityMedium prioritystatus:todoTask identified but not startedTask identified but not startedtype:featNew feature or requestNew feature or request
Description
Activity
Metadata
Metadata
Assignees
Labels
prio:mediumMedium priorityMedium prioritystatus:todoTask identified but not startedTask identified but not startedtype:featNew feature or requestNew feature or request
Feature description
This feature proposes adding a Gizmo Tool to
implot3d, allowing users to intuitively manipulate data points or objects directly within the plot area. Instead of relying on external sliders or input fields, users can drag interactive handles to translate, rotate, or scale elements.Key Requirements:
ImPlot3DFlags_GroundOnly), the gizmo should automatically adapt to a 2D version (e.g., hiding the Z-axis handles when viewing the XY plane).Proposed API:
Tasks
implot3d.h)ImPlot3DGizmoFlags(e.g.,Translate,Rotate,Scale,Local,World).PlotGizmofunction.implot3d_gizmo.cpp)plane_2dvs 3D) and hide irrelevant axes for the 2D view.implot3d_gizmo.cpp)translation,rotation, orscalearrays.implot3d_demo.cpp)