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
public class ShaderWaterfallDrawableVBO extends DrawableVBO implements IMultiColorable
-
-
Field Summary
Fields Modifier and Type Field Description protected int[]elementName2-
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
Constructors Constructor Description ShaderWaterfallDrawableVBO(ShaderWaterfallVBOBuilder loader, ColorMapper mapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyVertices(com.jogamp.opengl.GL gl)voiddispose()Performs all required operation to cleanup the Drawable.voiddraw(IPainter painter)Call OpenGL2 routines for rendering the object.ColorMappergetColorMapper()Get the colormapper.voidmount(IPainter painter)Mount resources to gl contextprotected voidpointers(com.jogamp.opengl.GL gl)voidsetColorMapper(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
-
-
-
-
Constructor Detail
-
ShaderWaterfallDrawableVBO
public ShaderWaterfallDrawableVBO(ShaderWaterfallVBOBuilder loader, ColorMapper mapper)
-
-
Method Detail
-
draw
public void draw(IPainter painter)
Description copied from class:DrawableCall OpenGL2 routines for rendering the object.- Specified by:
drawin interfaceIGLRenderer- Overrides:
drawin classDrawableVBO
-
applyVertices
protected void applyVertices(com.jogamp.opengl.GL gl)
- Overrides:
applyVerticesin classDrawableVBO
-
mount
public void mount(IPainter painter)
Description copied from interface:IGLBindedResourceMount resources to gl context- Specified by:
mountin interfaceIGLBindedResource- Overrides:
mountin classDrawableVBO
-
dispose
public void dispose()
Description copied from class:DrawablePerforms all required operation to cleanup the Drawable.
-
pointers
protected void pointers(com.jogamp.opengl.GL gl)
- Overrides:
pointersin classDrawableVBO
-
getColorMapper
public ColorMapper getColorMapper()
Description copied from interface:IMultiColorableGet the colormapper.- Specified by:
getColorMapperin interfaceIMultiColorable
-
setColorMapper
public void setColorMapper(ColorMapper mapper)
Description copied from interface:IMultiColorableSet the colormapper that will be used by the Drawable, instead of using precomputed colors.- Specified by:
setColorMapperin interfaceIMultiColorable
-
-