|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PTMWindow
The PTM Window is the abstract class for the display container. It defines getters, setters, and delegates for concrete subclasses
| Method Summary | |
|---|---|
void |
fireTransform()
exercises the current transform operator on the PTM data |
void |
forceUpdate()
force an update for the current tranform - decache and optimizations off |
int |
getExp()
delegate for PTM getExp() method |
int |
getHeight()
Returns the height of the PTM window |
float |
getKDiff()
delegate for PTM getKDiff() |
float |
getKSpec()
delegate for the PTM getKSpec() |
javax.swing.JLayeredPane |
getLayeredPane()
Return the JLayeredPane - for adding Internal frames |
float |
getLuminance()
Get the current value for the global ambient term |
PTM |
getPTM()
Returns PTM object for this Window |
int |
getPTMHeight()
Returns the height of the current PTM |
int |
getPTMWidth()
Returns the width of the current PTM |
int |
getWidth()
Returns the width of the PTM window |
void |
refreshMap()
Reload the environment map |
void |
setBrowser(java.awt.Container c)
set the parent for this window |
void |
setControls(PTMControls c)
Sets the PTMControls to use for this Window |
void |
setEnvironmentMap(EnvironmentMap e)
set the current environment map |
void |
setExp(int i)
Set the value of the exponent in the specular term of the Phong lighting equation for the specular transform operator |
void |
setKDiff(float f)
set the value of Kd in the Phong lighting equation for the specular tranform |
void |
setKSpec(float f)
Sets the KSpec term in the Phong lighting equation |
void |
setLuminance(float f)
Set the current value for the global ambient term |
void |
setMapBlurType(int i)
set the blur type for the map ( BLUR_TYPE_SIMPLE, BLUR_TYPE_GAUSSIAN, BLUR_TYPE_NONE ) |
void |
setMapGuassianBlurSigma(float f)
set the value of sigma for the gaussian blur procedure |
void |
setMapKernelSize(int i)
set the kernel size for the blur |
void |
setMapSampleSize(int i)
set the sample size for the environment map |
void |
setPixelTransformOp(PixelTransformOp pto)
sets the current transform operator to use when rendering a view |
| Method Detail |
|---|
void fireTransform()
float getKSpec()
float getKDiff()
int getExp()
int getPTMWidth()
int getWidth()
int getHeight()
int getPTMHeight()
void setKSpec(float f)
f - the new valuevoid setKDiff(float f)
f - the new value for Kdvoid setExp(int i)
i - the new value for the exponentvoid setControls(PTMControls c)
c - the controlsfloat getLuminance()
void setLuminance(float f)
f - the new valuevoid setMapSampleSize(int i)
i - the sample sizevoid setMapBlurType(int i)
i - the blur typevoid setMapKernelSize(int i)
i - the kernel sizevoid setMapGuassianBlurSigma(float f)
f - sigmavoid refreshMap()
PTM getPTM()
void forceUpdate()
void setBrowser(java.awt.Container c)
c - the new parent containervoid setEnvironmentMap(EnvironmentMap e)
e - the environment mapvoid setPixelTransformOp(PixelTransformOp pto)
pto - the transform operator to usejavax.swing.JLayeredPane getLayeredPane()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||