org.jzy3d.plot3d.rendering.textures
Class SharedTexture

java.lang.Object
  extended by org.jzy3d.plot3d.rendering.textures.SharedTexture
Direct Known Subclasses:
BufferedImageTexture

public class SharedTexture
extends java.lang.Object


Constructor Summary
SharedTexture(java.lang.String file)
           
 
Method Summary
 com.sun.opengl.util.texture.TextureCoords getCoords()
           
 java.lang.String getFile()
           
 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

SharedTexture

public SharedTexture(java.lang.String file)
Method Detail

getTexture

public com.sun.opengl.util.texture.Texture getTexture(javax.media.opengl.GL gl)

mount

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


getFile

public java.lang.String getFile()

getCoords

public com.sun.opengl.util.texture.TextureCoords getCoords()

getHalfWidth

public float getHalfWidth()

getHalfHeight

public float getHalfHeight()