|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Canvas
javax.media.j3d.Canvas3D
org.freehep.j3d.plot.Plot3D
public abstract class Plot3D
Abstract class extended by other 3D Plot widgets. Defines default mouse behaviour etc.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Canvas |
---|
Canvas.AccessibleAWTCanvas |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected boolean |
init
|
protected boolean |
parallelProjection
|
protected com.sun.j3d.utils.universe.SimpleUniverse |
universe
|
Fields inherited from class javax.media.j3d.Canvas3D |
---|
FIELD_ALL, FIELD_LEFT, FIELD_RIGHT |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Method Summary | |
---|---|
void |
addNotify()
|
protected javax.media.j3d.Transform3D |
createDefaultOrientation()
Override to set a different initial transformation |
protected abstract javax.media.j3d.Node |
createPlot()
Override to provide plot content |
protected javax.media.j3d.BranchGroup |
defineMouseBehaviour(javax.media.j3d.Node scene)
Override to provide different mouse behaviour |
protected javax.media.j3d.Bounds |
getDefaultBounds()
Returns a bounds object that can be used for most behaviours, lighting models, etc. |
boolean |
getParallelProjection()
|
protected void |
init()
|
void |
setParallelProjection(boolean b)
|
protected void |
setProjectionPolicy(com.sun.j3d.utils.universe.SimpleUniverse universe,
boolean parallelProjection)
Set the projection policy for the plot - either perspective or projection |
protected void |
setupLights(javax.media.j3d.BranchGroup root)
|
Methods inherited from class javax.media.j3d.Canvas3D |
---|
getBounds, getBounds, getCenterEyeInImagePlate, getDoubleBufferAvailable, getDoubleBufferEnable, getGraphics2D, getGraphicsContext3D, getHeight, getImagePlateToVworld, getInverseVworldProjection, getLeftEyeInImagePlate, getLeftManualEyeInImagePlate, getLocation, getLocation, getLocationOnScreen, getMonoscopicViewPolicy, getOffScreenBuffer, getOffScreenLocation, getOffScreenLocation, getPhysicalHeight, getPhysicalWidth, getPixelLocationFromImagePlate, getPixelLocationInImagePlate, getPixelLocationInImagePlate, getRightEyeInImagePlate, getRightManualEyeInImagePlate, getSceneAntialiasingAvailable, getScreen3D, getSize, getSize, getStereoAvailable, getStereoEnable, getView, getVworldProjection, getVworldToImagePlate, getWidth, getX, getY, isOffScreen, isRendererRunning, paint, postRender, postSwap, preRender, queryProperties, removeNotify, renderField, renderOffScreenBuffer, setDoubleBufferEnable, setLeftManualEyeInImagePlate, setMonoscopicViewPolicy, setOffScreenBuffer, setOffScreenLocation, setOffScreenLocation, setRightManualEyeInImagePlate, setStereoEnable, startRenderer, stopRenderer, swap, waitForOffScreenRendering |
Methods inherited from class java.awt.Canvas |
---|
createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean init
protected boolean parallelProjection
protected com.sun.j3d.utils.universe.SimpleUniverse universe
Method Detail |
---|
protected void init()
public void addNotify()
addNotify
in class javax.media.j3d.Canvas3D
public boolean getParallelProjection()
public void setParallelProjection(boolean b)
protected abstract javax.media.j3d.Node createPlot()
protected javax.media.j3d.BranchGroup defineMouseBehaviour(javax.media.j3d.Node scene)
protected void setupLights(javax.media.j3d.BranchGroup root)
protected javax.media.j3d.Transform3D createDefaultOrientation()
protected void setProjectionPolicy(com.sun.j3d.utils.universe.SimpleUniverse universe, boolean parallelProjection)
protected javax.media.j3d.Bounds getDefaultBounds()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |