org.jdesktop.wonderland.common.cell.state
Class ModelCellComponentServerState

java.lang.Object
  extended by org.jdesktop.wonderland.common.cell.state.CellComponentServerState
      extended by org.jdesktop.wonderland.common.cell.state.ModelCellComponentServerState
All Implemented Interfaces:
java.io.Serializable, CellState

public class ModelCellComponentServerState
extends CellComponentServerState
implements java.io.Serializable

The ColladaCellSetup class is the cell that renders a collada model cell in world.

Author:
Jordan Slott , paulby
See Also:
Serialized Form

Nested Class Summary
static class ModelCellComponentServerState.TransparencyMode
           
 
Field Summary
 java.lang.String deployedModelURL
           
 
Constructor Summary
ModelCellComponentServerState()
          Default constructor
 
Method Summary
 CellComponentServerState clone(CellComponentServerState state)
           
 java.lang.String getDeployedModelURL()
          Returns the deployedModelURL URI, this is the URI for the .dep file.
 java.lang.String getServerComponentClassName()
          Returns the fully-qualified class name of the server-side component class.
 ModelCellComponentServerState.TransparencyMode getTransparencyMode()
           
 boolean isBackfactCullingEnabled()
           
 boolean isCollisionEnabled()
          Deprecated. Use InteractionComponent instead
 boolean isGraphOptimizationEnabled()
           
 boolean isLightingEnabled()
           
 boolean isPickingEnabled()
           
 void setBackfaceCullingEnabled(boolean backfaceCullingEnabled)
           
 CellComponentClientState setClientState(ModelCellComponentClientState state)
           
 void setCollisionEnabled(boolean collidable)
          Deprecated. Use InteractionComponent instead
 void setDeployedModelURL(java.lang.String deployedModelURL)
          Sets the deployedModelURL URI.
 void setGraphOptimizationEnabled(boolean graphOptimizationEnabled)
           
 void setLightingEnabled(boolean lightingEnabled)
           
 void setPickingEnable(boolean pickable)
           
 void setTransparencyMode(ModelCellComponentServerState.TransparencyMode transparencyMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deployedModelURL

public java.lang.String deployedModelURL
Constructor Detail

ModelCellComponentServerState

public ModelCellComponentServerState()
Default constructor

Method Detail

getServerComponentClassName

public java.lang.String getServerComponentClassName()
Description copied from class: CellComponentServerState
Returns the fully-qualified class name of the server-side component class.

Specified by:
getServerComponentClassName in class CellComponentServerState
Returns:
The server-side cell component class name

clone

public CellComponentServerState clone(CellComponentServerState state)

setClientState

public CellComponentClientState setClientState(ModelCellComponentClientState state)

getDeployedModelURL

public java.lang.String getDeployedModelURL()
Returns the deployedModelURL URI, this is the URI for the .dep file.

Returns:
The deployedModelURL URI specification

setDeployedModelURL

public void setDeployedModelURL(java.lang.String deployedModelURL)
Sets the deployedModelURL URI. If null, then this property will not be written out to the file.

Parameters:
deployedModelURL - The deployedModelURL URI

isPickingEnabled

public boolean isPickingEnabled()
Returns:
the pickable

setPickingEnable

public void setPickingEnable(boolean pickable)
Parameters:
pickable - the pickable to set

isCollisionEnabled

public boolean isCollisionEnabled()
Deprecated. Use InteractionComponent instead

Returns:
the collidable

setCollisionEnabled

public void setCollisionEnabled(boolean collidable)
Deprecated. Use InteractionComponent instead

Parameters:
collidable - the collidable to set

isLightingEnabled

public boolean isLightingEnabled()
Returns:
the lightingEnabled

setLightingEnabled

public void setLightingEnabled(boolean lightingEnabled)
Parameters:
lightingEnabled - the lightingEnabled to set

isBackfactCullingEnabled

public boolean isBackfactCullingEnabled()

setBackfaceCullingEnabled

public void setBackfaceCullingEnabled(boolean backfaceCullingEnabled)

isGraphOptimizationEnabled

public boolean isGraphOptimizationEnabled()

setGraphOptimizationEnabled

public void setGraphOptimizationEnabled(boolean graphOptimizationEnabled)

getTransparencyMode

public ModelCellComponentServerState.TransparencyMode getTransparencyMode()

setTransparencyMode

public void setTransparencyMode(ModelCellComponentServerState.TransparencyMode transparencyMode)


Open Wonderland - http://openwonderland.org