Class AbstractDepthPeelingAlgorithm
java.lang.Object
org.jzy3d.plot3d.rendering.ddp.algorithms.AbstractDepthPeelingAlgorithm
- All Implemented Interfaces:
- IDepthPeelingAlgorithm
- Direct Known Subclasses:
- AbstractAccumulationDepthPeeling,- DualDepthPeelingAlgorithm,- FrontToBackPeelingAlgorithm
public abstract class AbstractDepthPeelingAlgorithm
extends Object
implements IDepthPeelingAlgorithm
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected float[]protected float[]protected int[]protected intprotected intprotected float[]protected intprotected int[]protected booleanprotected float[]protected com.jogamp.opengl.glu.GLUstatic final float
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbuildFinish(com.jogamp.opengl.GL2 gl) protected voidbuildFullScreenQuad(com.jogamp.opengl.GL2 gl) protected abstract voidbuildShaders(com.jogamp.opengl.GL2 gl) protected abstract voiddestroyShaders(com.jogamp.opengl.GL2 gl) voidfloat[]protected com.jogamp.opengl.GL2protected com.jogamp.opengl.glu.GLUfloatprotected voidprotected voidreloadShaders(com.jogamp.opengl.GL2 gl) protected voidvoidsetBackground(float[] color) voidsetOpacity(float opacity) voidsetTasksToRender(IGLRenderer tasksToRender) protected URLprotected voidtasksToRender(IPainter painter) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jzy3d.plot3d.rendering.ddp.algorithms.IDepthPeelingAlgorithmdisplay, init, reshape
- 
Field Details- 
MAX_DEPTHpublic static final float MAX_DEPTH- See Also:
 
- 
g_drawBuffersprotected int[] g_drawBuffers
- 
g_quadDisplayListprotected int g_quadDisplayList
- 
g_numPassesprotected int g_numPasses
- 
g_numGeoPassesprotected int g_numGeoPasses
- 
g_useOQprotected boolean g_useOQ
- 
g_whiteprotected float[] g_white
- 
g_blackprotected float[] g_black
- 
g_backgroundColorprotected float[] g_backgroundColor
- 
g_opacityprotected float[] g_opacity
- 
g_queryIdprotected int[] g_queryId
- 
gluprotected com.jogamp.opengl.glu.GLU glu
 
- 
- 
Constructor Details- 
AbstractDepthPeelingAlgorithmpublic AbstractDepthPeelingAlgorithm()
 
- 
- 
Method Details- 
setBackgroundpublic void setBackground(float[] color) - Specified by:
- setBackgroundin interface- IDepthPeelingAlgorithm
 
- 
getBackgroundpublic float[] getBackground()- Specified by:
- getBackgroundin interface- IDepthPeelingAlgorithm
 
- 
setOpacitypublic void setOpacity(float opacity) - Specified by:
- setOpacityin interface- IDepthPeelingAlgorithm
 
- 
getOpacitypublic float getOpacity()- Specified by:
- getOpacityin interface- IDepthPeelingAlgorithm
 
- 
buildShadersprotected abstract void buildShaders(com.jogamp.opengl.GL2 gl) 
- 
destroyShadersprotected abstract void destroyShaders(com.jogamp.opengl.GL2 gl) 
- 
reloadShadersprotected void reloadShaders(com.jogamp.opengl.GL2 gl) 
- 
buildFullScreenQuadprotected void buildFullScreenQuad(com.jogamp.opengl.GL2 gl) 
- 
buildFinishpublic void buildFinish(com.jogamp.opengl.GL2 gl) 
- 
getTasksToRender- Specified by:
- getTasksToRenderin interface- IDepthPeelingAlgorithm
 
- 
setTasksToRender- Specified by:
- setTasksToRenderin interface- IDepthPeelingAlgorithm
 
- 
tasksToRender
- 
resetNumPassprotected void resetNumPass()
- 
incrementGeoPassesprotected void incrementGeoPasses()
- 
dispose- Specified by:
- disposein interface- IDepthPeelingAlgorithm
 
- 
shader
- 
getGL
- 
getGLU
 
-