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

java.lang.Object
  extended by org.jdesktop.wonderland.common.cell.state.CellComponentClientState
      extended by org.jdesktop.wonderland.common.cell.state.ModelCellComponentClientState
All Implemented Interfaces:
java.io.Serializable

public class ModelCellComponentClientState
extends CellComponentClientState

A cell component that encapsulates all the information required to load a collada model.

See Also:
Serialized Form

Constructor Summary
ModelCellComponentClientState()
          Default constructor
 
Method Summary
 java.lang.String getDeployedModelURL()
          Returns the unique model URI, null if none.
 ModelCellComponentServerState.TransparencyMode getTransparencyMode()
           
 boolean isBackfaceCullingEnabled()
           
 boolean isGraphOptimizationEnabled()
           
 boolean isLightingEnabled()
           
 boolean isPickingEnabled()
           
 void setBackfaceCullingEnabled(boolean backfaceCullingEnabled)
           
 void setDeployedModelURL(java.lang.String deployedModelURL)
          Sets the unique model URI, null for none.
 void setGraphOptimizationEnabled(boolean graphOptimizationEnabled)
           
 void setLightingEnabled(boolean lightingEnabled)
           
 void setPickingEnabled(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
 

Constructor Detail

ModelCellComponentClientState

public ModelCellComponentClientState()
Default constructor

Method Detail

getDeployedModelURL

public java.lang.String getDeployedModelURL()
Returns the unique model URI, null if none.

Returns:
The unique model URI

setDeployedModelURL

public void setDeployedModelURL(java.lang.String deployedModelURL)
Sets the unique model URI, null for none.

Parameters:
modelURI - The unique model URI

isPickingEnabled

public boolean isPickingEnabled()
Returns:
the pickable

setPickingEnabled

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

isLightingEnabled

public boolean isLightingEnabled()
Returns:
the lightingEnabled

setLightingEnabled

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

setBackfaceCullingEnabled

public void setBackfaceCullingEnabled(boolean backfaceCullingEnabled)

isBackfaceCullingEnabled

public boolean isBackfaceCullingEnabled()

isGraphOptimizationEnabled

public boolean isGraphOptimizationEnabled()
Returns:
the graphOptimizationEnabled

setGraphOptimizationEnabled

public void setGraphOptimizationEnabled(boolean graphOptimizationEnabled)
Parameters:
graphOptimizationEnabled - the graphOptimizationEnabled to set

getTransparencyMode

public ModelCellComponentServerState.TransparencyMode getTransparencyMode()

setTransparencyMode

public void setTransparencyMode(ModelCellComponentServerState.TransparencyMode transparencyMode)


Open Wonderland - http://openwonderland.org