de.jreality.plugin.content
Class TerrainAlignedContent

java.lang.Object
  extended by Plugin
      extended by de.jreality.plugin.basic.Content
          extended by de.jreality.plugin.content.TerrainAlignedContent

public class TerrainAlignedContent
extends Content


Nested Class Summary
 
Nested classes/interfaces inherited from class de.jreality.plugin.basic.Content
Content.ChangeEventType, Content.ContentChangedEvent, Content.ContentChangedListener
 
Field Summary
static double DEFAULT_CONTENT_SIZE
           
static double DEFAULT_VERTICAL_OFFSET
           
 
Constructor Summary
TerrainAlignedContent()
           
 
Method Summary
 void alignContent()
           
 void contentChanged()
           
 double getContentSize()
           
 PluginInfo getPluginInfo()
           
 double getVerticalOffset()
           
 void install(Controller c)
           
 void restoreStates(Controller c)
           
 void setContent(SceneGraphNode node)
           
 void setContentSize(double contentSize)
           
 void setVerticalOffset(double verticalOffset)
           
 void storeStates(Controller c)
           
 void uninstall(Controller c)
           
 
Methods inherited from class de.jreality.plugin.basic.Content
addContentChangedListener, addContentTool, fireContentChanged, fireContentChanged, removeContentChangedListener, removeContentTool
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONTENT_SIZE

public static final double DEFAULT_CONTENT_SIZE
See Also:
Constant Field Values

DEFAULT_VERTICAL_OFFSET

public static final double DEFAULT_VERTICAL_OFFSET
See Also:
Constant Field Values
Constructor Detail

TerrainAlignedContent

public TerrainAlignedContent()
Method Detail

alignContent

public void alignContent()

install

public void install(Controller c)
             throws Exception
Overrides:
install in class Content
Throws:
Exception

uninstall

public void uninstall(Controller c)
               throws Exception
Throws:
Exception

contentChanged

public void contentChanged()

setContent

public void setContent(SceneGraphNode node)
Specified by:
setContent in class Content

getContentSize

public double getContentSize()

setContentSize

public void setContentSize(double contentSize)

getVerticalOffset

public double getVerticalOffset()

setVerticalOffset

public void setVerticalOffset(double verticalOffset)

getPluginInfo

public PluginInfo getPluginInfo()

restoreStates

public void restoreStates(Controller c)
                   throws Exception
Throws:
Exception

storeStates

public void storeStates(Controller c)
                 throws Exception
Throws:
Exception