|
FXCanvas3DMV | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.interactivemesh.j3d.community.gui.FXCanvas3DMVControl
public class FXCanvas3DMVControl
A FXCanvas3DMVControl object controls repainting and resizing of the FXCanvas3DMV objects. As soon as Java 3D has finished rendering into all attached and active FXCanvas3DMV objects for a single frame the FXCanvas3DMVControl object requests JavaFX to copy the image data and to repaint all corresponding SwingComponent objects in a single loop.
FXCanvas3DMV,
FXCanvas3DMVRepainter| Constructor Summary | |
|---|---|
FXCanvas3DMVControl(FXCanvas3DMV[] fxCanvas3Ds)
Constructs and initializes a new FXCanvas3DMVControl object for the given FXCanvas3DMV objects. |
|
| Method Summary | |
|---|---|
void |
copyBuffersAndRepaint()
Copies the 3D rendering images into the 2D painting images while the J3D-Renderer thread is waiting. |
void |
setFXCanvas3DMVSize(int width,
int height)
Convenient method for rezising all FXCanvas3DMV objects to the same size. |
void |
setRepainter(FXCanvas3DMVRepainter painter)
Sets the FXCanvas3DMVRepainter object for this FXCanvas3DMVControl. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FXCanvas3DMVControl(FXCanvas3DMV[] fxCanvas3Ds)
fxCanvas3Ds - FXCanvas3DMV objects to manage| Method Detail |
|---|
public void setRepainter(FXCanvas3DMVRepainter painter)
painter - JavaFX class instance
public void setFXCanvas3DMVSize(int width,
int height)
width - the width of the canvasheight - the height of the canvaspublic void copyBuffersAndRepaint()
|
FXCanvas3DMV | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||