public class TerrainPluginVR extends AbstractPluginVR
Constructor and Description |
---|
TerrainPluginVR() |
Modifier and Type | Method and Description |
---|---|
void |
environmentChanged() |
Color |
getFaceColor() |
double |
getFaceReflection() |
JPanel |
getPanel() |
double |
getTerrainTextureScale() |
double |
getTransparency() |
boolean |
isFacesReflecting() |
boolean |
isTexScaleEnabled() |
boolean |
isTransparencyEnabled() |
void |
restoreDefaults() |
void |
restorePreferences(Preferences prefs) |
void |
setFaceColor(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(Preferences prefs) |
void |
switchToTerrainTextureBrowser() |
contentChanged, getName, getViewerVR, terrainChanged
public void setViewerVR(ViewerVR vvr)
PluginVR
setViewerVR
in interface PluginVR
setViewerVR
in class AbstractPluginVR
public JPanel getPanel()
getPanel
in interface PluginVR
getPanel
in class AbstractPluginVR
public void environmentChanged()
environmentChanged
in interface PluginVR
environmentChanged
in class AbstractPluginVR
public void setTexScaleEnabled(boolean b)
public boolean isTexScaleEnabled()
public double getFaceReflection()
public void setFaceReflection(double d)
public double getTransparency()
public void setTransparency(double d)
public boolean isFacesReflecting()
public void setFacesReflecting(boolean b)
public Color getFaceColor()
public void setFaceColor(Color c)
public boolean isTransparencyEnabled()
public void setTransparencyEnabled(boolean b)
public double getTerrainTextureScale()
public void setTerrainTextureScale(double d)
public void switchToTerrainTextureBrowser()
public void storePreferences(Preferences prefs)
storePreferences
in interface PluginVR
storePreferences
in class AbstractPluginVR
public void restoreDefaults()
restoreDefaults
in interface PluginVR
restoreDefaults
in class AbstractPluginVR
public void restorePreferences(Preferences prefs)
restorePreferences
in interface PluginVR
restorePreferences
in class AbstractPluginVR