opengl.common
Class ImageTexture

java.lang.Object
  extended by opengl.common.ImageTexture

public class ImageTexture
extends java.lang.Object


Constructor Summary
ImageTexture(java.awt.image.BufferedImage img)
           
 
Method Summary
 int getBytes()
           
 int getColorModel()
           
 java.lang.String[] getColorModelNames()
           
 Vec3 getLowerNormTexAt(int pos)
           
 Vec2 getLowerPatchBoundsAt(int pos)
           
 float getMaxFloat()
           
 Vec3 getMaxNormTex()
           
 float getMaxPossibleValue()
           
 float getMinFloat()
           
 Vec3 getNormTexSizeAt(int i)
           
 java.util.LinkedList<Vec3> getNormTexSizes()
           
 java.util.LinkedList<Vec2> getPatchSize()
           
 Vec2 getPatchSizeAt(int i)
           
 Vec2 getRelativePatchSizeAt(int pos)
           
 int getTextureUnitAt(int i)
           
 java.util.LinkedList<java.lang.Integer> getTextureUnits()
           
 boolean isColored()
           
 int numPatches()
           
 void setMaxFloat(float max)
           
 void setMinFloat(float min)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageTexture

public ImageTexture(java.awt.image.BufferedImage img)
Method Detail

getMaxPossibleValue

public float getMaxPossibleValue()

setMinFloat

public void setMinFloat(float min)

getMinFloat

public float getMinFloat()

setMaxFloat

public void setMaxFloat(float max)

getMaxFloat

public float getMaxFloat()

getColorModel

public int getColorModel()

getBytes

public int getBytes()

isColored

public boolean isColored()

getNormTexSizes

public java.util.LinkedList<Vec3> getNormTexSizes()

getNormTexSizeAt

public Vec3 getNormTexSizeAt(int i)

getMaxNormTex

public Vec3 getMaxNormTex()

getLowerNormTexAt

public Vec3 getLowerNormTexAt(int pos)

getPatchSize

public java.util.LinkedList<Vec2> getPatchSize()

getPatchSizeAt

public Vec2 getPatchSizeAt(int i)

getRelativePatchSizeAt

public Vec2 getRelativePatchSizeAt(int pos)

getLowerPatchBoundsAt

public Vec2 getLowerPatchBoundsAt(int pos)

getTextureUnits

public java.util.LinkedList<java.lang.Integer> getTextureUnits()

getTextureUnitAt

public int getTextureUnitAt(int i)

numPatches

public int numPatches()

getColorModelNames

public java.lang.String[] getColorModelNames()