jpview.ptms
Interface PTM

All Known Implementing Classes:
Ellipsoid, LRGBPTM

public interface PTM

Author:
clyon

Field Summary
static int LRGB
           
static int PRIMITIVE
           
static int RGB
           
 
Method Summary
 int blue(int i)
           
 void computeNormals()
           
 float getDGain()
           
 EnvironmentMap getEnvironmentMap()
           
 int[] getEnvironmentMapCache()
           
 int[] getEnvironmentMapMap()
           
 int getExp()
           
 int getHeight()
           
 float getKDiff()
           
 float getKSpec()
           
 float getLuminance()
           
 Vec3f[] getNormals()
           
 int getType()
           
 int getWidth()
           
 int getZ()
           
 int green(int i)
           
 Vec3f normal(int i)
           
 Vec3f normal(int x, int y)
           
 void recache()
           
 int red(int i)
           
 void release()
           
 void setDGain(float f)
           
 void setEnvironmentMap(EnvironmentMap em)
           
 void setExp(int i)
           
 void setKDiff(float f)
           
 void setKSpec(float f)
           
 void setLuminance(float f)
           
 void setZ(int z)
           
 boolean useEnv()
           
 void useEnv(boolean b)
           
 

Field Detail

LRGB

static final int LRGB
See Also:
Constant Field Values

RGB

static final int RGB
See Also:
Constant Field Values

PRIMITIVE

static final int PRIMITIVE
See Also:
Constant Field Values
Method Detail

setKSpec

void setKSpec(float f)

setKDiff

void setKDiff(float f)

setExp

void setExp(int i)

getKSpec

float getKSpec()

getKDiff

float getKDiff()

getDGain

float getDGain()

setDGain

void setDGain(float f)

getExp

int getExp()

getZ

int getZ()

setZ

void setZ(int z)

setLuminance

void setLuminance(float f)

getLuminance

float getLuminance()

recache

void recache()

release

void release()

getType

int getType()

getWidth

int getWidth()

getHeight

int getHeight()

red

int red(int i)

green

int green(int i)

blue

int blue(int i)

computeNormals

void computeNormals()

normal

Vec3f normal(int i)

getNormals

Vec3f[] getNormals()

normal

Vec3f normal(int x,
             int y)

setEnvironmentMap

void setEnvironmentMap(EnvironmentMap em)

getEnvironmentMap

EnvironmentMap getEnvironmentMap()

getEnvironmentMapCache

int[] getEnvironmentMapCache()

getEnvironmentMapMap

int[] getEnvironmentMapMap()

useEnv

boolean useEnv()

useEnv

void useEnv(boolean b)