de.jreality.vr
Class TerrainPluginVR

java.lang.Object
  extended by de.jreality.vr.AbstractPluginVR
      extended by de.jreality.vr.TerrainPluginVR
All Implemented Interfaces:
PluginVR

public class TerrainPluginVR
extends AbstractPluginVR


Constructor Summary
TerrainPluginVR()
           
 
Method Summary
 void environmentChanged()
           
 java.awt.Color getFaceColor()
           
 double getFaceReflection()
           
 javax.swing.JPanel getPanel()
           
 double getTerrainTextureScale()
           
 double getTransparency()
           
 boolean isFacesReflecting()
           
 boolean isTexScaleEnabled()
           
 boolean isTransparencyEnabled()
           
 void restoreDefaults()
           
 void restorePreferences(java.util.prefs.Preferences prefs)
           
 void setFaceColor(java.awt.Color c)
           
 void setFaceReflection(double d)
           
 void setFacesReflecting(boolean b)
           
 void setTerrainTextureScale(double d)
           
 void setTexScaleEnabled(boolean b)
           
 void setTransparency(double d)
           
 void setTransparencyEnabled(boolean b)
           
 void setViewerVR(ViewerVR vvr)
          this method is called only once after initialization
 void storePreferences(java.util.prefs.Preferences prefs)
           
 void switchToTerrainTextureBrowser()
           
 
Methods inherited from class de.jreality.vr.AbstractPluginVR
contentChanged, getName, getViewerVR, terrainChanged
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerrainPluginVR

public TerrainPluginVR()
Method Detail

setViewerVR

public void setViewerVR(ViewerVR vvr)
Description copied from interface: PluginVR
this method is called only once after initialization

Specified by:
setViewerVR in interface PluginVR
Overrides:
setViewerVR in class AbstractPluginVR

getPanel

public javax.swing.JPanel getPanel()
Specified by:
getPanel in interface PluginVR
Overrides:
getPanel in class AbstractPluginVR

environmentChanged

public void environmentChanged()
Specified by:
environmentChanged in interface PluginVR
Overrides:
environmentChanged in class AbstractPluginVR

setTexScaleEnabled

public void setTexScaleEnabled(boolean b)

isTexScaleEnabled

public boolean isTexScaleEnabled()

getFaceReflection

public double getFaceReflection()

setFaceReflection

public void setFaceReflection(double d)

getTransparency

public double getTransparency()

setTransparency

public void setTransparency(double d)

isFacesReflecting

public boolean isFacesReflecting()

setFacesReflecting

public void setFacesReflecting(boolean b)

getFaceColor

public java.awt.Color getFaceColor()

setFaceColor

public void setFaceColor(java.awt.Color c)

isTransparencyEnabled

public boolean isTransparencyEnabled()

setTransparencyEnabled

public void setTransparencyEnabled(boolean b)

getTerrainTextureScale

public double getTerrainTextureScale()

setTerrainTextureScale

public void setTerrainTextureScale(double d)

switchToTerrainTextureBrowser

public void switchToTerrainTextureBrowser()

storePreferences

public void storePreferences(java.util.prefs.Preferences prefs)
Specified by:
storePreferences in interface PluginVR
Overrides:
storePreferences in class AbstractPluginVR

restoreDefaults

public void restoreDefaults()
Specified by:
restoreDefaults in interface PluginVR
Overrides:
restoreDefaults in class AbstractPluginVR

restorePreferences

public void restorePreferences(java.util.prefs.Preferences prefs)
Specified by:
restorePreferences in interface PluginVR
Overrides:
restorePreferences in class AbstractPluginVR