ch.randelshofer.rubik
Class Cube3DCanvasIdx3D
java.lang.Object
ch.randelshofer.beans.AbstractBean
ch.randelshofer.rubik.Cube3DCanvasIdx3D
- All Implemented Interfaces:
- Cube3DCanvas, java.io.Serializable
public class Cube3DCanvasIdx3D
- extends AbstractBean
- implements Cube3DCanvas
A Cube3DCanvas which can display a Cube3D which is built using the Idx3D
rendering engine.
- Version:
- 2.2 2011-06-29 Sets swipeDelay to Integer.MAX_VALUE.
2.1 2009-11-28
2.0 2007-11-15 Upgraded to Java 1.4.
1.0 16 February 2005 Created.
- Author:
- Werner Randelshofer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cube3DCanvasIdx3D
public Cube3DCanvasIdx3D()
- Creates a new instance.
Cube3DCanvasIdx3D
public Cube3DCanvasIdx3D(idx3d_JCanvas canvas3D)
- Creates a new instance.
Cube3DCanvasIdx3D
public Cube3DCanvasIdx3D(idx3d_JCanvas canvas3D,
Cube3D cube3D)
setSharedRenderPipeline
public void setSharedRenderPipeline(idx3d_RenderPipeline sharedPipeline)
getVisualComponent
public java.awt.Component getVisualComponent()
- Specified by:
getVisualComponent in interface Cube3DCanvas
setInitialOrientation
public void setInitialOrientation(float alpha,
float beta,
float gamma)
reset
public void reset()
- Specified by:
reset in interface Cube3DCanvas
setBackground
public void setBackground(java.awt.Color color)
- Specified by:
setBackground in interface Cube3DCanvas
setBackgroundImage
public void setBackgroundImage(java.awt.Image newValue)
- Specified by:
setBackgroundImage in interface Cube3DCanvas
setAmbientLightIntensity
public void setAmbientLightIntensity(double intensity)
setLightSourceIntensity
public void setLightSourceIntensity(double intensity)
getCube3D
public Cube3D getCube3D()
- Specified by:
getCube3D in interface Cube3DCanvas
setCube3D
public void setCube3D(Cube3D newValue)
- Specified by:
setCube3D in interface Cube3DCanvas
setCamera
public void setCamera(java.lang.String cameraName)
- Specified by:
setCamera in interface Cube3DCanvas
setEnabled
public void setEnabled(boolean newValue)
- Specified by:
setEnabled in interface Cube3DCanvas
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled in interface Cube3DCanvas
setLock
public void setLock(java.lang.Object lock)
- Specified by:
setLock in interface Cube3DCanvas
flush
public void flush()
- Description copied from interface:
Cube3DCanvas
- Releases resources held by this object.
- Specified by:
flush in interface Cube3DCanvas