Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NF display values at vertex in webgl viewer #549

Merged
merged 2 commits into from
Jul 21, 2024

Conversation

mvdoc
Copy link
Contributor

@mvdoc mvdoc commented Jul 19, 2024

This PR adds the feature of visualizing the VertexData value when hovering on the surface or when clicking on a specific vertex.

Example code to test that it works as intended (unfortunately it's hard to automate):

import cortex
roi = cortex.get_roi_verts("S1", roi=["EBA"], mask=True)["EBA"]
roi = roi.astype(float)
vtx = cortex.Vertex(roi, "S1")
cortex.webgl.show(vtx)

Example images
image
image

@mvdoc mvdoc merged commit 915ed73 into gallantlab:main Jul 21, 2024
9 checks passed
@mvdoc mvdoc deleted the nf/mouseoververtex branch July 21, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant