de.jreality.scene.proxy.tree
Class EntityFactory

java.lang.Object
  extended by de.jreality.scene.proxy.tree.EntityFactory

public class EntityFactory
extends Object

This class produces SceneGraphNodeEntities, based on the desired update behavior for the proxy. inherit this class and overwrite the methods

  • produceTransformationEntity
  • produceAppearanceEntity
  • produceGeometryEntity
    as needed. These are only called if the corresponding update method is set to true, then the Entities are attatched as Listeners to the SceneGraphNode.

    Author:
    weissman

    Constructor Summary
    EntityFactory()
               
     
    Method Summary
     void disposeEntity(SceneGraphNodeEntity entity)
               
     boolean isUpdateAppearance()
               
     boolean isUpdateGeometry()
               
     boolean isUpdateTransformation()
               
     void setUpdateAppearance(boolean updateAppearance)
               
     void setUpdateGeometry(boolean updateGeometry)
               
     void setUpdateTransformation(boolean updateTransformation)
               
     
    Methods inherited from class java.lang.Object
    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Constructor Detail

    EntityFactory

    public EntityFactory()
    Method Detail

    isUpdateAppearance

    public boolean isUpdateAppearance()

    setUpdateAppearance

    public void setUpdateAppearance(boolean updateAppearance)

    isUpdateGeometry

    public boolean isUpdateGeometry()

    setUpdateGeometry

    public void setUpdateGeometry(boolean updateGeometry)

    isUpdateTransformation

    public boolean isUpdateTransformation()

    setUpdateTransformation

    public void setUpdateTransformation(boolean updateTransformation)

    disposeEntity

    public void disposeEntity(SceneGraphNodeEntity entity)