Public Member Functions | |
Canvas3DI (GraphicsConfiguration gc) | |
Canvas3DI (GraphicsConfiguration gc, boolean offscr, Raster raster, int width, int height, int rasterType) | |
int[] | getColorBuffer () |
float[] | getDepthBuffer () |
byte[] | getMonoBuffer () |
void | postSwap () |
void | renderOnce () |
Protected Attributes | |
BufferedImage | color_ |
DepthComponentFloat | depth_ |
GraphicsContext3D | gc_ |
int | height_ |
Raster | raster_ |
int | rasterType_ |
int | width_ |
Package Attributes | |
int[] | colorBuffer_ |
float[] | depthBuffer_ |
boolean | finished_ = false |
Private Member Functions | |
void | _readRaster () |
This class defines Canvas which is used in OpenHRP.
Definition at line 26 of file Canvas3DI.java.
com.generalrobotix.ui.view.vsensor.Canvas3DI.Canvas3DI | ( | GraphicsConfiguration | gc | ) | [inline] |
com.generalrobotix.ui.view.vsensor.Canvas3DI.Canvas3DI | ( | GraphicsConfiguration | gc, |
boolean | offscr, | ||
Raster | raster, | ||
int | width, | ||
int | height, | ||
int | rasterType | ||
) | [inline] |
void com.generalrobotix.ui.view.vsensor.Canvas3DI._readRaster | ( | ) | [inline, private] |
Read raster
Definition at line 115 of file Canvas3DI.java.
int [] com.generalrobotix.ui.view.vsensor.Canvas3DI.getColorBuffer | ( | ) | [inline] |
float [] com.generalrobotix.ui.view.vsensor.Canvas3DI.getDepthBuffer | ( | ) | [inline] |
byte [] com.generalrobotix.ui.view.vsensor.Canvas3DI.getMonoBuffer | ( | ) | [inline] |
Definition at line 84 of file Canvas3DI.java.
This method is called when buffer has swapped
Definition at line 107 of file Canvas3DI.java.
Reimplemented in com.generalrobotix.ui.view.vsensor.OffScreenCanvas3D, and com.generalrobotix.ui.view.vsensor.OnScreenCanvas3D.
Definition at line 143 of file Canvas3DI.java.
BufferedImage com.generalrobotix.ui.view.vsensor.Canvas3DI.color_ [protected] |
Definition at line 40 of file Canvas3DI.java.
Definition at line 35 of file Canvas3DI.java.
DepthComponentFloat com.generalrobotix.ui.view.vsensor.Canvas3DI.depth_ [protected] |
Definition at line 41 of file Canvas3DI.java.
float [] com.generalrobotix.ui.view.vsensor.Canvas3DI.depthBuffer_ [package] |
Definition at line 36 of file Canvas3DI.java.
boolean com.generalrobotix.ui.view.vsensor.Canvas3DI.finished_ = false [package] |
Definition at line 37 of file Canvas3DI.java.
GraphicsContext3D com.generalrobotix.ui.view.vsensor.Canvas3DI.gc_ [protected] |
Definition at line 32 of file Canvas3DI.java.
Definition at line 30 of file Canvas3DI.java.
Raster com.generalrobotix.ui.view.vsensor.Canvas3DI.raster_ [protected] |
Definition at line 28 of file Canvas3DI.java.
Definition at line 31 of file Canvas3DI.java.
Definition at line 29 of file Canvas3DI.java.