org.jzy3d.plot3d.rendering.textures
Class BufferedImageTexture

java.lang.Object
  extended by org.jzy3d.plot3d.rendering.textures.SharedTexture
      extended by org.jzy3d.plot3d.rendering.textures.BufferedImageTexture

public class BufferedImageTexture
extends SharedTexture


Constructor Summary
BufferedImageTexture(java.awt.image.BufferedImage image)
           
 
Method Summary
 com.sun.opengl.util.texture.TextureCoords getCoords()
           
 java.lang.String getFile()
          returns null
 float getHalfHeight()
           
 float getHalfWidth()
           
 com.sun.opengl.util.texture.Texture getTexture(javax.media.opengl.GL gl)
           
 void mount()
          A GL context MUST be current.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferedImageTexture

public BufferedImageTexture(java.awt.image.BufferedImage image)
Method Detail

getTexture

public com.sun.opengl.util.texture.Texture getTexture(javax.media.opengl.GL gl)
Overrides:
getTexture in class SharedTexture

mount

public void mount()
A GL context MUST be current.

Overrides:
mount in class SharedTexture

getFile

public java.lang.String getFile()
returns null

Overrides:
getFile in class SharedTexture

getCoords

public com.sun.opengl.util.texture.TextureCoords getCoords()
Overrides:
getCoords in class SharedTexture

getHalfWidth

public float getHalfWidth()
Overrides:
getHalfWidth in class SharedTexture

getHalfHeight

public float getHalfHeight()
Overrides:
getHalfHeight in class SharedTexture