Package org.jzy3d.plot3d.primitives.vbo
Class ShaderWaterfallDrawableVBO
java.lang.Object
org.jzy3d.plot3d.primitives.Drawable
org.jzy3d.plot3d.primitives.vbo.drawable.DrawableVBO
org.jzy3d.plot3d.primitives.vbo.ShaderWaterfallDrawableVBO
- All Implemented Interfaces:
IMultiColorable
,IGLBindedResource
,IGLRenderer
,ISortableDraw
-
Field Summary
Fields inherited from class org.jzy3d.plot3d.primitives.vbo.drawable.DrawableVBO
arrayName, byteOffset, color, colorChannelNumber, dimensions, elementName, geometry, hasMountedOnce, loader, normalOffset, pointer, polygonMode, polygonOffsetFactor, polygonOffsetFillEnable, polygonOffsetUnit, quality, size, width
Fields inherited from class org.jzy3d.plot3d.primitives.Drawable
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transform, transformBefore
-
Constructor Summary
ConstructorDescriptionShaderWaterfallDrawableVBO
(ShaderWaterfallVBOBuilder loader, ColorMapper mapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyVertices
(com.jogamp.opengl.GL gl) void
dispose()
Performs all required operation to cleanup the Drawable.void
Call OpenGL2 routines for rendering the object.Get the colormapper.void
Mount resources to gl contextprotected void
pointers
(com.jogamp.opengl.GL gl) void
setColorMapper
(ColorMapper mapper) Set the colormapper that will be used by the Drawable, instead of using precomputed colors.Methods inherited from class org.jzy3d.plot3d.primitives.vbo.drawable.DrawableVBO
applyGeometryTransform, applyPolygonModeFillGL2, applyQuality, applyWidth, color, configure, disable, disableColor, doBindGL2, doConfigure, doConfigure, doDrawElements, doLoadArrayFloatBuffer, doLoadArrayFloatBuffer, doLoadElementIntBuffer, doLoadElementIntBuffer, doSetBoundingBox, enable, getColor, getGeometry, getPolygonMode, getPolygonOffsetFactor, getPolygonOffsetUnit, getQuality, getWidth, hasMountedOnce, isHasColorBuffer, isPolygonOffsetFillEnable, polygonOffseFillEnable, polygonOffsetFillDisable, rotator, rotator, rotator, setColor, setData, setData, setData, setGeometry, setHasColorBuffer, setPolygonMode, setPolygonOffsetFactor, setPolygonOffsetFillEnable, setPolygonOffsetUnit, setQuality, setWidth, updateBounds
Methods inherited from class org.jzy3d.plot3d.primitives.Drawable
addDrawableListener, asWireframeable, doDrawBoundsIfDisplayed, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getBounds, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, setTransform, setTransformBefore, toString, toString
-
Field Details
-
elementName2
protected int[] elementName2
-
-
Constructor Details
-
ShaderWaterfallDrawableVBO
-
-
Method Details
-
draw
Description copied from class:Drawable
Call OpenGL2 routines for rendering the object.- Specified by:
draw
in interfaceIGLRenderer
- Overrides:
draw
in classDrawableVBO
-
applyVertices
protected void applyVertices(com.jogamp.opengl.GL gl) - Overrides:
applyVertices
in classDrawableVBO
-
mount
Description copied from interface:IGLBindedResource
Mount resources to gl context- Specified by:
mount
in interfaceIGLBindedResource
- Overrides:
mount
in classDrawableVBO
-
dispose
public void dispose()Description copied from class:Drawable
Performs all required operation to cleanup the Drawable. -
pointers
protected void pointers(com.jogamp.opengl.GL gl) - Overrides:
pointers
in classDrawableVBO
-
getColorMapper
Description copied from interface:IMultiColorable
Get the colormapper.- Specified by:
getColorMapper
in interfaceIMultiColorable
-
setColorMapper
Description copied from interface:IMultiColorable
Set the colormapper that will be used by the Drawable, instead of using precomputed colors.- Specified by:
setColorMapper
in interfaceIMultiColorable
-