Serialized Form
simulation
GUIState simulation
- Our simulation
infoPane
javax.swing.JEditorPane infoPane
- The HTML Display pane
stack
java.util.Stack stack
- The HTML Display pane's URL stack
backButton
javax.swing.JButton backButton
- The HTML Display's back button
backButtonBox
javax.swing.Box backButtonBox
- The Box that holds the back button
infoPanel
javax.swing.JPanel infoPanel
- The HTML display's container panel
time
javax.swing.JLabel time
- The current time
slider
javax.swing.JSlider slider
- The frame rate
sliderText
javax.swing.JLabel sliderText
- The associated text with the speed of play slider
stepSlider
javax.swing.JSlider stepSlider
- The slider which controls the number of steps per press of the step-button
stepSliderText
javax.swing.JLabel stepSliderText
- The associated text for number of steps per press of the step-button
prioritySlider
javax.swing.JSlider prioritySlider
- The slider which controls the thread priority of the underlying model thread
prioritySliderText
javax.swing.JLabel prioritySliderText
- The associiated text for the thread priority of the underlying model thread
repeatButton
javax.swing.JCheckBox repeatButton
- The checkbox which states whether or not we should give way just a little bit
stopButton
javax.swing.JButton stopButton
- The stop button
playButton
javax.swing.JButton playButton
- The play button
pauseButton
javax.swing.JButton pauseButton
- The pause button
tabPane
javax.swing.JTabbedPane tabPane
- The top-level tabbed view
frameListDisplay
javax.swing.JList frameListDisplay
- The list of frames shown in the "Displays" tab
frameList
java.util.Vector frameList
- The actual list of frames used in frameListDisplay
endField
PropertyField endField
- Where the user can enter in a step count to stop at
pauseField
PropertyField pauseField
- Where the user can enter in a step count to pause at
timeEndField
PropertyField timeEndField
- Where the user can enter in a time to stop at
timePauseField
PropertyField timePauseField
- Where the user can enter in a time to pause at
randomField
PropertyField randomField
- Where the user can enter a new random number seed
menuBar
javax.swing.JMenuBar menuBar
- The Console's menu bar
innerInspectorPanel
javax.swing.JSplitPane innerInspectorPanel
- The split pane shown under the "Inspectors" tab, holding the list of
inspectors at top, and specific inspectors at bottom
inspectorPanel
javax.swing.JPanel inspectorPanel
- An outer panel which holds the innerInspectorPanel, plus associated buttons
incrementSeedOnPlay
javax.swing.JCheckBox incrementSeedOnPlay
- The checkbox for whether or not the random seed should be incremented each play-button press
inspectorList
javax.swing.JList inspectorList
- The list of inspectors at the top of the split pane
inspectorSwitcher
javax.swing.JPanel inspectorSwitcher
- Holds the inspectors shown at the bottom of the split pane (if any)
inspectorCardLayout
java.awt.CardLayout inspectorCardLayout
- The card layout which enables inspectorSwitcher to show various inspectors
detatchButton
javax.swing.JButton detatchButton
- The button for detatching inspectors
removeButton
javax.swing.JButton removeButton
- The button for emptying the inspector list
modelInspector
Inspector modelInspector
- The global model inspector, if any
modelInspectorScrollPane
javax.swing.JScrollPane modelInspectorScrollPane
- The JScrollPane which holds the global model inspector, if any
buttonBox
javax.swing.Box buttonBox
- The box which holds the play/stop/pause buttons, and the time and rate fields.
timeBox
javax.swing.JComboBox timeBox
- The combo box which specifies what's displayed in the time field
randomSeed
int randomSeed
- Random number generator seed
numStepsPerStepButtonPress
int numStepsPerStepButtonPress
- how many steps we should take on one press of the "step" button. As this is only relevant
when there is NO underlying play thread (stepping happens inside the event loop, with the
play thread killed), it can be safely set, but only do so from the event loop.
shouldRepeat
boolean shouldRepeat
- Should the simulation repeat when the stop button is pressed?
threadPriority
int threadPriority
- What should the simulation thread priority be? Don't play with this.
whenShouldEnd
long whenShouldEnd
- When should the simulation end? Don't play with this.
whenShouldPause
long whenShouldPause
- When should the simulation pause? Don't play with this.
whenShouldEndTime
double whenShouldEndTime
- When should the simulation end? Don't play with this.
whenShouldPauseTime
double whenShouldPauseTime
- When should the simulation pause? Don't play with this.
playSleep
long playSleep
- Milliseconds of how long we should sleep between each step. Don't play with this.
playThread
java.lang.Thread playThread
- The thread that actually goes through the steps
playThreadLock
java.lang.Object playThreadLock
- A general lock used by a number of short methods which need to "synchronize on the play thread"
even if it's changing to another thread. To do this, we use this official 'play thread lock'
threadShouldStop
boolean threadShouldStop
- Whether the thread should stop. Don't play with this.
playState
int playState
- The current state of the simulation: playing, stopped, or paused. Don't play with this.
isClosing
boolean isClosing
- Private internal flag which indicates if the program is already in the process of quitting.
isClosingLock
java.lang.Object isClosingLock
- Private lock used by doClose() to avoid synchronizing on Console.
simulationFile
java.io.File simulationFile
- The last filename the user requested. Used to open file dialogs intelligently
lastTime
double lastTime
- The last value the time was set to.
lastRate
double lastRate
- The last value the frame rate was set to.
lastSteps
long lastSteps
showing
int showing
rateFormat
java.text.NumberFormat rateFormat
- How the frame rate should look
blocker
java.lang.Runnable blocker
- Used to block until a repaint is handled -- see spawnPlayThread() below
inspectorNames
java.util.Vector inspectorNames
- Holds the names for each inspector presently in the inspectorSwitcher
inspectorStoppables
java.util.Vector inspectorStoppables
- Holds the Stoppable objects for each inspector presently in the inspectorSwitcher
inspectorToolbars
java.util.Vector inspectorToolbars
- Holds the toolbars wrapping each inspector presently in the inspectorSwitcher.
allInspectors
java.util.WeakHashMap allInspectors
- Weakly holds all inspectors that might possibly be around. Cleaned out when the user presses play.
As inspectors are closed or eliminated, they may disappear from this WeakHashMap and be garbage collected.
lastEncodedSteps
long lastEncodedSteps
- The last steps for a frame that was painted to the screen. Keeping this
variable around enables our movie maker to ensure that it doesn't write
a frame twice to its movie stream.
movieMaker
MovieMaker movieMaker
- Our movie maker, if one is running, else null.
insideDisplay
Display2D.InnerDisplay2D insideDisplay
- The 2D display inside the scroll view. Does the actual drawing of the simulation.
optionPane
Display2D.OptionPane optionPane
- Our option pane
portrayals
java.util.ArrayList portrayals
- The list of portrayals the insideDisplay draws. Each element in this list is a Portrayal2DHolder.
display
javax.swing.JScrollPane display
- The scroll view which holds the insideDisplay.
port
javax.swing.JViewport port
- The scroll view's viewport.
stopper
Stoppable stopper
- The stoppable for the repeat object which redraws the Display2D in the schedule.
simulation
GUIState simulation
- The simulation proper.
header
javax.swing.Box header
- The component bar at the top of the Display2D.
popup
javax.swing.JPopupMenu popup
- The popup layers menu
togglebutton
javax.swing.JToggleButton togglebutton
- The button which pops up the layers menu
movieButton
javax.swing.JButton movieButton
- The button which starts or stops a movie
snapshotButton
javax.swing.JButton snapshotButton
- The button which snaps a screenshot
optionButton
javax.swing.JButton optionButton
- The button which pops up the option pane
scale
double scale
- Scale (zoom value). 1.0 is 1:1. 2.0 is zoomed in 2 times. Etc.
scaleLock
java.lang.Object scaleLock
interval
long interval
- How many steps are skipped before the display updates itself.
intervalLock
java.lang.Object intervalLock
clipping
boolean clipping
- Whether or not we're clipping
backdrop
java.awt.Paint backdrop
- Backdrop color or other paint. This is the color/paint that the simulation is whitewashed with prior to
the portrayals redrawing themselves. This differs from the scroll view's BACKGROUND
color, which is the color of any area that the simulation doesn't draw on.
buffer
java.awt.image.BufferedImage buffer
- Image buffer for doing buffered draws, mostly for screenshots etc.
width
double width
- The width of the display when the scale is 1.0
height
double height
- The height of the display when the scale is 1.0
xOffset
double xOffset
- x offset
yOffset
double yOffset
- y offset
unbufferedHints
java.awt.RenderingHints unbufferedHints
- Hints used to draw objects to the screen or to a buffer
bufferedHints
java.awt.RenderingHints bufferedHints
- Hints used to draw the buffered image to the screen
viewRect
java.awt.Rectangle viewRect
- TO FIX A SUBTLE BUG. Can't call getViewRect() to get the proper
clipping rect, because getViewRect calls some unknown synchronized gunk
further up in Swing; thus if I'm in Windoze and splat to the screen from my own
thread, and at the same time the Swing thread is trying to draw me, we
have a problem -- it grabs the unknown gunk lock, I synchronize on this,
then I try to call getViewRect on the port and lock, and we're both hung.
if we do redrawing via repaint() like in MacOS X, then we're fine, but if
we do it a-la X or Windows, this bug rears its ugly head. So we get the
most recent viewRect and set it here and keep it for when the redraw needs
it, so it doesn't have to ask for it from Swing (which could be locked).
viewRectLock
java.lang.Object viewRectLock
- Lock for the viewRect above. Don't want to lock on the Display2D itself.
buffering
int buffering
useNoBuffer
javax.swing.JRadioButton useNoBuffer
useBuffer
javax.swing.JRadioButton useBuffer
useDefault
javax.swing.JRadioButton useDefault
usageGroup
javax.swing.ButtonGroup usageGroup
antialias
javax.swing.JCheckBox antialias
antialiasText
javax.swing.JCheckBox antialiasText
alphaInterpolation
javax.swing.JCheckBox alphaInterpolation
interpolation
javax.swing.JCheckBox interpolation
xOffsetField
NumberTextField xOffsetField
yOffsetField
NumberTextField yOffsetField
readObject
private void readObject(java.io.ObjectInputStream p)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream p)
throws java.io.IOException
thread
java.lang.Thread thread
running
boolean running
paused
boolean paused
state
SimState state
current
int current
countdown
boolean countdown
n
int n
step
Steppable step
serialVersionUID: 2731888904476273479l
readObject
private void readObject(java.io.ObjectInputStream p)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream p)
throws java.io.IOException
semaphore
ParallelSequence.Semaphore semaphore
workers
ParallelSequence.Worker[] workers
threads
java.lang.Thread[] threads
pleaseDie
boolean pleaseDie
shouldSynchronize
boolean shouldSynchronize
serialVersionUID: -7903946075763886169l
queue
Heap[] queue
substeps
Steppable[][] substeps
numSubsteps
int[] numSubsteps
time
double time
steps
long steps
throwingScheduleExceptions
boolean throwingScheduleExceptions
steps
Steppable[] steps
random
MersenneTwisterFast random
- The SimState's random number generator
schedule
Schedule schedule
- SimState's schedule
asynchronous
java.util.HashSet asynchronous
asynchronousLock
java.lang.String asynchronousLock
cleaningAsynchronous
boolean cleaningAsynchronous
step
Steppable step
readObject
private void readObject(java.io.ObjectInputStream p)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream p)
throws java.io.IOException
weakStep
java.lang.ref.WeakReference weakStep
weakStop
java.lang.ref.WeakReference weakStop
Class sim.util.Bag extends java.lang.Object implements Serializable |
objs
java.lang.Object[] objs
numObjs
int numObjs
collection
java.util.Collection collection
map
java.util.Map map
indexed
Indexed indexed
isVolatile
boolean isVolatile
x
double x
y
double y
x
double x
y
double y
z
double z
objs
double[] objs
numObjs
int numObjs
Class sim.util.Heap extends java.lang.Object implements Serializable |
keys
double[] keys
objects
java.lang.Object[] objects
numElem
int numElem
x
int x
y
int y
x
int x
y
int y
z
int z
objs
int[] objs
numObjs
int numObjs
val
double val
x
double x
y
double y
x
double x
y
double y
z
double z
x
int x
y
int y
x
int x
y
int y
z
int z
object
java.lang.Object object
getMethods
java.util.ArrayList getMethods
setMethods
java.util.ArrayList setMethods
domMethods
java.util.ArrayList domMethods
consolePanel
javax.swing.JComponent consolePanel
gridbag
java.awt.GridBagLayout gridbag
gbc
java.awt.GridBagConstraints gbc
y
int y
buffer
java.awt.image.BufferedImage buffer
buckets
double[] buckets
labels
java.lang.String[] labels
map
ColorMap map
motionAdapter
java.awt.event.MouseMotionAdapter motionAdapter
adapter
java.awt.event.MouseAdapter adapter
valField
javax.swing.JTextField valField
downButton
javax.swing.JButton downButton
upButton
javax.swing.JButton upButton
bellyButton
javax.swing.JButton bellyButton
fieldLabel
javax.swing.JLabel fieldLabel
initialValue
double initialValue
multiply
double multiply
add
double add
currentValue
double currentValue
defaultColor
java.awt.Color defaultColor
editedColor
java.awt.Color editedColor
edited
boolean edited
listener
java.awt.event.KeyListener listener
focusAdapter
java.awt.event.FocusAdapter focusAdapter
list
javax.swing.JComboBox list
valField
javax.swing.JTextField valField
checkField
javax.swing.JCheckBox checkField
viewButton
javax.swing.JButton viewButton
viewLabel
javax.swing.JLabel viewLabel
optionalLabel
javax.swing.JLabel optionalLabel
slider
javax.swing.JSlider slider
valFieldBorder
javax.swing.border.Border valFieldBorder
emptyBorder
javax.swing.border.Border emptyBorder
currentValue
java.lang.String currentValue
isReadWrite
boolean isReadWrite
domain
java.lang.Object domain
displayState
int displayState
defaultColor
java.awt.Color defaultColor
editedColor
java.awt.Color editedColor
edited
boolean edited
listener
java.awt.event.KeyListener listener
checkListener
javax.swing.event.ChangeListener checkListener
viewButtonListener
java.awt.event.ActionListener viewButtonListener
focusAdapter
java.awt.event.FocusAdapter focusAdapter
sliding
boolean sliding
sliderListener
javax.swing.event.ChangeListener sliderListener
listListener
java.awt.event.ActionListener listListener
settingList
boolean settingList
started
boolean started
stopped
boolean stopped
width
int width
height
int height
type
int type
frameRate
float frameRate
processor
Processor processor
source
MovieEncoderDataSource source
sink
DataSink sink
file
java.io.File file
encodeFormat
Format encodeFormat
waitSync
java.lang.Object waitSync
stateTransitionOK
boolean stateTransitionOK
waitFileSync
java.lang.Object waitFileSync
fileDone
boolean fileDone
fileSuccess
boolean fileSuccess
removeEmptyBags
boolean removeEmptyBags
- Should we remove bags in the field if they have been emptied, and let them GC, or should
we keep them around? This doesn't include the allObjects bag.
replaceLargeBags
boolean replaceLargeBags
- When a bag drops to one quarter capacity, should we replace it with a new bag? This doesn't include the allObjects bag.
locationAndIndexHash
java.util.HashMap locationAndIndexHash
- LocationAndIndex objects (locations and indexes into the allObjects array) hashed by Object. Ideally you would
store only immutable or hash-by-pointer objects, el se they'll get lost in the HashMap.
objectHash
java.util.HashMap objectHash
- Bags of objects hashed by location. Do not rely on these bags always being the same objects.
allObjects
Bag allObjects
- All the objects in the sparse field. For fast scans. Do not rely on this bag always being the same object.
location
java.lang.Object location
index
int index
otherObjectsAtLocation
Bag otherObjectsAtLocation
width
int width
height
int height
width
int width
height
int height
length
int length
field
double[][] field
field
double[][][] field
field
int[][] field
field
int[][][] field
field
java.lang.Object[][] field
field
java.lang.Object[][][] field
width
int width
height
int height
speedyMutableInt2D
MutableInt2D speedyMutableInt2D
width
int width
height
int height
length
int length
speedyMutableInt3D
MutableInt3D speedyMutableInt3D
Package sim.field.continuous |
doubleLocationHash
java.util.HashMap doubleLocationHash
- Where we store the Double2D values hashed by object
width
double width
height
double height
discretization
double discretization
speedyMutableInt2D
MutableInt2D speedyMutableInt2D
doubleLocationHash
java.util.HashMap doubleLocationHash
- Where we store the Double3D values hashed by object
width
double width
height
double height
length
double length
discretization
double discretization
speedyMutableInt3D
MutableInt3D speedyMutableInt3D
Package sim.field.network |
owner
Network owner
from
java.lang.Object from
- The node from where the edge leaves
to
java.lang.Object to
- The node where the edge enters
info
java.lang.Object info
- Other information (maybe cost) associated with the edge
indexFrom
int indexFrom
indexTo
int indexTo
directed
boolean directed
indexOutInHash
java.util.HashMap indexOutInHash
- Hashes Network.IndexInOut structures by Node. These structures
contain the incoming edges of the Node, its outgoing edges, and the index of
the Node in the allNodes bag.
allNodes
Bag allNodes
- All the objects in the sparse field. For fast scans. Do not rely on this bag always being the same object.
emptyBag
Bag emptyBag
index
int index
- Index of the node in the allNodes bag
out
Bag out
- Bag containing outgoing edges of (leaving) the node
in
Bag in
- Bag containing incoming edges of (entering) the node
positions
javax.swing.JLabel positions
fieldComponent
LabelledList fieldComponent
objectInspector
Inspector objectInspector
wrapper
LocationWrapper wrapper
lastObject
java.lang.Object lastObject
state
GUIState state
simple
SimplePortrayal2D simple
buffering
int buffering
bufferingLock
java.lang.Object bufferingLock
_volatile
boolean _volatile
state
GUIState state
- The GUIState of the simulation
object
java.lang.Object object
- The object being inspected
propertyList
LabelledList propertyList
- The property list displayed -- this may change at any time
properties
Properties properties
- The generated object properties -- this may change at any time
members
PropertyField[] members
- Each of the property fields in the property list, not all of which may exist at any time
name
java.lang.String name
- The displayed name of the inspector
start
int start
- The current index of the topmost element
count
int count
- The number of items presently in the propertyList
header
javax.swing.JPanel header
numElements
javax.swing.JLabel numElements
startField
javax.swing.Box startField
updateButton
javax.swing.JButton updateButton
Package sim.portrayal.grid |
valueGridPortrayal
FastHexaValueGridPortrayal2D valueGridPortrayal
grid
DoubleGrid2D grid
buffer
java.awt.image.BufferedImage buffer
raster
java.awt.image.WritableRaster raster
dbuffer
java.awt.image.DataBufferInt dbuffer
valueToPass
MutableDouble valueToPass
valueGridPortrayal
FastValueGridPortrayal2D valueGridPortrayal
grid
DoubleGrid2D grid
buffer
java.awt.image.BufferedImage buffer
raster
java.awt.image.WritableRaster raster
data
int[] data
xPoints
int[] xPoints
yPoints
int[] yPoints
xyC
double[] xyC
xyC_ul
double[] xyC_ul
xyC_up
double[] xyC_up
xyC_ur
double[] xyC_ur
xPoints
int[] xPoints
yPoints
int[] yPoints
xyC
double[] xyC
xyC_ul
double[] xyC_ul
xyC_up
double[] xyC_up
xyC_ur
double[] xyC_ur
xPoints
int[] xPoints
yPoints
int[] yPoints
xyC
double[] xyC
xyC_ul
double[] xyC_ul
xyC_up
double[] xyC_up
xyC_ur
double[] xyC_ur
valueToPass
MutableDouble valueToPass
generalPath
java.awt.geom.GeneralPath generalPath
defaultPortrayal
SimplePortrayal2D defaultPortrayal
policy
DrawPolicy policy
defaultPortrayal
SimplePortrayal2D defaultPortrayal
map
ColorMap map
defaultPortrayal
SimplePortrayal2D defaultPortrayal
valueName
java.lang.String valueName
valueToPass
MutableDouble valueToPass
Package sim.portrayal.continuous |
defaultPortrayal
SimplePortrayal2D defaultPortrayal
Package sim.portrayal.network |
defaultPortrayal
SimpleEdgePortrayal2D defaultPortrayal
fromPaint
java.awt.Paint fromPaint
toPaint
java.awt.Paint toPaint
labelPaint
java.awt.Paint labelPaint
labelFont
java.awt.Font labelFont
scaledFont
java.awt.Font scaledFont
labelScaling
int labelScaling
Package sim.portrayal.simple |
or
double or
- The pre-scaling radius
dr
int dr
- The post-scaling radius offset
paint
java.awt.Paint paint
- The Paint or Color of the circle
child
SimplePortrayal2D child
showCircle
boolean showCircle
- Overrides all drawing.
onlyCircleWhenSelected
boolean onlyCircleWhenSelected
isSelected
boolean isSelected
paint
java.awt.Paint paint
xPoints
int[] xPoints
yPoints
int[] yPoints
drawFrame
boolean drawFrame
generalPath
java.awt.geom.GeneralPath generalPath
image
java.awt.Image image
ox
double ox
- The pre-scaling offset from the object's origin.
oy
double oy
- The pre-scaling offset from the object's origin.
dx
int dx
- The post-scaling offset from the object's origin.
dy
int dy
- The post-scaling offset from the object's origin.
align
int align
- One of ALIGN_CENTER, ALIGN_LEFT, or ALIGN_RIGHT
font
java.awt.Font font
- The font of the text.
paint
java.awt.Paint paint
- The Paint or Color of the text
label
java.lang.String label
child
SimplePortrayal2D child
showLabel
boolean showLabel
- Overrides all drawing.
onlyLabelWhenSelected
boolean onlyLabelWhenSelected
isSelected
boolean isSelected
scaledFont
java.awt.Font scaledFont
labelScaling
int labelScaling
shape
int shape
- The type of the oriented shape
or
double or
- The pre-scaling length
dr
int dr
- The post-scaling length offset
paint
java.awt.Paint paint
- The Paint or Color of the line
child
SimplePortrayal2D child
showLine
boolean showLine
- Overrides all drawing.
simplePolygonX
int[] simplePolygonX
simplePolygonY
int[] simplePolygonY
paint
java.awt.Paint paint
scale
double scale
paint
java.awt.Paint paint
scale
double scale
paint
java.awt.Paint paint
scale
double scale
shape
java.awt.Shape shape
transform
java.awt.geom.AffineTransform transform
bufferedWidth
double bufferedWidth
bufferedHeight
double bufferedHeight
bufferedShape
java.awt.Shape bufferedShape
child
SimplePortrayal2D child
transform
java.awt.geom.AffineTransform transform
orient
boolean orient
level
double level
isTransparent
boolean isTransparent
parent
ValueGridPortrayal2D parent
mt
int[] mt
mti
int mti
mag01
int[] mag01
__nextNextGaussian
double __nextNextGaussian
__haveNextNextGaussian
boolean __haveNextNextGaussian
internalTransform
javax.media.j3d.Transform3D internalTransform
updateInternalTransform
boolean updateInternalTransform
defaultPortrayal
SimplePortrayal3D defaultPortrayal
- Nice simple white cube as default portrayal
for objects that do not have any other specified to them
Note that it is not final, so it can be replaced. It
was chosen for its low triangle-count.
parentPortrayal
FieldPortrayal3D parentPortrayal
- Used by the SimplePortrayal3D to add its parent to its pickInfo object
when the user picks the SimplePortrayal3D.
Package sim.portrayal3d.grid |
zScale
double zScale
field
Grid2D field
image
java.awt.Image image
transparency
float transparency
- Non-image transparency: 1.0f is fully opaque, 0.0f is fully transparent.
useTriangles
boolean useTriangles
valueName
java.lang.String valueName
mPolyAttributes
javax.media.j3d.PolygonAttributes mPolyAttributes
_def
QuadPortrayal _def
coords
float[] coords
colors
float[] colors
resetField
boolean resetField
tmpVect
javax.vecmath.Vector3d tmpVect
- tmp Vector3d
tmpLocalT
javax.media.j3d.Transform3D tmpLocalT
- tmp Transform3D
it is reused, since the TGs are copying it internally
tmpGCI
ValueGridCellInfo tmpGCI
- allocated in portray, and heavily reused in create/update model
to avoid "new"s
valueName
java.lang.String valueName
scale
double scale
map
ColorMap map
defaultPortrayal
ValuePortrayal3D defaultPortrayal
width
int width
height
int height
length
int length
valueToPass
MutableDouble valueToPass
Package sim.portrayal3d.continuous |
Package sim.portrayal3d.simple |
mArrowDia
float mArrowDia
- thickness of the arrows
mLetters
boolean mLetters
- flag showing/hidding the letters
scale
float scale
appearance
javax.media.j3d.Appearance appearance
child
SimplePortrayal3D child
showCircle
boolean showCircle
- Overrides all drawing.
onlyCircleWhenSelected
boolean onlyCircleWhenSelected
isSelected
boolean isSelected
scale
float scale
appearance
javax.media.j3d.Appearance appearance
generateNormals
boolean generateNormals
generateTextureCoordinates
boolean generateTextureCoordinates
scale
float scale
appearance
javax.media.j3d.Appearance appearance
generateNormals
boolean generateNormals
generateTextureCoordinates
boolean generateTextureCoordinates
scaledVerts
float[] scaledVerts
scale
float scale
appearance
javax.media.j3d.Appearance appearance
generateNormals
boolean generateNormals
generateTextureCoordinates
boolean generateTextureCoordinates
shape
javax.media.j3d.Shape3D shape
scale
float scale
color
java.awt.Color color
offset
javax.media.j3d.Transform3D offset
font
java.awt.Font font
child
SimplePortrayal3D child
label
java.lang.String label
showLabel
boolean showLabel
- Overrides all drawing.
onlyLabelWhenSelected
boolean onlyLabelWhenSelected
isSelected
boolean isSelected
light
javax.media.j3d.Light light
shape
javax.media.j3d.Shape3D shape
appearance
javax.media.j3d.Appearance appearance
group
javax.media.j3d.SharedGroup group
scale
float scale
appearance
javax.media.j3d.Appearance appearance
divisions
int divisions
generateNormals
boolean generateNormals
generateTextureCoordinates
boolean generateTextureCoordinates
child
SimplePortrayal3D child
internalTransform
javax.media.j3d.Transform3D internalTransform
updateInternalTransform
boolean updateInternalTransform
usesTriangles
boolean usesTriangles
map
ColorMap map
tempColorComponents
float[] tempColorComponents
mPolyAttributes
javax.media.j3d.PolygonAttributes mPolyAttributes
appearance
javax.media.j3d.Appearance appearance
scaledVerts
float[] scaledVerts
Package sim.portrayal3d.grid.quad |
tmpCoords
float[] tmpCoords
tmpColor
float[] tmpColor
zScale
float zScale
- How much we move the quad up or down for a given value.
colorDispenser
ColorMap colorDispenser
- Our color map for values
tmpCoords
float[] tmpCoords
tmpColor
float[] tmpColor
writeBuffer_
boolean writeBuffer_
keepOnWriting_
boolean keepOnWriting_
buffer_
java.awt.image.BufferedImage buffer_
x
int x
y
int y
width
int width
height
int height
portrayals
java.util.ArrayList portrayals
stopper
Stoppable stopper
simulation
GUIState simulation
header
javax.swing.JComponent header
movieButton
javax.swing.JButton movieButton
snapshotButton
javax.swing.JButton snapshotButton
optionButton
javax.swing.JButton optionButton
scaleField
NumberTextField scaleField
interval
long interval
intervalLock
java.lang.Object intervalLock
canvas
CapturingCanvas3D canvas
- The Java3D canvas holding the universe. A good time to fool around with this is
in the sceneGraphCreated() hook.
universe
com.sun.j3d.utils.universe.SimpleUniverse universe
- The Java3D universe. Created (and recreated) by createSceneGraph. A good time to fool around with this is
in the sceneGraphCreated() hook.
root
javax.media.j3d.BranchGroup root
- The root scene graph node in the Java3D universe. Created (and recreated) by createSceneGraph.
This is a good place to hang things you don't want auto-rotated nor transformed by the Display3D. Hang things off of here
in the sceneGraphCreated() hook.
portrayalSwitch
javax.media.j3d.Switch portrayalSwitch
portrayalSwitchMask
java.util.BitSet portrayalSwitchMask
auxillarySwitch
javax.media.j3d.Switch auxillarySwitch
auxillarySwitchMask
java.util.BitSet auxillarySwitchMask
movieMaker
MovieMaker movieMaker
- The MovieMaker. If null, we're not shooting a movie.
popup
javax.swing.JPopupMenu popup
togglebutton
javax.swing.JToggleButton togglebutton
subgraphCount
int subgraphCount
dirty
boolean dirty
backdropAppearance
javax.media.j3d.Appearance backdropAppearance
backdropImage
java.awt.Image backdropImage
backdropColor
java.awt.Color backdropColor
bogusMover
javax.media.j3d.PointArray bogusMover
globalModelTransformGroup
javax.media.j3d.TransformGroup globalModelTransformGroup
- The TransformGroup which holds the switch holding the portrayal's scene graph models.
A good time to fool around with this is in the sceneGraphCreated() hook.
This is a good place to hang stuff which you want to get rotated AND transformed along with the scene graph.
DEFAULT_FIELD_OF_VIEW
double DEFAULT_FIELD_OF_VIEW
- See Also:
- Constant Field Values
scale
double scale
scaleLock
java.lang.Object scaleLock
autoSpin
javax.media.j3d.RotationInterpolator autoSpin
autoSpinBackground
javax.media.j3d.RotationInterpolator autoSpinBackground
autoSpinTransformGroup
javax.media.j3d.TransformGroup autoSpinTransformGroup
- The TransformGroup which used to spin the underlying model.
This is a good place to hang stuff which you want to get rotated along with the models in the scene graph,
but DON'T want transformed along with the scene graph.
autoSpinBackgroundTransformGroup
javax.media.j3d.TransformGroup autoSpinBackgroundTransformGroup
mOrbitBehavior
com.sun.j3d.utils.behaviors.vp.OrbitBehavior mOrbitBehavior
mSelectBehavior
SelectionBehavior mSelectBehavior
orbitRotateXCheckBox
javax.swing.JCheckBox orbitRotateXCheckBox
orbitRotateYCheckBox
javax.swing.JCheckBox orbitRotateYCheckBox
orbitTranslateXCheckBox
javax.swing.JCheckBox orbitTranslateXCheckBox
orbitTranslateYCheckBox
javax.swing.JCheckBox orbitTranslateYCheckBox
orbitZoomCheckBox
javax.swing.JCheckBox orbitZoomCheckBox
selectBehCheckBox
javax.swing.JCheckBox selectBehCheckBox
polyPoint
javax.swing.JRadioButton polyPoint
polyLine
javax.swing.JRadioButton polyLine
polyFill
javax.swing.JRadioButton polyFill
polyCullNone
javax.swing.JRadioButton polyCullNone
polyCullFront
javax.swing.JRadioButton polyCullFront
polyCullBack
javax.swing.JRadioButton polyCullBack
showAxesCheckBox
javax.swing.JCheckBox showAxesCheckBox
showBackgroundCheckBox
javax.swing.JCheckBox showBackgroundCheckBox
optionsFrame
javax.swing.JFrame optionsFrame
rotAxis_X
NumberTextField rotAxis_X
rotAxis_Y
NumberTextField rotAxis_Y
rotAxis_Z
NumberTextField rotAxis_Z
spinDuration
NumberTextField spinDuration
rasterizationMode
int rasterizationMode
- Sets the rasterization mode for configurable polygon portrayals.
Mode can be PolygonAttributes.POLYGON_FILL, PolygonAttributes.POLYGON_LINE,
or PolygonAttributes.POLYGON_POINT.
cullingMode
int cullingMode
- Sets the rasterization mode for configurable polygon portrayals.
Mode can be PolygonAttributes.CULL_BACK, PolygonAttributes.CULL_FRONT,
or PolygonAttributes.CULL_NONE.