Hi Anna,

-viewport option is only to set your main view. So in your case, you should always use '3d'. There is no direct command-line option to set 3D view to a specific orientation. But it can be achieved with -cam option. You can run freeview -h and take a look at the description on how to use -cam option. It allows you to rotate the view by 90 or 180 along a specific axis.

Best,
Ruopeng


On 12/11/2017 02:13 PM, Anna Mynick wrote:
Hi all,

I’m wondering whether there's a command-line equivalent to the the Reset View tool found in the Freeview GUI when you right-click a volume in 3d view. I tried using the -viewport tag (e.g. freeview -v myvolume.nii.gz -viewport coronal), but the problems with this are:

(1) Though the tag does change the viewpoint in which my volume is displayed, which /is /what I want, it also switches out of the 3d view, and my goal is to maintain the 3d view so I can view my region as an isosurface

(2) I’d like the option of choosing between anterior, posterior, superior, inferior, and left and right views, as in the Reset View tool menu, rather than just coronal, sagittal, and axial.

In other words, is there a way to open a volume to a specific view from the command line while maintaining 3d view?

Thanks for any help!

Best,
Anna


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to