org.jdesktop.wonderland.client.jme
Class AvatarRenderManager

java.lang.Object
  extended by org.jdesktop.wonderland.client.jme.AvatarRenderManager

public class AvatarRenderManager
extends java.lang.Object

Provides a mechansim for Avatar renderer modules to register themselves with the core system.

Author:
paulby

Nested Class Summary
 class AvatarRenderManager.RendererUnavailable
           
 
Method Summary
 CellRenderer createRenderer(ServerSessionManager session, Cell cell)
          Instantiate and return a renderer of the specified class
 ViewControls createViewControls(ServerSessionManager session)
           
static AvatarRenderManager getAvatarRenderManager()
          Get the avatar render manager
 void registerRenderer(ServerSessionManager session, java.lang.Class<? extends CellRenderer> rendererClass, java.lang.Class<? extends ViewControls> controlClass)
           
 void unregisterRenderer(ServerSessionManager session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAvatarRenderManager

public static AvatarRenderManager getAvatarRenderManager()
Get the avatar render manager

Returns:

registerRenderer

public void registerRenderer(ServerSessionManager session,
                             java.lang.Class<? extends CellRenderer> rendererClass,
                             java.lang.Class<? extends ViewControls> controlClass)

unregisterRenderer

public void unregisterRenderer(ServerSessionManager session)

createRenderer

public CellRenderer createRenderer(ServerSessionManager session,
                                   Cell cell)
                            throws AvatarRenderManager.RendererUnavailable
Instantiate and return a renderer of the specified class

Parameters:
rendererClass -
Returns:
Throws:
AvatarRenderManager.RendererUnavailable

createViewControls

public ViewControls createViewControls(ServerSessionManager session)


Open Wonderland - http://openwonderland.org