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

List of all members.

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 ()

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

Read raster

Definition at line 115 of file Canvas3DI.java.

Returns color buffer

Returns:
color buffer

Definition at line 80 of file Canvas3DI.java.

Returns depth buffer

Returns:
depth buffer

Definition at line 101 of file Canvas3DI.java.

Definition at line 84 of file Canvas3DI.java.

This method is called when buffer has swapped

Definition at line 107 of file Canvas3DI.java.


Member Data Documentation

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.

Definition at line 36 of file Canvas3DI.java.

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.

Definition at line 28 of file Canvas3DI.java.

Definition at line 31 of file Canvas3DI.java.

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 Sun Apr 2 2017 03:44:01