public class TwoDDisplayRendererJ3D extends DisplayRendererJ3D
TwoDDisplayRendererJ3D is the VisAD class for 2-D background
and metadata rendering under Java3D.| Constructor and Description |
|---|
TwoDDisplayRendererJ3D()
This
DisplayRenderer supports 2-D only rendering. |
TwoDDisplayRendererJ3D(Class mbj3dClass) |
| Modifier and Type | Method and Description |
|---|---|
BranchGroup |
createSceneGraph(View v,
TransformGroup vpt,
VisADCanvasJ3D c)
Create scene graph root, if none exists, with Transform
and direct manipulation root;
create 3-D box, lights and MouseBehaviorJ3D for
embedded user interface.
|
void |
destroy() |
boolean |
getMode2D()
Return
true if this is a 2-D DisplayRenderer. |
boolean |
legalDisplayScalar(DisplayRealType type)
Return
true if type is legal for this
DisplayRenderer; for example, 2-D
DisplayRenderers use this to disallow mappings to
ZAxis and Latitude. |
void |
setBoxAspect(double[] aspect)
set the aspect for the containing box
aspect double[3] array used to scale x, y and z box sizes
|
void |
setLineWidth(float width) |
addDirectManipulationSceneGraphComponent, addKeyboardBehavior, addLockedSceneGraphComponent, addLockedSceneGraphComponent, addSceneGraphComponent, anyDirects, clearScale, clearScales, clearScene, controlChanged, createBasicSceneGraph, createBasicSceneGraph, depth_cursor, drag_cursor, drag_depth, drawCursorStringVector, findDirect, getBoxOnBranch, getCanvas, getCursor, getCursorOnBranch, getImage, getKeyboardBehavior, getMouseBehavior, getRoot, getTextureHeightMax, getTextureWidthMax, getTrans, getView, getViewTrans, initControl, legalDataRenderer, makeControl, makeDefaultRenderer, render_trigger, rendererDeleted, setClip, setCursorLoc, setCursorOn, setDirectOn, setDisplay, setScale, setScale, setScale, setScaleOn, setSceneGraphObjectName, setTransform3D, setWaitFlag, updateLockedTransgetAnimationString, getAnimationStringVisible, getBoxOn, getCursorColor, getCursorStringVector, getCursorStringVectorUnconditional, getDirectAxisValue, getDirectAxisValue, getDisplay, getPickThreshhold, getRendererControl, getRotateAboutCenter, getScaleRotation, getWaitFlag, getWaitMessageVisible, prepareAction, setAnimationString, setAnimationStringVisible, setBackgroundColor, setBackgroundColor, setBoxColor, setBoxColor, setBoxOn, setCursorColor, setCursorColor, setCursorStringOn, setCursorStringVector, setCursorStringVector, setForegroundColor, setForegroundColor, setPickThreshhold, setRotateAboutCenter, setScaleRotation, setWaitMessageVisiblepublic TwoDDisplayRendererJ3D()
DisplayRenderer supports 2-D only rendering.
It is easiest to describe in terms of differences from
DefaultDisplayRendererJ3D. The cursor and box
around the scene are 2-D, the scene cannot be rotated,
the cursor cannot be translated in and out, and the
scene can be translated sideways with the left mouse
button with or without pressing the Ctrl key.No RealType may be mapped to ZAxis or Latitude.
public TwoDDisplayRendererJ3D(Class mbj3dClass)
mbj3dClass - - sub Class of MouseBehaviorJ3Dpublic void destroy()
destroy in class DisplayRendererJ3Dpublic boolean getMode2D()
DisplayRenderertrue if this is a 2-D DisplayRenderer.getMode2D in class DisplayRenderertrue if this is a 2-D renderer.public boolean legalDisplayScalar(DisplayRealType type)
DisplayRenderertrue if type is legal for this
DisplayRenderer; for example, 2-D
DisplayRenderers use this to disallow mappings to
ZAxis and Latitude.legalDisplayScalar in class DisplayRenderertype - The mapping type to check.true if type is legal.public BranchGroup createSceneGraph(View v, TransformGroup vpt, VisADCanvasJ3D c)
createSceneGraph in class DisplayRendererJ3Dv - vpt - c - public void setBoxAspect(double[] aspect)
DisplayRenderersetBoxAspect in class DisplayRendererpublic void setLineWidth(float width)
setLineWidth in class DisplayRendererJ3DCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.