Package org.jzy3d.plot3d.primitives.vbo
Class ColormapTexture
java.lang.Object
org.jzy3d.plot3d.primitives.vbo.ColormapTexture
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionColormapTexture(ColorMapper mapper) ColormapTexture(ColorMapper mapper, String name, int id) -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(com.jogamp.opengl.GL gl) protected voidfeedBufferWithColormap(ColorMapper mapper) intgetID()voidsetTextureData(com.jogamp.opengl.GL gl, Buffer buffer, int[] shape) voidunbind(com.jogamp.opengl.GL gl) voidupdate(com.jogamp.opengl.GL gl) voidupdateColormap(ColorMapper mapper) protected booleanvalidateTexID(com.jogamp.opengl.GL gl, boolean throwException)
-
Field Details
-
id
protected int id -
texID
protected int texID -
image
-
shape
protected int[] shape -
isUpdate
protected boolean isUpdate -
name
-
nColors
protected int nColors
-
-
Constructor Details
-
ColormapTexture
-
ColormapTexture
-
-
Method Details
-
updateColormap
-
feedBufferWithColormap
-
update
public void update(com.jogamp.opengl.GL gl) -
bind
public void bind(com.jogamp.opengl.GL gl) throws com.jogamp.opengl.GLException - Throws:
com.jogamp.opengl.GLException
-
unbind
public void unbind(com.jogamp.opengl.GL gl) -
setTextureData
-
getID
public int getID() -
validateTexID
protected boolean validateTexID(com.jogamp.opengl.GL gl, boolean throwException)
-