Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MUG
visad
Commits
b4a87f97
Commit
b4a87f97
authored
Sep 24, 2018
by
rink
Browse files
support writing tracer locations at each time step to serialized VisAD object
parent
f892cb9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/src/visad/java3d/ShadowFunctionOrSetTypeJ3D.java
View file @
b4a87f97
...
...
@@ -1500,5 +1500,18 @@ System.out.println("Texture.BASE_LEVEL_LINEAR = " + Texture.BASE_LEVEL_LINEAR);
listener
.
unlock
();
}
}
if
(
trajParams
.
getSaveTracerLocations
())
{
try
{
java
.
io
.
FileOutputStream
fos
=
new
java
.
io
.
FileOutputStream
(
"/Users/rink/TracerLocations.ser"
);
java
.
io
.
ObjectOutputStream
oos
=
new
java
.
io
.
ObjectOutputStream
(
fos
);
oos
.
writeObject
(
trajMan
.
tracerLocations
);
fos
.
close
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
}
}
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment