Package xj3d.replica
Class ViewpointSnapshotImager
java.lang.Object
xj3d.replica.ViewpointSnapshotImager
- All Implemented Interfaces:
ActionListener
,EventListener
,RecorderListener
A simple application intended primarily for command line operation
for capturing thumbnail images of all viewpoints of an X3D scene.
NOTE: Class renamed from SceneThumbnailImager in original code base 2.0 RC1
- Version:
- $Revision: 1.13 $
- Author:
- Alan Hudson
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
static void
Entry point.void
Invoked when an RecorderEvent occurs.void
takeSnapshots
(String[] arg, InputSource is) Take snapshots of a file.
-
Field Details
-
USAGE
Usage message with command line options
-
-
Constructor Details
-
ViewpointSnapshotImager
Constructor- Parameters:
args
- The command line arguments
-
-
Method Details
-
takeSnapshots
Take snapshots of a file.- Parameters:
arg
- Arguments to use, follows command line usageis
- The input source
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
recorderStatusChanged
Description copied from interface:RecorderListener
Invoked when an RecorderEvent occurs.- Specified by:
recorderStatusChanged
in interfaceRecorderListener
- Parameters:
evt
- an RecorderEvent fired
-
main
Entry point. For a full list of valid arguments, invoke with the -help argument.- Parameters:
args
- The list of arguments
-