Public Member Functions | Protected Attributes | Private Member Functions | List of all members
com.generalrobotix.ui.view.vsensor.Canvas3DI Class Reference
Inheritance diagram for com.generalrobotix.ui.view.vsensor.Canvas3DI:
Inheritance graph
[legend]

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_
 

Private Member Functions

void _readRaster ()
 

Detailed Description

This class defines Canvas which is used in OpenHRP.

Author
Ichitaro Kohara, MSTC
Version
1.0(2001.02.22)

Definition at line 26 of file Canvas3DI.java.

Constructor & Destructor Documentation

com.generalrobotix.ui.view.vsensor.Canvas3DI.Canvas3DI ( GraphicsConfiguration  gc)
inline

Constructor

Parameters
gc

Definition at line 47 of file Canvas3DI.java.

com.generalrobotix.ui.view.vsensor.Canvas3DI.Canvas3DI ( GraphicsConfiguration  gc,
boolean  offscr,
Raster  raster,
int  width,
int  height,
int  rasterType 
)
inline

Constructor

Parameters
gc
offscr

Definition at line 56 of file Canvas3DI.java.

Member Function Documentation

void com.generalrobotix.ui.view.vsensor.Canvas3DI._readRaster ( )
inlineprivate

Read raster

Definition at line 115 of file Canvas3DI.java.

int [] com.generalrobotix.ui.view.vsensor.Canvas3DI.getColorBuffer ( )
inline

Returns color buffer

Returns
color buffer

Definition at line 80 of file Canvas3DI.java.

float [] com.generalrobotix.ui.view.vsensor.Canvas3DI.getDepthBuffer ( )
inline

Returns depth buffer

Returns
depth buffer

Definition at line 101 of file Canvas3DI.java.

byte [] com.generalrobotix.ui.view.vsensor.Canvas3DI.getMonoBuffer ( )
inline

Definition at line 84 of file Canvas3DI.java.

void com.generalrobotix.ui.view.vsensor.Canvas3DI.postSwap ( )
inline

This method is called when buffer has swapped

Definition at line 107 of file Canvas3DI.java.

void com.generalrobotix.ui.view.vsensor.Canvas3DI.renderOnce ( )
inline

Definition at line 143 of file Canvas3DI.java.

Member Data Documentation

BufferedImage com.generalrobotix.ui.view.vsensor.Canvas3DI.color_
protected

Definition at line 40 of file Canvas3DI.java.

DepthComponentFloat com.generalrobotix.ui.view.vsensor.Canvas3DI.depth_
protected

Definition at line 41 of file Canvas3DI.java.

GraphicsContext3D com.generalrobotix.ui.view.vsensor.Canvas3DI.gc_
protected

Definition at line 32 of file Canvas3DI.java.

int com.generalrobotix.ui.view.vsensor.Canvas3DI.height_
protected

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.

int com.generalrobotix.ui.view.vsensor.Canvas3DI.rasterType_
protected

Definition at line 31 of file Canvas3DI.java.

int com.generalrobotix.ui.view.vsensor.Canvas3DI.width_
protected

Definition at line 29 of file Canvas3DI.java.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:44