#
#  For more information, please see: http://software.sci.utah.edu
# 
#  The MIT License
# 
#  Copyright (c) 2009 Scientific Computing and Imaging Institute,
#  University of Utah.
# 
#  
#  Permission is hereby granted, free of charge, to any person obtaining a
#  copy of this software and associated documentation files (the "Software"),
#  to deal in the Software without restriction, including without limitation
#  the rights to use, copy, modify, merge, publish, distribute, sublicense,
#  and/or sell copies of the Software, and to permit persons to whom the
#  Software is furnished to do so, subject to the following conditions:
# 
#  The above copyright notice and this permission notice shall be included
#  in all copies or substantial portions of the Software.
# 
#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
#  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
#  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
#  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
#  DEALINGS IN THE SOFTWARE.
#

#
# Sample .scirunrc file.
#
# This file is copied from the SCIRun src tree file:
#   ./SCIRun/src/scirunrc
#
# Lines beginning with '#' are commented out.
#
# All variables in this file have been commented out or set
# to their default values.
#
# This file contains a list of environment variables that can be either set
# in your shell or here. If you set these variables in your shell, they will 
# override the values in this file.
#
# All variable declarations must use the syntax:
#    Environment_Variable_Name = Value
#
# Boolean variable declarations use this syntax:
#    Environment_Variable_Name = <true,1,on,yes|false,0,off,no>
#

#####################################
### ENVIRONMENT VARIABLES SECTION ###
#####################################

# REMEMBER, if these variables are set in your shell environment, they will
# override the valuse in this file.

### SCIRUN_ACCEPT_LICENSE
# Records whether license was accepted
# SCIRUN_ACCEPT_LICENSE = true

### SCIRUN_LOAD_PACKAGE = [comma-seperated list]
#   The format of SCIRUN_LOAD_PACKAGE is a comma seperated list of
#   package names.  This list specifies the package libraries to load
#   when SCIRun is first brought up.
# SCIRUN_LOAD_PACKAGE = BioPSE,Uintah,Teem


### SCIRUN_SHOW_HIDDEN_MODULES = [boolean]
#   Show modules that have been set to be hidden. These hidden modules include
#   obsolete or unfinished modules. Use extra care when using these modules
#   as they may be deleted in a future version or may cause scirun to crash
# SCIRUN_SHOW_HIDDEN_MODULES = true

### SCIRUN_DATA = [path]
#   Directory location that 'Reader' modules will default to.
# SCIRUN_DATA = /usr/sci/data/SCIRunData

### SCIRUN_DATASET = [name]
#   Name of data set in SCIRUN_DATA to default to.
# SCIRUN_DATASET = sphere


### SCIRUN_NET_SUBSTITUTE_DATADIR = [boolean]
#   If true, module filename variables will be automatically substituted for
#   'SCIRUN_DATADIR' and 'SCIRUN_DATASET' in saved .net files.
# SCIRUN_NET_SUBSTITUTE_DATADIR = true

### SCIRUN_NET_RELATIVE_FILENAMES = [boolean]
#   If true, SCIRun will save all filenames relative to the location of the 
#   network file in the .srn files.
# SCIRUN_NET_RELATIVE_FILENAMES = true


### SCIRUN_MYDATA_DIR = [path]
#   Directory, or list of directories separated by colons, 
#   that data 'Reader' and 'Writer' modules will list as
#   optional paths in the directories drop down menu.
# SCIRUN_MYDATA_DIR = $HOME/data:/scratch/data

### SCIRUN_NET_DIR = [path]
#   Directory, or list of directories separated by colons, 
#   that the network editor will list as
#   optional paths in the directories drop down menu.
# SCIRUN_NET_DIR = [path]

### SCIRUN_TMP_DIR = [path]
#   Directory for writting temporary files - must be world read/writeable
# SCIRUN_TMP_DIR = /tmp

### SCIRUN_SERV_TMP_DIR = [path]
#   Directory for writting temporary files - must be world read/writeable
#   This is one is used by the external application interface. Both scirun
#   and scirunremote use this one to exchange files.
# SCIRUN_SERV_TMP_DIR = /tmp

### SCIRUN_CONFIRM_OVERWRITE = [boolean]
#   If false, SCIRun writer will not prompt the user before overwriting a file
# SCIRUN_CONFIRM_OVERWRITE = true


