camera3d
Class AvatarManager

java.lang.Object
  extended bycamera3d.AvatarManager

public class AvatarManager
extends java.lang.Object

AvatarManager creates and manages, in a transparent way, geometry that is used as avatars to lights and cameras.

Version:
1.0
Author:
Fábio Roberto de Miranda, Carlos da Silva dos Santos

Method Summary
static AvatarManager getAvatarManager()
          Returns singleton instance of AvatarManager.
 javax.media.j3d.Shape3D getCameraAvatarShape()
          Returns a Shape3D containing the camera avatar geometry.
 javax.media.j3d.Shape3D getDirectLightAvatarShape()
          Returns a Shape3D containing the direct light avatar geometry.
 javax.media.j3d.Shape3D getPointLightAvatarShape()
          Returns a Shape3D containing the point light avatar geometry.
 javax.media.j3d.Shape3D getSpotLightAvatarShape()
          Returns a Shape3D containing the spot light avatar geometry.
 void hideAllAvatars()
          Makes all the camera and lights avatars invisible.
 void showAllAvatars()
          Makes all the camera and lights avatars visible.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAvatarManager

public static AvatarManager getAvatarManager()
Returns singleton instance of AvatarManager.


getCameraAvatarShape

public javax.media.j3d.Shape3D getCameraAvatarShape()
Returns a Shape3D containing the camera avatar geometry.

Returns:
the camera avatar shape.

getSpotLightAvatarShape

public javax.media.j3d.Shape3D getSpotLightAvatarShape()
Returns a Shape3D containing the spot light avatar geometry.

Returns:
the spot light avatar shape.

getDirectLightAvatarShape

public javax.media.j3d.Shape3D getDirectLightAvatarShape()
Returns a Shape3D containing the direct light avatar geometry.

Returns:
the direct light avatar shape.

getPointLightAvatarShape

public javax.media.j3d.Shape3D getPointLightAvatarShape()
Returns a Shape3D containing the point light avatar geometry.

Returns:
the point light avatar shape.

hideAllAvatars

public void hideAllAvatars()
Makes all the camera and lights avatars invisible.


showAllAvatars

public void showAllAvatars()
Makes all the camera and lights avatars visible.



Copyright © 2001-2003 F.R. Miranda, C.S. Santos, J.E. Kogler Jr.. All Rights Reserved.