EtienneCmb / visbrain

A multi-purpose GPU-accelerated open-source suite for brain data visualization
http://visbrain.org
Other
242 stars 65 forks source link

Loading vertex directly as ROI #61

Closed iPsych closed 4 years ago

iPsych commented 4 years ago

Is it possible to load vertex (i.e. pre-generated .vtk file) directly as ROI?

I saw below line in roi_obj.py, and believe it's the starting point. Can I add some brief define or class to do so? The vert and faces are already loaded, so, just integration is required.

vert, faces, data = np.array([]), np.array([]), np.array([])

EtienneCmb commented 4 years ago

@iPsych , no it's not possible to load vtk files as ROI. Feel free to submit a PR