org.scilab.forge.scirenderer.implementation.jogl.depthtest
Class JoGLDepthBufferManager

java.lang.Object
  extended by org.scilab.forge.scirenderer.implementation.jogl.depthtest.JoGLDepthBufferManager
All Implemented Interfaces:
DepthTestManager

public class JoGLDepthBufferManager
extends java.lang.Object
implements DepthTestManager

The JoGL implementation of the DepthTestManager.

Author:
Pierre Lando

Field Summary
 
Fields inherited from interface org.scilab.forge.scirenderer.depthtest.DepthTestManager
DEFAULT_AUTO_CLEAR_DEPTH_BUFFER_STATUS
 
Constructor Summary
JoGLDepthBufferManager()
          Default constructor.
 
Method Summary
 boolean isAutoClearDepthBufferEnable()
          Return the auto clear depth buffer status.
 void setAutoClearDepthBufferEnable(boolean status)
          Set the auto clear depth buffer status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoGLDepthBufferManager

public JoGLDepthBufferManager()
Default constructor.

Method Detail

isAutoClearDepthBufferEnable

public boolean isAutoClearDepthBufferEnable()
Description copied from interface: DepthTestManager
Return the auto clear depth buffer status. If the auto clear depth buffer is enable, the depth buffer will be clear before all call to the canvas main drawer.

Specified by:
isAutoClearDepthBufferEnable in interface DepthTestManager
Returns:
the auto clear depth buffer status.

setAutoClearDepthBufferEnable

public void setAutoClearDepthBufferEnable(boolean status)
Description copied from interface: DepthTestManager
Set the auto clear depth buffer status.

Specified by:
setAutoClearDepthBufferEnable in interface DepthTestManager
Parameters:
status - the new auto clear depth buffer status.