JMV 0.80 Programmer's Documentation

Class JMVImageWriter

java.lang.Object
  |
  +--JMVImageWriter

public class JMVImageWriter
extends java.lang.Object

Class CapturingCanvas3D, using the instructions from the Java3D FAQ pages on how to capture a still image in jpeg format. Original code by: Peter Z. Kunszt Johns Hopkins University Dept of Physics and Astronomy Baltimore MD


Constructor Summary
JMVImageWriter()
           
 
Method Summary
static void writeImage(javax.media.j3d.Canvas3D canvas, java.lang.String filename)
          Writes a jpeg of the current JMV canvas
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMVImageWriter

public JMVImageWriter()
Method Detail

writeImage

public static void writeImage(javax.media.j3d.Canvas3D canvas,
                              java.lang.String filename)
Writes a jpeg of the current JMV canvas

Parameters:
canvas - the Canvas3D from the MainBean
filename - the filename to save the jpg as

Copyright (C) 2000-2002 The Board of Trustees of the University of Illinois