natverse / hemibrainr

Code for working with data from Janelia FlyEM's hemibrain project
https://natverse.github.io/hemibrainr/
7 stars 4 forks source link

predefined viewpoints for hemibrain data #9

Open jefferis opened 4 years ago

jefferis commented 4 years ago

@mmc46 @alexanderbates we should make a function like nview3d that works for hemibrain data (which has that extra pi/2 coordinate flip).

For example this is actually

nview3d('frontal', extramat=rotationMatrix(-pi/2, 1, 0, 0))

frontal. @lisa-marin FYI.

jefferis commented 4 years ago

Could possibly teach nview3d to take a templatebrain argument that defines the current coordinate convention. Would of course mean that this needs to be recorded in the templatebrain ...

jefferis commented 4 years ago

Partial implementation in hemibrain_view()