public class DisplayImplJ3D extends DisplayImpl
DisplayImplJ3D is not Serializable and should not be copied between JVMs.
DisplayImpl.Syncher
Modifier and Type | Field and Description |
---|---|
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 String |
NO_ERASE_BACKGROUND
Workaround for Java3D "grey window problem": sometimes Canvas3D is not painted
This problem is rare and often hard to reproduce, so it is disabled by default.
|
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
|
TRACE_STACK, TRACE_TIME
AdjustProjectionSeam, Alpha, Animation, Blue, CacheAppearances, CMY, ColorMode, components3c, components3s, componentscmy, componentscyl, componentsflow1, componentsflow1s, componentsflow2, componentsflow2s, componentshsv, componentsrgb, componentsso, CurvedSize, Cyan, CylAzimuth, CylRadius, CylZAxis, DisplayCMYCoordSys, DisplayCMYTuple, DisplayCylindricalCoordSys, DisplayFlow1SphericalCoordSys, DisplayFlow1SphericalTuple, DisplayFlow1Tuple, DisplayFlow2SphericalCoordSys, DisplayFlow2SphericalTuple, DisplayFlow2Tuple, DisplayHSVCoordSys, DisplayHSVTuple, DisplayRealArray, DisplayRGBTuple, DisplaySpatialCartesianTuple, DisplaySpatialCylindricalTuple, DisplaySpatialOffsetTuple, DisplaySpatialSphericalTuple, DisplaySphericalCoordSys, Flow1Azimuth, Flow1Elevation, Flow1Radial, Flow1X, Flow1Y, Flow1Z, Flow2Azimuth, Flow2Elevation, Flow2Radial, Flow2X, Flow2Y, Flow2Z, Green, HSV, Hue, IsoContour, Latitude, LineStyle, LineWidth, List, Longitude, Magenta, MergeGeometries, MissingTransparent, PointMode, PointSize, PolygonMode, PolygonOffset, PolygonOffsetFactor, Radius, Red, RGB, RGBA, Saturation, SelectRange, SelectValue, Shape, ShapeScale, Text, Texture3DMode, TextureEnable, Value, XAxis, XAxisOffset, YAxis, YAxisOffset, Yellow, ZAxis, ZAxisOffset
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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 |
resetDepthBufferOffsets() |
void |
setDepthBufferOffset(DataRenderer renderer,
GraphicsModeControl mode)
Sets the depth buffer offset when autoDepthOffset is enabled for this display.
|
void |
setScreenAspect(double height,
double width) |
addActivityHandler, addControl, addDataSourceListener, addDisplayListener, addMap, addMap, addMessageListener, addReference, addReference, addReferences, addReferences, addReferences, addReferences, addRemoteSourceListener, addRendererSourceListener, addSlave, checkTicks, clearMaps, connectionFailed, controlChanged, delay, disableEvent, doAction, enableEvent, equals, finalize, getComponent, getConnectionID, getConstantMapVector, getControl, getControl, getControls, getControlVector, getDisplayMonitor, getDisplayRenderer, getDisplayScalar, getDisplayScalarCount, getDisplayScalarIndex, getDisplaySync, getImage, getImage, getMapVector, getMouseBehavior, getNumberOfControls, getPrintable, getRenderers, getRendererVector, getScalar, getScalarCount, getScalarIndex, getValueArrayLength, getValueToMap, getValueToScalar, getWidgetPanel, hasSlaves, isDestroyed, isEventEnabled, lostCollabConnection, make_matrix, multiply_matrix, notifyListeners, notifyListeners, printStack, reAutoScale, reDisplayAll, removeActivityHandler, removeAllReferences, removeAllSlaves, removeDataSourceListener, removeDisplayListener, removeMap, removeMap, removeMessageListener, removeReference, removeRemoteSourceListener, removeRendererSourceListener, removeSlave, replaceReference, replaceReference, replaceReferences, replaceReferences, replaceReferences, replaceReferences, sendMessage, setAlwaysAutoScale, setComponent, setMouseBehavior, syncRemoteData, toString, toString, updateBusyStatus, updateSlaves, updateSlaves
disableAction, enableAction, findReference, getCurrentActionThread, getLinks, getName, getTaskCount, printPool, run, setEnabled, setName, setThreadPoolMaximum, stop, stopThreadPool, thingChanged, waitForTasks
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait
thingChanged
public static final float BACK2D
public static final int PARALLEL_PROJECTION
public static final int PERSPECTIVE_PROJECTION
public static final int POLYGON_FILL
public static final int POLYGON_LINE
public static final int POLYGON_POINT
public static final int NICEST
public static final int FASTEST
public 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()
public static final String NO_ERASE_BACKGROUND
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
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 occurredRemoteException
- an RMI error occurredpublic void setDepthBufferOffset(DataRenderer renderer, GraphicsModeControl mode)
setDepthBufferOffset
in class DisplayImpl
renderer
- mode
- public void resetDepthBufferOffsets()
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.