Skip to content

mouse callbacks, picking and 3D pos of projected mouse click on mesh #21

Description

@stigersh

First of all thank you @nmwsharp so much for this super beautiful visualization library cpp+python!
I wanted to ask how a few things which I fail to find the documentation for and I think might be implemented already -

  • How do I attach a callback to a mouse event?
  • How do I get the projection of my click on the mesh (3D coordinates)?
  • How do I get the picking info - like the face index? closest vertex?

I'm currently trying to assign vector constraints on specific faces through UI and these will be very helpful:)

Thank you so much again!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions