public class ViewerMethods
extends java.lang.Object
Constructor and Description |
---|
ViewerMethods(ProxyInterface p)
Constructor for the ViewerMethods class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ActivateDatabase(java.lang.String database)
Makes the named database be the active database, which is the database that
can be used to create plots and is the database whose variables are shown
in the plot menus.
|
boolean |
AddAnnotationObject(int annotType,
java.lang.String annotName)
Create a new annotation object and add it to the visualization.
|
boolean |
AddInitializedOperator(int oper)
Adds an operator to the active plots.
|
boolean |
AddOperator(int oper)
Adds an operator to the active plots.
|
boolean |
AddOperator(int oper,
boolean fromDefault)
Adds an operator to the active plots.
|
boolean |
AddOperator(java.lang.String type)
Adds an operator to the active plots.
|
boolean |
AddPlot(int type,
java.lang.String var)
Adds a new plot.
|
boolean |
AddPlot(java.lang.String plotName,
java.lang.String var)
Adds a new plot.
|
boolean |
AddWindow()
Adds a new visualization window
|
boolean |
AlterDatabaseCorrelation(java.lang.String name,
java.util.Vector dbs,
int method,
int nStates)
Alters an existing database correlation.
|
boolean |
AnimationPlay()
Animate through the time states for the visualization of a time-varying database.
|
boolean |
AnimationReversePlay()
Animate through the time states for the visualization of a time-varying database
in reverse order.
|
boolean |
AnimationSetNFrames(int nFrames)
Sets the number of animation frames for a keyframe animation.
|
boolean |
AnimationStop()
Stop animation.
|
boolean |
ApplyNamedSelection(java.lang.String selName)
Applies a named selection to the active plots.
|
boolean |
ChangeActivePlotsVar(java.lang.String var)
Changes the plotted variable for the active plots.
|
boolean |
CheckForNewStates(java.lang.String database)
If the database is a virtual database (collection of single related files
that have been grouped into a time-varying database) then this method
checks to see if there are any new files that need to be added to the
database.
|
boolean |
ChooseCenterOfRotation()
Lets the user interactively choose a center of rotation using pick.
|
boolean |
ChooseCenterOfRotation(double sx,
double sy)
Sets the center of rotation as the 3D point that is under the 2D screen
coordinate that specifies a location within the visualization window.
|
boolean |
ClearAllWindows()
Clear the plots in all visualization windows.
|
boolean |
ClearCache(java.lang.String hostName,
java.lang.String simName)
Tell VisIt to clear its cache for the compute engine on the specified host.
|
boolean |
ClearCacheForAllEngines()
Tell VisIt to clear its cache for all compute engines.
|
boolean |
ClearPickPoints()
Clear all pick points from the visualization window.
|
boolean |
ClearReferenceLines()
Clear all reference lines from the visualization window.
|
boolean |
ClearViewKeyframes() |
boolean |
ClearWindow(boolean clearAllPlots)
Clear the plots from a visualization window.
|
boolean |
CloneWindow()
Adds a new visualization window, copying all settings and plots from the
currently active visualization window.
|
boolean |
Close()
Tells the viewer to close.
|
boolean |
CloseComputeEngine(java.lang.String hostName,
java.lang.String simName)
Tells VisIt's viewer to close the compute engine on the specified host.
|
boolean |
CloseDatabase(java.lang.String database)
Closes the named database -- if it is not being used.
|
boolean |
ConnectToMetaDataServer(java.lang.String hostName,
java.util.Vector args)
Tells the viewer to tell the metadata server to connect back to this client.
|
boolean |
ConstructDataBinning()
Tell VisIt to construct a data binning, which is often a
statistical variable derived from your data after binning.
|
boolean |
CopyActivePlots()
Creates identical copies of the active plots and puts them into the new
state so their plot attributes can be changed.
|
boolean |
CopyAnnotationsToWindow(int from,
int to)
Copies the annotations from one visualization window to another.
|
boolean |
CopyLightingToWindow(int from,
int to)
Copies the lighting from one visualization window to another.
|
boolean |
CopyPlotsToWindow(int from,
int to)
Copies the plots from one visualization window to another.
|
boolean |
CopyViewToWindow(int from,
int to)
Copies the view from one visualization window to another.
|
boolean |
CreateDatabaseCorrelation(java.lang.String name,
java.util.Vector dbs,
int method,
int nStates)
Create a database correlation, which is a mapping that relates
several time-varying databases so they can be controlled by a single
time slider.
|
boolean |
CreateNamedSelection(java.lang.String selName)
Creates a named selection based on the active plots.
|
boolean |
CreateNamedSelection(java.lang.String selName,
SelectionProperties props,
boolean useCurrentPlot)
Creates a named selection based on the active plots.
|
boolean |
DeIconifyAllWindows()
Brings all viewer windows back from an iconified state.
|
boolean |
DeleteActiveAnnotationObjects()
Deletes the selected annotation objects.
|
boolean |
DeleteActivePlots()
Deletes the active plots, freeing all of their data, and removing them from
the plot list.
|
boolean |
DeleteColorTable(java.lang.String colorTableName)
Delete the named color table.
|
boolean |
DeleteDatabaseCorrelation(java.lang.String name)
Deletes an existing database correlation.
|
boolean |
DeleteNamedSelection(java.lang.String selName)
Deletes a named selection.
|
boolean |
DeletePlotDatabaseKeyframe(int plotId,
int frame) |
boolean |
DeletePlotKeyframe(int plotId,
int frame) |
boolean |
DeleteViewKeyframe(int frame) |
boolean |
DeleteWindow()
Tells the viewer to close the active visualization window and delete it.
|
boolean |
DemoteOperator(int operatorId)
Demotes an operator within the list of operators applied to the active plots.
|
boolean |
Detach()
Tells the viewer to detach this client.
|
boolean |
DisableRedraw()
Disables the viewer's ability to redraw its plots when you make changes.
|
boolean |
DrawPlots()
Causes VisIt to process any plots that are new or in the error state so
they get computed in the compute engine and shown in the visualization window.
|
boolean |
DrawPlots(boolean drawAllPlots)
Causes VisIt to process any plots that are new or in the error state so
they get computed in the compute engine and shown in the visualization window.
|
boolean |
EnableTool(int tool,
boolean enabled)
Enables or disables an interactive tool in the active visualization window.
|
boolean |
ExportColorTable(java.lang.String colorTableName)
Exports the specified color table to a file in the user's .visit directory.
|
boolean |
ExportDatabase()
Tell the viewer to export the data for the current plot as a database file.
|
boolean |
ExportEntireState(java.lang.String filename,
java.lang.String hostname)
Saves a session file containing all of the default settings for the viewer as well
as all information needed to recreate the plots in all visualization windows in
future VisIt sessions.
|
boolean |
ExportHostProfile(java.lang.String profile,
java.lang.String filename,
boolean saveInUserDir)
Exports a host profile to a file.
|
boolean |
GetQueryParams(java.lang.String queryName)
Tell the viewer to retrieve the default parameters for the named query.
|
boolean |
HideActiveAnnotationObjects()
Hides the selected annotation objects.
|
boolean |
HideActivePlots()
Toggles the hidden flag on the visible plots.
|
boolean |
HideAllWindows()
Hides all of the visualization windows (unmap them).
|
boolean |
HideToolbars(boolean forAllWindows)
Hide the toolbars in a visualization window.
|
boolean |
IconifyAllWindows()
Iconifies all of the viewer windows.
|
boolean |
ImportEntireState(java.lang.String filename,
boolean inVisItDir,
java.lang.String hostname)
Restores a session file, which causes VisIt to delete all plots and
recreate the plots described in the session file.
|
boolean |
ImportEntireStateWithDifferentSources(java.lang.String filename,
boolean inVisItDir,
java.util.Vector sources,
java.lang.String hostname)
Restores a session file, which causes VisIt to delete all plots and
recreate the plots described in the session file but different databases
will be used instead of the databases saved in the session file.
|
boolean |
InitializeNamedSelectionVariables(java.lang.String selName)
Initializes a named selection's variables.
|
void |
InterruptComputeEngine()
Interrupt the compute engine that is processing data for a plot.
|
boolean |
InvertBackgroundColor()
Reverses the visualization window's foreground and background colors.
|
boolean |
Lineout(double x0,
double y0,
double x1,
double y1,
java.util.Vector vars)
Perform a screen pick
|
boolean |
LoadNamedSelection(java.lang.String selName,
java.lang.String hostName,
java.lang.String simName)
Loads a named selection.
|
boolean |
LowerActiveAnnotationObjects()
Lowers the selected annotation objects above the others so they are drawn below others.
|
boolean |
MoveAndResizeWindow(int win,
int x,
int y,
int w,
int h)
Move the specified visualization window to a location on the screen and also
resize it.
|
boolean |
MovePlotDatabaseKeyframe(int plotId,
int oldFrame,
int newFrame) |
boolean |
MovePlotKeyframe(int plotId,
int oldFrame,
int newFrame) |
boolean |
MovePlotOrderTowardFirst(int index)
Move a plot toward the first slot in the plot list
|
boolean |
MovePlotOrderTowardLast(int index)
Move a plot toward the last slot in the plot list
|
boolean |
MoveViewKeyframe(int oldFrame,
int newFrame) |
boolean |
MoveWindow(int win,
int x,
int y)
Move the specified visualization window to a location on the screen.
|
boolean |
OpenClient(java.lang.String clientName,
java.lang.String program,
java.util.Vector args)
Opens another VisIt client such as the GUI or CLI.
|
boolean |
OpenComputeEngine(java.lang.String hostName,
java.util.Vector argv)
Tells VisIt's viewer to launch a compute engine on the specified host using
the designated command line arguments that affect how the compute engine
is launched.
|
boolean |
OpenDatabase(java.lang.String database)
Opens a database
|
boolean |
OpenDatabase(java.lang.String database,
int timeState)
Opens a database at a given time state
|
boolean |
OpenDatabase(java.lang.String database,
int timeState,
boolean addDefaultPlots,
java.lang.String forcedFileType)
Opens a database at a given time state, with the opportunity for
setting additional options related to the addition of default plots
or a forced file type.
|
boolean |
OpenMDServer(java.lang.String hostName,
java.util.Vector argv)
Tells VisIt's viewer to launch a metadata server on the specified host using
the designated command line arguments that affect how the metadata server
is launched.
|
boolean |
OverlayDatabase(java.lang.String database,
int timeState)
Opens the specified database and creates duplicates of all of the existing
plots using the new database.
|
boolean |
Pick(int x,
int y,
java.util.Vector vars)
Perform a screen pick
|
boolean |
PrintWindow()
Prints the active visualization window.
|
boolean |
ProcessExpressions()
Applies the expression list that was previously sent.
|
boolean |
PromoteOperator(int operatorId)
Promotes an operator within the list of operators applied to the active plots.
|
boolean |
Query(MapNode queryParams)
Performs a query
|
boolean |
QueryProcessAttributes(int id,
java.lang.String engineHostName,
java.lang.String engineDBName)
Returns process information related to a particular VisIt component
|
boolean |
RaiseActiveAnnotationObjects()
Raises the selected annotation objects above the others so they are drawn on top.
|
boolean |
ReadHostProfilesFromDirectory(java.lang.String dir,
boolean clear)
Tells the viewer to read host profiles from a specific directory.
|
boolean |
RecenterView()
Recenters the objects so they fit in the visualization window.
|
boolean |
RedoView()
Redo the last view undo.
|
boolean |
RedrawWindow()
Force the viewer to redraw the plots in the active visualization window.
|
boolean |
RemoveAllOperators()
Removes all operators from the operators applied to the active plots.
|
boolean |
RemoveLastOperator()
Removes last operator from the operators applied to the active plots.
|
boolean |
RemoveOperator(int operatorId)
Removes the i'th operator from the operators applied to the active plots.
|
boolean |
RenamePickLabel(java.lang.String oldLabel,
java.lang.String newLabel)
Rename Pick Label
|
boolean |
ReOpenDatabase(java.lang.String database,
boolean forceClose)
Reopens a database that has been opened before, adding new time states if
they exist and causing all plots to be regenerated using the new data.
|
boolean |
ReplaceDatabase(java.lang.String database,
int timeState)
Replaces the database in the current plots with the specified database.
|
boolean |
RequestMetaData(java.lang.String database,
int timeState)
Requests metadata for the specified database at a particular time state.
|
boolean |
ResetAnnotationAttributes()
Restore the annotation attributes to the default settings.
|
boolean |
ResetAnnotationObjectList()
Restore the annotation object list to the default settings.
|
boolean |
ResetInteractorAttributes()
Resets the interactor attributes to their defaults.
|
boolean |
ResetLightList()
Reset the light list to the default light list.
|
boolean |
ResetLineoutColor()
Resets the lineout color the initial lineout color.
|
boolean |
ResetMaterialAttributes()
Reset the material attributes to the default material attributes.
|
boolean |
ResetMeshManagementAttributes()
Reset the mesh management attributes to the default mesh management attributes.
|
boolean |
ResetOperatorOptions(int type)
Resets the operator attributes for the active plot to the default settings
for the operator's type.
|
boolean |
ResetPickAttributes()
Reset the pick attributes to the defaults.
|
boolean |
ResetPickLetter()
Reset the pick letter so the next pick letter will be 'A'.
|
boolean |
ResetPlotOptions(int type)
Resets the active plot's attributes to the default settings for the
plot's type.
|
boolean |
ResetQueryOverTimeAttributes()
Resets the query over time attributes to their default values.
|
boolean |
ResetView()
Recalculates a suitable default view for the visualization window and
applies that view.
|
boolean |
ResizeWindow(int win,
int w,
int h)
Resize the specified visualization window.
|
boolean |
SaveNamedSelection(java.lang.String selName)
Saves a named selection.
|
boolean |
SaveWindow()
Save the active visualization window as an image file or in some cases as
a geometry file.
|
boolean |
SendSimulationCommand(java.lang.String hostName,
java.lang.String simName,
java.lang.String command)
Sends a command to a connected simulation.
|
boolean |
SendSimulationCommand(java.lang.String hostName,
java.lang.String simName,
java.lang.String command,
java.lang.String argument)
Sends a command to a connected simulation.
|
boolean |
SetActivePlot(int index)
Makes a single plot in the plot list active.
|
boolean |
SetActivePlots(int[] ids)
Makes a list of plots in the plot list active.
|
boolean |
SetActivePlots(java.util.Vector ids)
Makes a list of plots in the plot list active.
|
boolean |
SetActivePlots(java.util.Vector activePlots,
java.util.Vector activeOperators,
java.util.Vector expandedPlots)
Makes a list of plots in the plot list active while also setting the
active operators for each plot and also setting which plots are expanded.
|
boolean |
SetActiveTimeSlider(java.lang.String ts)
Set the name of the active time slider.
|
boolean |
SetActiveWindow(int windowId)
Sets the active visualization window.
|
boolean |
SetAnimationAttributes()
Tell VisIt to apply the animation attributes that were previously sent.
|
boolean |
SetAnnotationAttributes()
Apply the annotation attributes that were previously sent.
|
boolean |
SetAnnotationObjectOptions()
Tell VisIt to apply the annotation object attributes that were previously sent.
|
boolean |
SetAppearanceAttributes()
Applies the appearance attributes that were previously sent.
|
boolean |
SetBackendType(int flag)
Sets the backend type used in the pipeline.
|
boolean |
SetCenterOfRotation(double x,
double y,
double z)
Sets the center of rotation, which is the point about which VisIt rotates
plots when you interactively rotate using the mouse.
|
boolean |
SetCreateMeshQualityExpressions(boolean flag)
Sets whether VisIt will automatically create mesh quality expressions.
|
boolean |
SetCreateTimeDerivativeExpressions(boolean flag)
Sets whether VisIt will automatically create time-derivative expressions.
|
boolean |
SetCreateVectorMagnitudeExpressions(boolean flag)
Sets whether VisIt will automatically create vector magnitude expressions.
|
boolean |
SetDefaultAnnotationAttributes()
Tell VisIt to use the current annotation attributes as the default annotation
attributes, which will be the defaults for new visualization windows or the
saved defaults when settings are saved.
|
boolean |
SetDefaultAnnotationObjectList()
Tell VisIt to apply the annotation object attributes that were previously sent as
the default annotation object list, which will be used for future visualization windows
and for saving settings.
|
boolean |
SetDefaultContinuousColorTable(java.lang.String colorTableName)
Set the default continuous color table, which is the color table to be used
in plots such as Pseudocolor and Surface when their plot attributes are set
to use the "default" color table.
|
boolean |
SetDefaultDiscreteColorTable(java.lang.String colorTableName)
Set the default discrete color table, which is the color table to be used
in plots such as Subset and FilledBoundary when their plot attributes are set
to use the "default" color table.
|
boolean |
SetDefaultFileOptions()
Applies the default file opening options which were previously sent.
|
boolean |
SetDefaultInteractorAttributes()
Set the default interactor attributes.
|
boolean |
SetDefaultLightList()
Apply the light list that was previously sent as the default light list,
which will be used for new visualization windows and for when saving settings.
|
boolean |
SetDefaultMaterialAttributes()
Tell VisIt to apply the material attributes that were previously sent as the
default material options, which will be used when saving settings.
|
boolean |
SetDefaultMeshManagementAttributes()
Tell VisIt to apply the mesh management attributes that were previously
sent as the default mesh management options, which will be used when
saving settings.
|
boolean |
SetDefaultOperatorOptions(int type)
Sets the default operator options for the specified operator type.
|
boolean |
SetDefaultPickAttributes()
Makes the pick attributes be the default pick attributes to be used for
new visualization windows and in the saved settings.
|
boolean |
SetDefaultPlotOptions(int type)
Sets the default plot options for the specified plot type.
|
boolean |
SetDefaultQueryOverTimeAttributes()
Makes the query over time attributes be the default query over time attributes
to be used for saved settings.
|
boolean |
SetGlobalLineoutAttributes()
Applies the global lineout attributes that were previously sent.
|
boolean |
SetInteractorAttributes()
Applies the interactor attributes that were previously sent.
|
boolean |
SetKeyframeAttributes()
Apply the keyframe attributes that were previously sent.
|
boolean |
SetLightList()
Apply the light list that were previously sent.
|
boolean |
SetMaterialAttributes()
Tell VisIt to apply the material attributes that were previously sent.
|
boolean |
SetMeshManagementAttributes()
Tell VisIt to apply the mesh management attributes that were previously sent.
|
boolean |
SetNamedSelectionAutoApply(boolean val)
Set the auto apply mode for named selections.
|
boolean |
SetOperatorOptions(int type)
Sets the operator options for the specified operator type.
|
boolean |
SetOperatorOptions(java.lang.String type)
Sets the operator options for the specified operator type.
|
boolean |
SetPickAttributes()
Applies the pick attributes that were previously sent.
|
boolean |
SetPlotDatabaseState(int plotId,
int frame,
int ts) |
boolean |
SetPlotDescription(int index,
java.lang.String description)
Sets the description string for the plot
|
boolean |
SetPlotFollowsTime(boolean val)
Sets a flag on the active plots indicating whether they follow time or not.
|
boolean |
SetPlotFrameRange(int plotID,
int frame0,
int frame1) |
boolean |
SetPlotOptions(int type)
Sets the plot options for the specified plot type.
|
boolean |
SetPlotOptions(java.lang.String type)
Sets the plot options for the specified plot type.
|
boolean |
SetPlotOrderToFirst(int index)
Make the plot be first in the plot list
|
boolean |
SetPlotOrderToLast(int index)
Make the plot be last in the plot list
|
boolean |
SetPlotSILRestriction()
Sets the SIL restriction that was previously sent.
|
boolean |
SetPrecisionType(int flag)
Sets the precision type used in the pipeline.
|
boolean |
SetQueryFloatFormat(java.lang.String format)
Sets the format string used for floating point numbers when creating
query output strings.
|
boolean |
SetQueryOverTimeAttributes()
Applies the query over time attributes that were previously sent.
|
boolean |
SetRemoveDuplciateNodes(boolean flag)
Sets whether VisIt will automatically remove duplicate nodes from
fully disconnected unstructured grids.
|
boolean |
SetRenderingAttributes()
Applies the rendering attributes that were previously sent.
|
boolean |
SetSuppressMessages(boolean flag)
Sets whether VisIt will will suppress messages that would ordinarily
be sent to clients.
|
boolean |
SetTimeSliderState(int state)
Go to the specified time state for the active time slider.
|
boolean |
SetTreatAllDBsAsTimeVarying(int flag)
Sets whether VisIt should treat all time-varying databases as having
dynamic metadata.
|
boolean |
SetTryHarderCyclesTimes(int flag)
Sets whether VisIt should invest in the extra effort needed to return
valid cycles and times from virtual databases composed of many single
time step files.
|
boolean |
SetView2D()
Applies the 2D view object which was previously sent.
|
boolean |
SetView3D()
Applies the 3D view object which was previously sent.
|
boolean |
SetViewAxisArray()
Applies the view axis array view object which was previously sent.
|
boolean |
SetViewCurve()
Applies the curve view object which was previously sent.
|
boolean |
SetViewExtentsType(int t)
Sets whether the view is calculated using actual or original spatial extents.
|
boolean |
SetViewKeyframe() |
void |
SetWindowArea(int x,
int y,
int w,
int h)
Set the area of the screen that will be used for visualization windows.
|
boolean |
SetWindowLayout(int layout)
Tells the viewer to set the window layout, which is the number of windows
on the screen in a particular arrangement.
|
boolean |
SetWindowMode(int mode)
Sets the window mode for the active visualization window.
|
void |
ShowAllWindows()
Show the viewer windows.
|
boolean |
ShowToolbars(boolean forAllWindows)
Show the toolbars in a visualization window.
|
boolean |
SuppressQueryOutput(boolean onOff)
Turns off query output so it does not get printed.
|
boolean |
TimeSliderNextState()
Go to the next time state for the active time slider.
|
boolean |
TimeSliderPreviousState()
Go to the previous time state for the active time slider.
|
boolean |
ToggleAllowPopup()
Toggles the Right-click popup menu.
|
boolean |
ToggleBoundingBoxMode()
Toggles bounding box mode for the active visualization window.
|
boolean |
ToggleCameraViewMode()
Toggles camera view mode, which indicates that the camera should be copied
into the view during keyframe animations.
|
boolean |
ToggleFullFrameMode()
Toggles full frame mode, which is a 1D/2D window mode that exagerrates scale
in one or more dimensions to ensure that plots take up most of the visualization
window viewport.
|
boolean |
ToggleLockTime()
Toggles the lock time mode.
|
boolean |
ToggleLockTools()
Toggles the lock tools mode.
|
boolean |
ToggleLockViewMode()
Toggles the lock view mode.
|
boolean |
ToggleMaintainViewMode()
Toggles the maintain view mode, which ensures that the view remains constant (when turned on).
|
boolean |
ToggleSpinMode()
Toggles spin mode in the active visualization window.
|
boolean |
TurnOffAllLocks()
Turns off all forms of locking in all windows.
|
boolean |
UndoView()
Undo the last view change, returning to the previous view.
|
boolean |
UpdateColorTable(java.lang.String colorTableName)
Applies the ColorTableAttributes that were previously sent and updates any
plots that use the color table that was modified.
|
boolean |
UpdateDBPluginInfo(java.lang.String hostName)
Tell VisIt to send the database plugin information for the specified
host.
|
boolean |
UpdateNamedSelection(java.lang.String selName,
boolean updatePlots)
Updates a named selection.
|
boolean |
UpdateNamedSelection(java.lang.String selName,
SelectionProperties props,
boolean updatePlots,
boolean allowCaching)
Updates a named selection.
|
boolean |
WriteConfigFile()
Saves the viewer's settings file, which is called ~/.visit/config and contains
default values for state objects.
|
public ViewerMethods(ProxyInterface p)
p
- The ViewerProxy that contains this object.public boolean Close()
public boolean Detach()
public boolean AddWindow()
public boolean CloneWindow()
public boolean DeleteWindow()
public boolean SetWindowLayout(int layout)
layout
- The layout value. Valid values are: 1,2,4,9,16.public boolean SetActiveWindow(int windowId)
windowId
- The number of the visualization window gte 1.public boolean IconifyAllWindows()
public boolean DeIconifyAllWindows()
public void ShowAllWindows()
public boolean HideAllWindows()
public boolean ClearWindow(boolean clearAllPlots)
clearAllPlots
- True to clear all plots in the plot list. If false,
only the active plots are cleared.public boolean ClearAllWindows()
public boolean ConnectToMetaDataServer(java.lang.String hostName, java.util.Vector args)
hostName
- The name of the host computer on which to launch the metadata server.args
- A vector of strings containing command line arguments that the metadata
server would use to connect back to this client.public boolean OpenDatabase(java.lang.String database)
database
- The name of the database to open -- a filename. If the
file exists on a remote computer, then you can supply a
name of the form: host:/path/file.extpublic boolean OpenDatabase(java.lang.String database, int timeState)
database
- The name of the database to open -- a filename. If the
file exists on a remote computer, then you can supply a
name of the form: host:/path/file.exttimeState
- The time state at which we're opening the database (gte0).
Pass 0 if you don't prefer a later time state.public boolean OpenDatabase(java.lang.String database, int timeState, boolean addDefaultPlots, java.lang.String forcedFileType)
database
- The name of the database to open -- a filename. If the
file exists on a remote computer, then you can supply a
name of the form: host:/path/file.exttimeState
- The time state at which we're opening the database (gte0).
Pass 0 if you don't prefer a later time state.addDefaultPlots
- True to add default plots if the database supports
them or false to prevent default plots from
being added.forcedFileType
- The name of a database plugin that should be used
to open the database (e.g. "Silo_1.0"). If you
don't care which plugin opens the database, pass "".public boolean CloseDatabase(java.lang.String database)
database
- The name of the database to open -- a filename. If the
file exists on a remote computer, then you can supply a
name of the form: host:/path/file.extpublic boolean ActivateDatabase(java.lang.String database)
database
- The name of the database to open -- a filename. If the
file exists on a remote computer, then you can supply a
name of the form: host:/path/file.extpublic boolean CheckForNewStates(java.lang.String database)
database
- The name of the database to open -- a filename. If the
file exists on a remote computer, then you can supply a
name of the form: host:/path/file.extpublic boolean ReOpenDatabase(java.lang.String database, boolean forceClose)
database
- The name of the database to open -- a filename. If the
file exists on a remote computer, then you can supply a
name of the form: host:/path/file.extpublic boolean ReplaceDatabase(java.lang.String database, int timeState)
database
- The name of the database to open -- a filename. If the
file exists on a remote computer, then you can supply a
name of the form: host:/path/file.exttimeState
- The time state at which to open the database (gte0). Pass
0 if you don't prefer a later time state.public boolean OverlayDatabase(java.lang.String database, int timeState)
database
- The name of the database to open -- a filename. If the
file exists on a remote computer, then you can supply a
name of the form: host:/path/file.exttimeState
- The time state at which to open the database (gte0). Pass
0 if you don't prefer a later time state.public boolean RequestMetaData(java.lang.String database, int timeState)
database
- The name of the database to open -- a filename. If the
file exists on a remote computer, then you can supply a
name of the form: host:/path/file.exttimeState
- The time state at which to open the database (gte0). You
can provide a time state since some databases can provide
different metadata depending on the time state. If you
don't know or don't care about the time state then pass
0.public boolean ApplyNamedSelection(java.lang.String selName)
selName
- The name of the named selection to use.public boolean CreateNamedSelection(java.lang.String selName)
selName
- The name of the named selection to create.public boolean CreateNamedSelection(java.lang.String selName, SelectionProperties props, boolean useCurrentPlot)
selName
- The name of the named selection to create.props
- The SelectionProperties to Apply.useCurrentPlot
- Whether or not to use the current plot.public boolean DeleteNamedSelection(java.lang.String selName)
selName
- The name of the named selection to delete.public boolean LoadNamedSelection(java.lang.String selName, java.lang.String hostName, java.lang.String simName)
selName
- The name of the named selection to load.hostName
- The host that has the named selectionsimName
- The name of the simulation.public boolean SaveNamedSelection(java.lang.String selName)
selName
- The name of the named selection to save.public boolean SetNamedSelectionAutoApply(boolean val)
val
- True to make updating named selections automatically update plots; False otherwise.public boolean UpdateNamedSelection(java.lang.String selName, boolean updatePlots)
selName
- The name of the named selection to update.updatePlots
- Whether to also update the plots when doing the selection.public boolean UpdateNamedSelection(java.lang.String selName, SelectionProperties props, boolean updatePlots, boolean allowCaching)
selName
- The name of the named selection to update.props
- The SelectionProperties to use.updatePlots
- Whether to also update the plots when doing the selection.allowCaching
- Whether to allow caching if we recalculate the selection.public boolean InitializeNamedSelectionVariables(java.lang.String selName)
selName
- The name of the named selection to update.public boolean ExportDatabase()
ExportDBAttributes atts = proxy.GetViewerState().GetExportDBAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().ExportDatabase();
public boolean ConstructDataBinning()
ConstructDataBinningAttributes atts = proxy.GetViewerState().GetConstructDataBinningAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().ConstructDataBinning();
public boolean ClearCache(java.lang.String hostName, java.lang.String simName)
hostName
- The name of the computer where the compute engine is running.simName
- The name of the simulation. If you're not running a
simulation, pass "".public boolean ClearCacheForAllEngines()
public boolean UpdateDBPluginInfo(java.lang.String hostName)
hostName
- The name of the computer for which we want database
plugin information.public boolean CreateDatabaseCorrelation(java.lang.String name, java.util.Vector dbs, int method, int nStates)
name
- The name of the new database correlation.dbs
- A vector of String objects containing the names of the databases
to include in the database correlation.method
- See correlation methods in DatabaseCorrelation class.nStates
- The number of time states that the new database correlation should have.public boolean AlterDatabaseCorrelation(java.lang.String name, java.util.Vector dbs, int method, int nStates)
name
- The name of the database correlation.dbs
- A vector of String objects containing the names of the databases
to include in the database correlation.method
- See correlation methods in DatabaseCorrelation class.nStates
- The number of time states that the new database correlation should have.public boolean DeleteDatabaseCorrelation(java.lang.String name)
name
- The name of the database correlation to delete.public boolean OpenComputeEngine(java.lang.String hostName, java.util.Vector argv)
hostName
- The name of the host computer where the compute engine will
be launched. Note that only one compute engine may be launched
per host.argv
- Command line arguments for the compute engine that affect how it
will be launched.public boolean CloseComputeEngine(java.lang.String hostName, java.lang.String simName)
hostName
- The name of the host computer where the compute engine is
running.simName
- The name of the simulation on the host. If you're not closing
a simulation, pass "".public void InterruptComputeEngine()
public boolean OpenMDServer(java.lang.String hostName, java.util.Vector argv)
hostName
- The name of the host computer where the compute engine will
be launched. Note that only one compute engine may be launched
per host.argv
- Command line arguments for the compute engine that affect how it
will be launched.public boolean AnimationSetNFrames(int nFrames)
nFrames
- The number of animation frames to create for the visualization.public boolean AnimationPlay()
public boolean AnimationReversePlay()
public boolean AnimationStop()
public boolean TimeSliderNextState()
public boolean TimeSliderPreviousState()
public boolean SetTimeSliderState(int state)
public boolean SetActiveTimeSlider(java.lang.String ts)
ts
- The name of the new active time slider.public boolean SaveWindow()
public boolean PrintWindow()
public boolean DisableRedraw()
public boolean RedrawWindow()
public boolean ResizeWindow(int win, int w, int h)
win
- The window id of the window to resize (gte1).w
- The new window width in pixels.h
- The new window height in pixels.public boolean MoveWindow(int win, int x, int y)
win
- The window id of the window to resize (gte1).x
- The new x location on the screen.y
- The new y location on the screen.public boolean MoveAndResizeWindow(int win, int x, int y, int w, int h)
win
- The window id of the window to resize (gte1).x
- The new x location on the screen.y
- The new y location on the screen.w
- The new window width in pixels.h
- The new window height in pixels.public boolean HideToolbars(boolean forAllWindows)
forAllWindows
- True to hide the toolbars in all visualization windows.
false to hide the toolbars only in the active
visualization window.public boolean ShowToolbars(boolean forAllWindows)
forAllWindows
- True to show the toolbars in all visualization windows.
false to show the toolbars only in the active
visualization window.public boolean AddPlot(int type, java.lang.String var)
type
- The index of the plot type to be created.var
- The variable to be plotted. The variable must exist in the active
database and it must be a type that is compatible with the plot
type (i.e. Pseudocolor plots get scalar variables -- not mesh
variables).public boolean AddPlot(java.lang.String plotName, java.lang.String var)
plotName
- The name of the plot type to be created.var
- The variable to be plotted. The variable must exist in the active
database and it must be a type that is compatible with the plot
type (i.e. Pseudocolor plots get scalar variables -- not mesh
variables).public boolean CopyActivePlots()
public boolean SetPlotFrameRange(int plotID, int frame0, int frame1)
public boolean DeletePlotKeyframe(int plotId, int frame)
public boolean MovePlotKeyframe(int plotId, int oldFrame, int newFrame)
public boolean SetPlotDatabaseState(int plotId, int frame, int ts)
public boolean DeletePlotDatabaseKeyframe(int plotId, int frame)
public boolean MovePlotDatabaseKeyframe(int plotId, int oldFrame, int newFrame)
public boolean DeleteActivePlots()
public boolean HideActivePlots()
public boolean SetPlotFollowsTime(boolean val)
val
- Whether the plot should follow the time slider.public boolean DrawPlots()
public boolean DrawPlots(boolean drawAllPlots)
drawAllPlots
- True is the default behavior and draws all plots. If you
only want to draw the active plots then pass false.public boolean SetActivePlots(java.util.Vector ids)
ids
- Vector of Integer objects containing the ids of the new active
plots in the plot list. Plot list indices begin at 0.public boolean SetActivePlots(java.util.Vector activePlots, java.util.Vector activeOperators, java.util.Vector expandedPlots)
activePlots
- Vector of Integer objects containing the ids of the
new active plots in the plot list. Plot list indices
begin at 0.activeOperators
- Vector of Integer objects containing the ids of the
active operators for all plots in the plot list.expandedPlots
- Vector of Bool objects (1 for each plot in the plot
list) each containing a flag indicating whether a
plot is expanded.public boolean SetActivePlots(int[] ids)
ids
- Array of new active plots in the plot list. Plot list indices begin at 0.public boolean SetActivePlot(int index)
index
- Index of the new active plot in the plot list. Plot list indices begin at 0.public boolean ChangeActivePlotsVar(java.lang.String var)
var
- The name of the new variable to use in the active plots. The variable
must exist in the active database.public boolean SetPlotDescription(int index, java.lang.String description)
index
- The index of the plot in the plot list.description
- The description string to display for the plotpublic boolean MovePlotOrderTowardFirst(int index)
index
- The index of the plot in the plot list.public boolean MovePlotOrderTowardLast(int index)
index
- The index of the plot in the plot list.public boolean SetPlotOrderToFirst(int index)
index
- The index of the plot in the plot list.public boolean SetPlotOrderToLast(int index)
index
- The index of the plot in the plot list.public boolean AddOperator(int oper)
oper
- Type of the operator to be added, which is an index in the
operator plugin manager.public boolean AddOperator(int oper, boolean fromDefault)
oper
- Type of the operator to be added, which is an index in the
operator plugin manager.fromDefault
- True to initilize the operator from the default operator
attributes.public boolean AddOperator(java.lang.String type)
type
- Name of the operator to be added.public boolean AddInitializedOperator(int oper)
oper
- Type of the operator to be added, which is an index in the
operator plugin manager.public boolean PromoteOperator(int operatorId)
operatorId
- The index of the operator to promote in the plot.public boolean DemoteOperator(int operatorId)
operatorId
- The index of the operator to demote in the plot.public boolean RemoveOperator(int operatorId)
operatorId
- The index of the operator to remove from the plot.public boolean RemoveLastOperator()
public boolean RemoveAllOperators()
public boolean SetDefaultPlotOptions(int type)
int type = proxy.GetPlotIndex("Pseudocolor");
PseudocolorAttributes atts = (PseudocolorAttributes)proxy.GetPlotAttributes(type);
// Modify atts ... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetDefaultPlotOptions(type);
type
- Type of the plot for which we're setting default options.public boolean SetPlotOptions(int type)
int type = proxy.GetPlotIndex("Pseudocolor");
PseudocolorAttributes atts = (PseudocolorAttributes)proxy.GetPlotAttributes(type);
// Modify atts ... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetPlotOptions(type);
type
- Type of the plot for which we're setting default options (an index)public boolean SetPlotOptions(java.lang.String type)
int type = proxy.GetPlotIndex("Pseudocolor");
PseudocolorAttributes atts = (PseudocolorAttributes)proxy.GetPlotAttributes(type);
// Modify atts ... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetPlotOptions("Pseudocolor");
type
- Type of the plot for which we're setting default options.public boolean ResetPlotOptions(int type)
type
- Type of the plot for which we're resetting plot options (an index)public boolean SetDefaultOperatorOptions(int type)
int type = proxy.GetOperatorIndex("Slice");
SliceAttributes atts = (SliceAttributes)proxy.GetOperatorAttributes(type);
// Modify atts ... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetDefaultOperatorOptions(type);
type
- Type of the operator for which we're setting default options.public boolean SetOperatorOptions(int type)
int type = proxy.GetOperatorIndex("Slice");
SliceAttributes atts = (SliceAttributes)proxy.GetOperatorAttributes(type);
// Modify atts ... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetOperatorOptions(type);
type
- Type of the operator for which we're setting default options (an index)public boolean SetOperatorOptions(java.lang.String type)
int type = proxy.GetOperatorIndex("Slice");
SliceAttributes atts = (SliceAttributes)proxy.GetOperatorAttributes(type);
// Modify atts ... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetOperatorOptions("Slice");
type
- Type of the operator for which we're setting default options.public boolean ResetOperatorOptions(int type)
type
- Type of the operator for which we're resetting operator options
(an index)public boolean SetAnimationAttributes()
AnimationAttributes atts = proxy.GetViewerState().GetAnimationAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetAnimationAttributes();
public boolean SetAnnotationAttributes()
AnnotationAttributes atts = proxy.GetViewerState().GetAnnotationAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetAnnotationAttributes();
public boolean SetDefaultAnnotationAttributes()
AnnotationAttributes atts = proxy.GetViewerState().GetAnnotationAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetDefaultAnnotationAttributes();
public boolean ResetAnnotationAttributes()
public boolean AddAnnotationObject(int annotType, java.lang.String annotName)
proxy.GetViewerMethods().AddAnnotationObject(AnnotationObject.ANNOTATIONTYPE_TIMESLIDER, "mySlider");
annotType
- One of the annotation types in AnnotationObject.javaannotName
- The name of the new annotation object instance.public boolean HideActiveAnnotationObjects()
public boolean DeleteActiveAnnotationObjects()
public boolean RaiseActiveAnnotationObjects()
public boolean LowerActiveAnnotationObjects()
public boolean SetAnnotationObjectOptions()
AnnotationObjectList atts = proxy.GetViewerState().GetAnnotationObjectList();
AnnotationObject obj = atts.GetAnnotation(0);
// Modify obj here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetAnnotationObjectOptions();
public boolean SetDefaultAnnotationObjectList()
public boolean ResetAnnotationObjectList()
public boolean SetMaterialAttributes()
MaterialAttributes atts = proxy.GetViewerState().GetMaterialAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetMaterialAttributes();
public boolean SetDefaultMaterialAttributes()
public boolean ResetMaterialAttributes()
public boolean SetMeshManagementAttributes()
MeshManagementAttributes atts = proxy.GetViewerState().GetMeshManagementAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetMeshManagementAttributes();
public boolean SetDefaultMeshManagementAttributes()
public boolean ResetMeshManagementAttributes()
public boolean SetKeyframeAttributes()
KeyframeAttributes atts = proxy.GetViewerState().GetKeyframeAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetKeyframeAttributes();
public boolean SetLightList()
LightList atts = proxy.GetViewerState().GetLightList();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetLightList();
public boolean SetDefaultLightList()
public boolean ResetLightList()
public boolean ResetPickLetter()
public boolean RenamePickLabel(java.lang.String oldLabel, java.lang.String newLabel)
oldLabel
- The old label.newLabel
- The new label.public boolean ResetPickAttributes()
public boolean SetDefaultContinuousColorTable(java.lang.String colorTableName)
colorTableName
- The name of the color table to use as the default continuous
color table. The name must be present in the names stored
in the ColorTableAttributes state object.public boolean SetDefaultDiscreteColorTable(java.lang.String colorTableName)
colorTableName
- The name of the color table to use as the default discrete
color table. The name must be present in the names stored
in the ColorTableAttributes state object.public boolean DeleteColorTable(java.lang.String colorTableName)
colorTableName
- The name of the color table to delete. The name must
be present in the names stored in the ColorTableAttributes
state object.public boolean UpdateColorTable(java.lang.String colorTableName)
ColorTableAttributes atts = proxy.GetViewerState().GetColorTableAttributes();
ColorControlPointList ct = atts.GetColorControlPoints("hot");
// Modify the ct here... (not shown)
atts.SelectAll();
atts.Notify();
proxy.GetViewerMethods().UpdateColorTable("hot");
colorTableName
- The name of the color table to update. The name must
be present in the names stored in the ColorTableAttributes
state object.public boolean ExportColorTable(java.lang.String colorTableName)
colorTableName
- The name of the color table to update. The name must
be present in the names stored in the ColorTableAttributes
state object.public boolean InvertBackgroundColor()
public boolean SetDefaultFileOptions()
FileOpenOptions atts = proxy.GetViewerState().GetFileOpenOptions();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetDefaultFileOptions();
public boolean WriteConfigFile()
public boolean ExportEntireState(java.lang.String filename, java.lang.String hostname)
filename
- The name of the local file to which the session
information will be saved.hostname
- The name of the host where the session file will livepublic boolean ImportEntireState(java.lang.String filename, boolean inVisItDir, java.lang.String hostname)
filename
- The name of the local file from which the session
information will be loaded.inVisItDir
- true if the session file exists in ~/.visit/;
otherwise false and the filename must contain the entire path to the
session file.hostname
- The name of the host where the session livespublic boolean ImportEntireStateWithDifferentSources(java.lang.String filename, boolean inVisItDir, java.util.Vector sources, java.lang.String hostname)
filename
- The name of the local file from which the session
information will be loaded.inVisItDir
- true if the session file exists in ~/.visit/;
otherwise false and the filename must contain the entire path to the
session file.sources
- A vector of String objects containing the names of the
databases that will be used to restore the session. The vector must
contain the same number of sources as the session file for the session
to be restored properly.hostname
- The name of the host where the session livespublic boolean ReadHostProfilesFromDirectory(java.lang.String dir, boolean clear)
dir
- The directory from which host profiles will be read.clear
- Whether to clear the list prior to readingpublic boolean SetCenterOfRotation(double x, double y, double z)
x
- The x location of the new center of rotation.y
- The y location of the new center of rotation.z
- The z location of the new center of rotation.public boolean ChooseCenterOfRotation()
public boolean ChooseCenterOfRotation(double sx, double sy)
sx
- The x location in the visualization windowsy
- The y location in the visualization windowpublic boolean SetViewAxisArray()
ViewAxisAttributes atts = proxy.GetViewerState().GetViewAxisAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetViewAxisArray();
public boolean SetViewCurve()
ViewCurveAttributes atts = proxy.GetViewerState().GetViewCurveAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetViewCurve();
public boolean SetView2D()
View2DAttributes atts = proxy.GetViewerState().GetView2DAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetView2D();
public boolean SetView3D()
View3DAttributes atts = proxy.GetViewerState().GetView3DAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetView3D();
public boolean ClearViewKeyframes()
public boolean DeleteViewKeyframe(int frame)
public boolean MoveViewKeyframe(int oldFrame, int newFrame)
public boolean SetViewKeyframe()
public boolean ResetView()
public boolean RecenterView()
public boolean SetViewExtentsType(int t)
t
- 0=original extents, 1=actual extentspublic boolean ToggleAllowPopup()
public boolean ToggleMaintainViewMode()
public boolean ToggleFullFrameMode()
public boolean UndoView()
public boolean RedoView()
public boolean ToggleLockViewMode()
public boolean ToggleLockTime()
public boolean TurnOffAllLocks()
public boolean ToggleLockTools()
public boolean ToggleSpinMode()
public boolean ToggleCameraViewMode()
public boolean SetWindowMode(int mode)
mode
- 0=navigate, 1=zone pick, 2=node pick, 3=zoom, 4=lineoutpublic boolean ToggleBoundingBoxMode()
public boolean EnableTool(int tool, boolean enabled)
tool
- 0=Box, 1=Line, 2=Plane, 3=Sphere, 4=Point, 5=Extents, 6=Axis restrictionenabled
- true to enable the tool; false to disable.public boolean CopyViewToWindow(int from, int to)
from
- Source visualization window (gte1).to
- Destination visualization window (gte1), (from != to)public boolean CopyLightingToWindow(int from, int to)
from
- Source visualization window (gte1).to
- Destination visualization window (gte1), (from != to)public boolean CopyAnnotationsToWindow(int from, int to)
from
- Source visualization window (gte1).to
- Destination visualization window (gte1), (from != to)public boolean CopyPlotsToWindow(int from, int to)
from
- Source visualization window (gte1).to
- Destination visualization window (gte1), (from != to)public boolean SetPlotSILRestriction()
public boolean ProcessExpressions()
ExpressionList atts = proxy.GetViewerState().GetExpressionList();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().ProcessExpressions();
public boolean SetAppearanceAttributes()
AppearanceAttributes atts = proxy.GetViewerState().GetAppearanceAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetAppearanceAttributes();
public boolean ClearPickPoints()
public boolean ClearReferenceLines()
public boolean SetRenderingAttributes()
RenderingAttributes atts = proxy.GetViewerState().GetRenderingAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetRenderingAttributes();
public void SetWindowArea(int x, int y, int w, int h)
x
- The x location of the upper left corner of the window area.y
- The y location of the upper left corner of the window area.w
- The width of the window area.h
- The height of the window area.public boolean Query(MapNode queryParams)
queryParams
- The arguments to the query that we'll perform.public boolean GetQueryParams(java.lang.String queryName)
public boolean Pick(int x, int y, java.util.Vector vars)
x
- The screen X coordinate of the pixel on which to pick.y
- The screen Y coordinate of the pixel on which to pick.vars
- A vector of String containing the variables we'll pick.public boolean Lineout(double x0, double y0, double x1, double y1, java.util.Vector vars)
x0
- The global X coordinate of the line start point.y0
- The global Y coordinate of the line start point.x1
- The global X coordinate of the line end point.y1
- The global Y coordinate of the line end point.vars
- A vector of String containing the variables we'll pick.public boolean SetGlobalLineoutAttributes()
GlobalLineoutAttributes atts = proxy.GetViewerState().GetGlobalLineoutAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetGlobalLineoutAttributes();
public boolean SetDefaultPickAttributes()
public boolean SetPickAttributes()
PickAttributes atts = proxy.GetViewerState().GetPickAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetPickAttributes();
public boolean ResetQueryOverTimeAttributes()
public boolean SetDefaultQueryOverTimeAttributes()
public boolean SetQueryOverTimeAttributes()
QueryOverTimeAttributes atts = proxy.GetViewerState().GetQueryOverTimeAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetQueryOverTimeAttributes();
public boolean SetTryHarderCyclesTimes(int flag)
flag
- true if VisIt should take the extra effort, which can be significant; false otherwise.public boolean SetTreatAllDBsAsTimeVarying(int flag)
flag
- true if VisIt should treat all databases as having dynamic metadata.public boolean ResetLineoutColor()
public boolean ResetInteractorAttributes()
public boolean SetDefaultInteractorAttributes()
public boolean SetInteractorAttributes()
InteractorAttributes atts = proxy.GetViewerState().GetInteractorAttributes();
// Modify the atts here... (not shown)
atts.Notify();
proxy.GetViewerMethods().SetInteractorAttributes();
public boolean QueryProcessAttributes(int id, java.lang.String engineHostName, java.lang.String engineDBName)
id
- ???engineHostName
- The name of the computer running the compute engine.engineDBName
- The name of the engine's active database.public boolean SendSimulationCommand(java.lang.String hostName, java.lang.String simName, java.lang.String command, java.lang.String argument)
hostName
- The name of the computer where the simulation is running.simName
- The name of the simulation.command
- The name of the command to send to the simulation.argument
- The arguments to the command encoded as a string.public boolean SendSimulationCommand(java.lang.String hostName, java.lang.String simName, java.lang.String command)
hostName
- The name of the computer where the simulation is running.simName
- The name of the simulation.command
- The name of the command to send to the simulation.public boolean OpenClient(java.lang.String clientName, java.lang.String program, java.util.Vector args)
clientName
- The name to use to identify the new client.program
- The program to executeargs
- Additional command line arguments to be passed to the client.public boolean SuppressQueryOutput(boolean onOff)
onOff
- true turns off query output; false turns it on.public boolean SetQueryFloatFormat(java.lang.String format)
format
- A valid C-style format string for floating point numbers.public boolean SetCreateMeshQualityExpressions(boolean flag)
flag
- true means that the expressions will be created; false otherwise.public boolean SetCreateTimeDerivativeExpressions(boolean flag)
flag
- true means that the expressions will be created; false otherwise.public boolean SetCreateVectorMagnitudeExpressions(boolean flag)
flag
- true means that the expressions will be created; false otherwise.public boolean SetPrecisionType(int flag)
flag
- The requested precision (0 = FLOAT, 1 = NATIVE, 2 = DOUBLE)public boolean SetBackendType(int flag)
flag
- The requested backend type (0 = VTK, 1 = VTKM)public boolean SetRemoveDuplciateNodes(boolean flag)
flag
- true means that duplicate nodes will be removedpublic boolean SetSuppressMessages(boolean flag)
flag
- true means that the messages will be suppressed and remain suppressed
until this method is called again with a value of false.public boolean ExportHostProfile(java.lang.String profile, java.lang.String filename, boolean saveInUserDir)
profile
- The nickname of the host profile to save.filename
- The name of the file to save the profile to.saveInUserDir
- Whether to save in the user's ~/.visit/hosts directory.