Re: [HCP-Users] removing cross-hairs, slice labels when using wb_command -show-scene?

2017-05-02 Thread Keith Jamison
Thanks!

It might be useful to have some kind of preference override ability in
scene files for situations like this.

-Keith


On Tue, May 2, 2017 at 5:27 AM, Harwell, John  wrote:

> Hi Keith,
>
> The settings for volume cross-hairs and slice labels are only in the
> preferences file; they are not in the scene file.
>
> Both wb_view and wb_command use the same preferences so as long as you are
> on the same computer and do not change the status of crosshairs/labels,
> their appearance should be consistent.
>
> We use QSettings (look for Platform-Specifici Notes in
> http://doc.qt.io/qt-5/qsettings.html) for the wb_view/wb_command
> preferences and the location and format of the preferences are system
> dependent.  The location and name of the preferences file will vary,
> depending upon the system.  On Mac, the name is 
> ~/Library/Preferences/edu.wustl.brainvis.Caret7.plist.
> On our Ubuntu Linux, I found the preferences in ~/.config/
> brainvis.wustl.edu/Caret7.conf.
>
> John Harwell
>
> On May 2, 2017, at 8:58 AM, Keith Jamison  wrote:
>
> I'm trying to save some images using wb_command -show-scene, and I can't
> figure out how to change settings for things like cross-hairs or slice
> labels.  I know I can change these in the wb_view Preferences window in the
> Volume tab, but I'm hoping to script the whole process and get consistent
> results.  So...
>
> 1. Is there a parameter in the .scene file to control these kind of
> display settings?
> 2. Where are the wb_view preferences stored?  Though not ideal, I guess my
> script could modify the preferences file before running wb_command
> -show-scene
>
> Thanks!
> Keith
>
> ___
> HCP-Users mailing list
> HCP-Users@humanconnectome.org
> http://lists.humanconnectome.org/mailman/listinfo/hcp-users
>
>
> ___
> HCP-Users mailing list
> HCP-Users@humanconnectome.org
> http://lists.humanconnectome.org/mailman/listinfo/hcp-users
>

___
HCP-Users mailing list
HCP-Users@humanconnectome.org
http://lists.humanconnectome.org/mailman/listinfo/hcp-users


Re: [HCP-Users] removing cross-hairs, slice labels when using wb_command -show-scene?

2017-05-02 Thread Harwell, John
Hi Keith,

The settings for volume cross-hairs and slice labels are only in the 
preferences file; they are not in the scene file.

Both wb_view and wb_command use the same preferences so as long as you are on 
the same computer and do not change the status of crosshairs/labels, their 
appearance should be consistent.

We use QSettings (look for Platform-Specifici Notes in 
http://doc.qt.io/qt-5/qsettings.html) for the wb_view/wb_command preferences 
and the location and format of the preferences are system dependent.  The 
location and name of the preferences file will vary, depending upon the system. 
 On Mac, the name is ~/Library/Preferences/edu.wustl.brainvis.Caret7.plist.  On 
our Ubuntu Linux, I found the preferences in 
~/.config/brainvis.wustl.edu/Caret7.conf.

John Harwell

On May 2, 2017, at 8:58 AM, Keith Jamison 
> wrote:

I'm trying to save some images using wb_command -show-scene, and I can't figure 
out how to change settings for things like cross-hairs or slice labels.  I know 
I can change these in the wb_view Preferences window in the Volume tab, but I'm 
hoping to script the whole process and get consistent results.  So...

1. Is there a parameter in the .scene file to control these kind of display 
settings?
2. Where are the wb_view preferences stored?  Though not ideal, I guess my 
script could modify the preferences file before running wb_command -show-scene

Thanks!
Keith

___
HCP-Users mailing list
HCP-Users@humanconnectome.org
http://lists.humanconnectome.org/mailman/listinfo/hcp-users


___
HCP-Users mailing list
HCP-Users@humanconnectome.org
http://lists.humanconnectome.org/mailman/listinfo/hcp-users


[HCP-Users] removing cross-hairs, slice labels when using wb_command -show-scene?

2017-05-02 Thread Keith Jamison
I'm trying to save some images using wb_command -show-scene, and I can't
figure out how to change settings for things like cross-hairs or slice
labels.  I know I can change these in the wb_view Preferences window in the
Volume tab, but I'm hoping to script the whole process and get consistent
results.  So...

1. Is there a parameter in the .scene file to control these kind of display
settings?
2. Where are the wb_view preferences stored?  Though not ideal, I guess my
script could modify the preferences file before running wb_command
-show-scene

Thanks!
Keith

___
HCP-Users mailing list
HCP-Users@humanconnectome.org
http://lists.humanconnectome.org/mailman/listinfo/hcp-users