de.jreality.plugin.content
Class CenteredAndScaledContent

java.lang.Object
  extended by Plugin
      extended by de.jreality.plugin.basic.Content
          extended by de.jreality.plugin.content.CenteredAndScaledContent
All Implemented Interfaces:
TransformationListener, EventListener, ChangeListener

public class CenteredAndScaledContent
extends Content
implements ChangeListener, TransformationListener


Nested Class Summary
 
Nested classes/interfaces inherited from class de.jreality.plugin.basic.Content
Content.ChangeEventType, Content.ContentChangedEvent, Content.ContentChangedListener
 
Constructor Summary
CenteredAndScaledContent()
           
 
Method Summary
 PluginInfo getPluginInfo()
           
 double getSize()
           
 void install(Controller c)
           
 void setContent(SceneGraphNode node)
           
 void stateChanged(ChangeEvent e)
           
 void transformationMatrixChanged(TransformationEvent ev)
           
 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
 

Constructor Detail

CenteredAndScaledContent

public CenteredAndScaledContent()
Method Detail

stateChanged

public void stateChanged(ChangeEvent e)
Specified by:
stateChanged in interface ChangeListener

transformationMatrixChanged

public void transformationMatrixChanged(TransformationEvent ev)
Specified by:
transformationMatrixChanged in interface TransformationListener

setContent

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

getSize

public double getSize()

getPluginInfo

public PluginInfo getPluginInfo()

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