### SCIRUN_INSERT_NET_COPYRIGHT = [boolean]
#   If true, adds SCI copyright to any SCI .net files that are created.
# SCIRUN_INSERT_NET_COPYRIGHT = false

### SCIRUN_NOSPLASH = [boolean]
#   If true, SCIRun will not display the splash screen at startup.
# SCIRUN_NOSPLASH = false


### SCIRUN_HIDE_PROGRESS = [boolean]
#   If true, SCIRun will not display progress bars during startup and loading
# SCIRUN_HIDE_PROGRESS = false


### SCIRUN_FAST_QUIT = [boolean]
#   If true, SCIRun will not ask the user to save a network before quitting
# SCIRUN_FAST_QUIT = false

### SCI_REGRESSION_TESTING = [boolean]
#   If True, regression testing mode will turn on.  Execution starts after a
#   network is loaded and SCIRun will exit immediately after creating an image.
# SCI_REGRESSION_TESTING = false


### SCIRUN_REGRESSION_TESTING_TIMEOUT = [integer]
#   If set, and if SCI_REGRESSION_TESTING is True, SCIRun will automatically
#   kill itself after specified seconds.
# SCI_REGRESSION_TESTING_TIMEOUT = 300


### THREAD_NO_CATCH_SIGNALS = [boolean]
#   Turns off the SCI Signal handlers.
# THREAD_NO_CATCH_SIGNALS = true


### SCIRUN_DRAWARRAYS_DISABLE = [boolean]
#   Turns off use of glDrawArrays.  This should be set to true if you wish
#   to avoid drawing artifacts on _ATI_ Radeon cards under Linux or to fix
#   cross-platform remote display problems.
# SCIRUN_DRAWARRAYS_DISABLE = false


### SCIRUN_MPEG_LICENSE_ACCEPT = [boolean]
#   License information describing the mpeg_encode software can be found
#   in SCIRun's Thirdparty directory, in the mpeg_encode/README file:
#   This software is freely distributed.  That means, you may use it
#   for any non-commercial purpose.  However, patents are held by
#   several companies on various aspects of the MPEG video standard.  
#   Companies or individuals who want to develop commercial products 
#   that include this code must acquire licenses from these companies.  
#   For information on licensing, see Appendix F in the standard.
#   For more information, please see the mpeg_encode README file.
#   If you are allowed to use the MPEG functionality based on the above
#   license, you may
#   enable MPEG movie recording in SCIRun (accessible via the SCIRun
#   Viewer's "File->Record Movie" menu) by setting the value of
#   SCIRUN_MPEG_LICENSE_ACCEPT to "true".
# SCIRUN_MPEG_LICENSE_ACCEPT = false

### SCIRUN_USE_DEFAULT_SETTINGS = [boolean]
#   Force the sizes for ShowField to calculate defaults when loading a new 
#   Field.  Also Forces the Viewer to autoview whenever a new netork is
#   loaded.
#SCIRUN_USE_DEFAULT_SETTINGS = true

### DISABLE_MATLAB_PROCESS
# Disable forking of SCIRun on start of SCIRun to support Matlab running in
# separate process
# DISABLE_MATLAB_PROCESS = true

############################
# GUI PREFERENCES SECTION ##
############################

### SCIRUN_GUI_UseGuiFetch = [boolean]
#   Allows the user to tell a module to fetch the GUI from wherever it
#   happens to be on the screen and bring it to the mouse, and then
#   return it to its previous location.
SCIRUN_GUI_UseGuiFetch = on

### SCIRUN_GUI_MoveGuiToMouse = [boolean] 
#   Makes GUIs appear near the mouse on GUI creation. 
SCIRUN_GUI_MoveGuiToMouse = on


### SCIRUN_STRAIGHT_CONNECTIONS = [boolean]
#   Use straight lines to represent connections between modules in the
#   network editor.
# SCIRUN_STRAIGHT_CONNECTIONS = off

### SCIRUN_LARGE_MODULES = [boolean]
#   Use a large module layout instead of a smaller one
# SCIRUN_LARGE_MODULES = off


#################
# UNDOCUMENTED ##
#################
# LOGNAME
# USER
# SCI_DEBUG

