Skip to content

add set_coordinates for ComponentViewer#674

Merged
hainm merged 4 commits intonglviewer:masterfrom
hainm:set_coordinates
Aug 12, 2017
Merged

add set_coordinates for ComponentViewer#674
hainm merged 4 commits intonglviewer:masterfrom
hainm:set_coordinates

Conversation

@hainm
Copy link
Collaborator

@hainm hainm commented Aug 12, 2017

I think this will make better API.
It will be helpful for real time visualization. Also make it possible to mouse interaction if need editing
structure.

view = nv.show_structure_file(...)
view

c = view[0]
c.set_coordinates(arr)

@hainm hainm merged commit b04202d into nglviewer:master Aug 12, 2017
@hainm hainm deleted the set_coordinates branch August 12, 2017 03:09
@hainm hainm mentioned this pull request Aug 12, 2017
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