1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 package net.jbeans.j3d.universe;
24
25 /* ------------------ Import classes (packages) ------------------- *//package-summary/html">class="comment"> ------------------ Import classes (packages) ------------------- *//package-summary.html">class="comment">/* ------------------ Import classes (packages) ------------------- *//package-summary.html">class="comment"> ------------------ Import classes (packages) ------------------- */
26 import java.net.URL;
27
28
29
30
31 /***
32 * generally describe Viewer in here
33 *
34 * @version $Revision: 1.3 $
35 * @author Masahiro Takatsuka (masa@jbeans.net)
36 * @see javax.media.j3d.Viewer
37 */
38
39 final class Viewer extends com.sun.j3d.utils.universe.Viewer {
40 com.sun.j3d.utils.universe.ViewingPlatform myViewingPlatform;
41
42 /***
43 * constructs a new Viewer object.
44 */
45 public Viewer() {
46 super();
47 }
48
49 /***
50 * constructs a new Viewer object.
51 */
52 public Viewer(javax.media.j3d.Canvas3D userCanvas) {
53 super(userCanvas);
54 }
55
56 /***
57 * constructs a new Viewer object.
58 */
59 public Viewer(javax.media.j3d.Canvas3D[] userCanvases) {
60 super(userCanvases);
61 }
62
63 /***
64 * constructs a new Viewer object.
65 */
66 public Viewer(javax.media.j3d.Canvas3D[] userCanvases, javax.media.j3d.PhysicalBody userBody, javax.media.j3d.PhysicalEnvironment userEnvironment, boolean setVisible) {
67 super(userCanvases, userBody, userEnvironment, setVisible);
68 }
69
70 /***
71 * constructs a new Viewer object.
72 */
73 public Viewer(URL url) {
74 super(url);
75 }
76
77 /***
78 * constructs a new Viewer object.
79 */
80 public Viewer(javax.media.j3d.Canvas3D canvas3d, URL url) {
81 super(canvas3d, url);
82 }
83
84 public final void setViewingPlatform(com.sun.j3d.utils.universe.ViewingPlatform viewingplatform) {
85 super.setViewingPlatform(viewingplatform);
86 this.myViewingPlatform = viewingplatform;
87 }
88
89 public final com.sun.j3d.utils.universe.ViewingPlatform getViewingPlatform() {
90 return this.myViewingPlatform;
91 }
92 }
93