|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.ActionImpl visad.DisplayImpl visad.java3d.DisplayImplJ3D
public class DisplayImplJ3D
DisplayImplJ3D is the VisAD class for displays that use Java 3D. It is runnable.
DisplayImplJ3D is not Serializable and should not be copied between JVMs.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class visad.DisplayImpl |
---|
DisplayImpl.Syncher |
Field Summary | |
---|---|
static int |
APPLETFRAME
Field for specifying that the DisplayImpl be created in an Applet |
static float |
BACK2D
distance behind for surfaces in 2-D mode |
static int |
FASTEST
Use the fastest available method for transparency. |
static boolean |
GEOMETRY_BY_REF
Indicates whether to use geometry by reference when creating geometry arrays. |
static int |
JPANEL
Field for specifying that the DisplayImpl be created in a JPanel |
static int |
NICEST
Use the nicest available method for transparency. |
static int |
OFFSCREEN
Field for specifying that the DisplayImpl does not have a screen Component |
static int |
PARALLEL_PROJECTION
Use a parallel projection view |
static int |
PERSPECTIVE_PROJECTION
Use a perspective projection view. |
static int |
POLYGON_FILL
Render polygonal primitives by filling the interior of the polygon |
static int |
POLYGON_LINE
Render polygonal primitives as lines drawn between consecutive vertices of the polygon. |
static int |
POLYGON_POINT
Render polygonal primitives as points drawn at the vertices of the polygon. |
static String |
PROP_GEOMETRY_BY_REF
Property name for setting whether to use geometry by reference. |
static String |
PROP_TEXTURE_NPOT
Property name for enabling the use of non-power of two textures. |
static boolean |
TEXTURE_NPOT
Indicates whether to allow non-power of two textures. |
static int |
TRANSFORM_ONLY
Field for specifying that the DisplayImpl transforms but does not render |
static int |
UNKNOWN
Field for specifying unknown API type |
Fields inherited from class visad.ActionImpl |
---|
TRACE_STACK, TRACE_TIME |
Constructor Summary | |
---|---|
DisplayImplJ3D(RemoteDisplay rmtDpy)
|
|
DisplayImplJ3D(RemoteDisplay rmtDpy,
DisplayRendererJ3D renderer)
|
|
DisplayImplJ3D(RemoteDisplay rmtDpy,
DisplayRendererJ3D renderer,
GraphicsConfiguration config)
|
|
DisplayImplJ3D(RemoteDisplay rmtDpy,
DisplayRendererJ3D renderer,
int api)
|
|
DisplayImplJ3D(RemoteDisplay rmtDpy,
DisplayRendererJ3D renderer,
int api,
GraphicsConfiguration config)
|
|
DisplayImplJ3D(RemoteDisplay rmtDpy,
DisplayRendererJ3D renderer,
int api,
GraphicsConfiguration config,
VisADCanvasJ3D c)
the 'c' argument is intended to be an extension class of VisADCanvasJ3D (or null); if it is non-null, then api must be JPANEL and its super() constructor for VisADCanvasJ3D must be 'super(renderer, config)' |
|
DisplayImplJ3D(RemoteDisplay rmtDpy,
GraphicsConfiguration config)
|
|
DisplayImplJ3D(RemoteDisplay rmtDpy,
int api)
|
|
DisplayImplJ3D(RemoteDisplay rmtDpy,
int api,
GraphicsConfiguration config)
|
|
DisplayImplJ3D(String name)
construct a DisplayImpl for Java3D with the default DisplayRenderer, in a JFC JPanel |
|
DisplayImplJ3D(String name,
DisplayRendererJ3D renderer)
construct a DisplayImpl for Java3D with a non-default DisplayRenderer, in a JFC JPanel |
|
DisplayImplJ3D(String name,
DisplayRendererJ3D renderer,
GraphicsConfiguration config)
construct a DisplayImpl for Java3D with a non-default DisplayRenderer and GraphicsConfiguration, in a JFC JPanel |
|
DisplayImplJ3D(String name,
DisplayRendererJ3D renderer,
int api)
construct a DisplayImpl for Java3D with a non-default DisplayRenderer; in a JFC JPanel if api == DisplayImplJ3D.JPANEL and in an AppletFrame if api == DisplayImplJ3D.APPLETFRAME |
|
DisplayImplJ3D(String name,
DisplayRendererJ3D renderer,
int api,
GraphicsConfiguration config)
|
|
DisplayImplJ3D(String name,
DisplayRendererJ3D renderer,
int api,
GraphicsConfiguration config,
VisADCanvasJ3D c)
the 'c' argument is intended to be an extension class of VisADCanvasJ3D (or null); if it is non-null, then api must be JPANEL and its super() constructor for VisADCanvasJ3D must be 'super(renderer, config)' |
|
DisplayImplJ3D(String name,
DisplayRendererJ3D renderer,
int width,
int height)
constructor for off screen |
|
DisplayImplJ3D(String name,
DisplayRendererJ3D renderer,
int width,
int height,
VisADCanvasJ3D c)
constructor for off screen; the 'c' argument is intended to be an extension class of VisADCanvasJ3D (or null); if it is non-null, then its super() constructor for VisADCanvasJ3D must be 'super(renderer, width, height)' |
|
DisplayImplJ3D(String name,
GraphicsConfiguration config)
construct a DisplayImpl for Java3D with a non-default GraphicsConfiguration, in a JFC JPanel |
|
DisplayImplJ3D(String name,
int api)
constructor with default DisplayRenderer |
|
DisplayImplJ3D(String name,
int api,
GraphicsConfiguration config)
constructor with default DisplayRenderer and a non-default GraphicsConfiguration |
|
DisplayImplJ3D(String name,
int width,
int height)
constructor for off screen |
Method Summary | |
---|---|
void |
destroy()
destroy this display: clear all references to objects (so they can be garbage collected), stop all Threads and remove all links |
void |
destroyUniverse()
|
int |
getAPI()
Return the API used for this display |
DisplayAppletJ3D |
getApplet()
Return the applet associated with this display |
protected DisplayRenderer |
getDefaultDisplayRenderer()
return a DefaultDisplayRendererJ3D |
GraphicsModeControl |
getGraphicsModeControl()
Get the graphics mode control associated with this display |
ProjectionControl |
getProjectionControl()
Get the projection control associated with this display |
GeometryArray |
makeGeometry(VisADGeometryArray vga)
|
void |
setScreenAspect(double height,
double width)
|
Methods inherited from class visad.ActionImpl |
---|
disableAction, enableAction, findReference, getCurrentActionThread, getLinks, getName, getTaskCount, printPool, run, setEnabled, setName, setThreadPoolMaximum, stop, stopThreadPool, thingChanged, waitForTasks |
Methods inherited from class java.lang.Object |
---|
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface visad.Action |
---|
getName |
Methods inherited from interface visad.ThingChangedListener |
---|
thingChanged |
Field Detail |
---|
public static final float BACK2D
public static final int PARALLEL_PROJECTION
GraphicsModeControlJ3D.setProjectionPolicy(int)
,
Constant Field Valuespublic static final int PERSPECTIVE_PROJECTION
GraphicsModeControlJ3D.setProjectionPolicy(int)
,
Constant Field Valuespublic static final int POLYGON_FILL
GraphicsModeControlJ3D.setPolygonMode(int)
,
Constant Field Valuespublic static final int POLYGON_LINE
GraphicsModeControlJ3D.setPolygonMode(int)
,
Constant Field Valuespublic static final int POLYGON_POINT
GraphicsModeControlJ3D.setPolygonMode(int)
,
Constant Field Valuespublic static final int NICEST
GraphicsModeControlJ3D.setTransparencyMode(int)
,
Constant Field Valuespublic static final int FASTEST
GraphicsModeControlJ3D.setTransparencyMode(int)
,
Constant Field Valuespublic static final int UNKNOWN
public static final int JPANEL
public static final int OFFSCREEN
public static final int APPLETFRAME
public static final int TRANSFORM_ONLY
public static final String PROP_GEOMETRY_BY_REF
GEOMETRY_BY_REF
,
Constant Field Valuespublic static final boolean GEOMETRY_BY_REF
GeometryArray.BY_REFERENCE
public static final String PROP_TEXTURE_NPOT
TEXTURE_NPOT
,
Constant Field Valuespublic static final boolean TEXTURE_NPOT
Canvas3D.queryProperties()
Constructor Detail |
---|
public DisplayImplJ3D(String name) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(String name, DisplayRendererJ3D renderer) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(String name, int api) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(String name, GraphicsConfiguration config) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(String name, DisplayRendererJ3D renderer, int api) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(String name, DisplayRendererJ3D renderer, GraphicsConfiguration config) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(String name, int api, GraphicsConfiguration config) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(String name, DisplayRendererJ3D renderer, int api, GraphicsConfiguration config) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(String name, DisplayRendererJ3D renderer, int api, GraphicsConfiguration config, VisADCanvasJ3D c) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(String name, int width, int height) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(String name, DisplayRendererJ3D renderer, int width, int height) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(String name, DisplayRendererJ3D renderer, int width, int height, VisADCanvasJ3D c) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(RemoteDisplay rmtDpy) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(RemoteDisplay rmtDpy, DisplayRendererJ3D renderer) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(RemoteDisplay rmtDpy, int api) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(RemoteDisplay rmtDpy, GraphicsConfiguration config) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(RemoteDisplay rmtDpy, DisplayRendererJ3D renderer, int api) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(RemoteDisplay rmtDpy, DisplayRendererJ3D renderer, GraphicsConfiguration config) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(RemoteDisplay rmtDpy, int api, GraphicsConfiguration config) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(RemoteDisplay rmtDpy, DisplayRendererJ3D renderer, int api, GraphicsConfiguration config) throws VisADException, RemoteException
VisADException
RemoteException
public DisplayImplJ3D(RemoteDisplay rmtDpy, DisplayRendererJ3D renderer, int api, GraphicsConfiguration config, VisADCanvasJ3D c) throws VisADException, RemoteException
VisADException
RemoteException
Method Detail |
---|
protected DisplayRenderer getDefaultDisplayRenderer()
getDefaultDisplayRenderer
in class DisplayImpl
public void setScreenAspect(double height, double width)
public ProjectionControl getProjectionControl()
getProjectionControl
in interface LocalDisplay
getProjectionControl
in class DisplayImpl
ProjectionControlJ3D
public GraphicsModeControl getGraphicsModeControl()
getGraphicsModeControl
in interface LocalDisplay
getGraphicsModeControl
in class DisplayImpl
GraphicsModeControlJ3D
public DisplayAppletJ3D getApplet()
public int getAPI() throws VisADException
getAPI
in class DisplayImpl
VisADException
public GeometryArray makeGeometry(VisADGeometryArray vga) throws VisADException
VisADException
public void destroyUniverse()
public void destroy() throws VisADException, RemoteException
DisplayImpl
destroy
in interface Display
destroy
in class DisplayImpl
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |