ants.move.core.views.avatar
Class AvatarInformation

java.lang.Object
  |
  +--ants.move.core.views.avatar.AvatarInformation

public class AvatarInformation
extends java.lang.Object

Information on avatar movements.

Version:
1.2 Build 2000
Author:
Carles Pairot (cpairot@tinet.org), Oriol Montalà (omontala@tinet.org)

Constructor Summary
AvatarInformation()
           
AvatarInformation(ants.move.core.views.avatar.EventInSFVec3f aPos, ants.move.core.views.avatar.EventInSFRotation aRot, ants.move.core.views.avatar.EventInSFTime start, ants.move.core.views.avatar.EventInSFTime stop, float[] p, float[] o)
          Sole constructor.
 
Method Summary
 ants.move.core.views.avatar.EventInSFVec3f getAvatarPosition()
          Get Avatar's Position EventIn.
 ants.move.core.views.avatar.EventInSFRotation getAvatarRotation()
          Get Avatar's Orientation EventIn.
 float[] getOrientation()
          Get Avatar's new orientation.
 float[] getPosition()
          Get Avatar's new position.
 ants.move.core.views.avatar.EventInSFTime getStartTime()
          Get Avatar's Movement Enabler EventIn.
 ants.move.core.views.avatar.EventInSFTime getStopTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvatarInformation

public AvatarInformation(ants.move.core.views.avatar.EventInSFVec3f aPos,
                         ants.move.core.views.avatar.EventInSFRotation aRot,
                         ants.move.core.views.avatar.EventInSFTime start,
                         ants.move.core.views.avatar.EventInSFTime stop,
                         float[] p,
                         float[] o)
Sole constructor.
Parameters:
aPos - EventIn VRML avatar position (so it can be changed)
aRot - EventIn VRML avatar rotation (so it can be changed)
eJoints - EventIn VRML avatar movement enabled/disabled
p - New avatar position
o - New avatar orientation
Throws:
exceptions - No exceptions thrown

AvatarInformation

public AvatarInformation()
Method Detail

getAvatarPosition

public ants.move.core.views.avatar.EventInSFVec3f getAvatarPosition()
Get Avatar's Position EventIn.
Parameters:
params - None
Returns:
Avatar's Position EventIn
Throws:
exceptions - No exceptions thrown

getAvatarRotation

public ants.move.core.views.avatar.EventInSFRotation getAvatarRotation()
Get Avatar's Orientation EventIn.
Parameters:
params - None
Returns:
Avatar's Orientation EventIn
Throws:
exceptions - No exceptions thrown

getStartTime

public ants.move.core.views.avatar.EventInSFTime getStartTime()
Get Avatar's Movement Enabler EventIn.
Parameters:
params - None
Returns:
Avatar's Movement Enabler EventIn
Throws:
exceptions - No exceptions thrown

getStopTime

public ants.move.core.views.avatar.EventInSFTime getStopTime()

getPosition

public float[] getPosition()
Get Avatar's new position.
Parameters:
params - None
Returns:
Avatar's new position
Throws:
exceptions - No exceptions thrown

getOrientation

public float[] getOrientation()
Get Avatar's new orientation.
Parameters:
params - None
Returns:
Avatar's new orientation
Throws:
exceptions - No exceptions thrown


Developers: Oriol Montala, Carles Pairot, Francesc Pinas2000 - 2002
Departament d'Enginyeria Informatica i Matematiques
Escola Tecnica Superior d'Enginyeria
Universitat Rovira i Virgili