us.ihmc.utilities.listeners.messages
Class SetVectorInWorldMessage

java.lang.Object
  extended by us.ihmc.utilities.listeners.messages.SetVectorInWorldMessage
All Implemented Interfaces:
java.io.Serializable, ListenerMessage
Direct Known Subclasses:
SetLineInWorldMessage

public class SetVectorInWorldMessage
extends java.lang.Object
implements ListenerMessage

See Also:
Serialized Form

Field Summary
 java.lang.String key
           
 double xEnd
           
 double xStart
           
 double yEnd
           
 double yStart
           
 double zEnd
           
 double zStart
           
 
Constructor Summary
SetVectorInWorldMessage(java.lang.String key, double xStart, double yStart, double zStart, double xEnd, double yEnd, double zEnd)
           
 
Method Summary
static boolean executeIfLabelMatch(java.lang.String label, java.io.DataInputStream dataInputStream, Listener3D listener3D)
           
 java.lang.String getLabel()
           
static java.lang.String getTypeLabel()
           
 void streamInData(java.io.DataInputStream dataInputStream)
           
static SetVectorInWorldMessage streamInIfLabelMatch(java.lang.String label, java.io.DataInputStream dataInputStream)
           
 void streamOutData(java.io.DataOutputStream dataOutputStream)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

public java.lang.String key

xStart

public double xStart

yStart

public double yStart

zStart

public double zStart

xEnd

public double xEnd

yEnd

public double yEnd

zEnd

public double zEnd
Constructor Detail

SetVectorInWorldMessage

public SetVectorInWorldMessage(java.lang.String key,
                               double xStart,
                               double yStart,
                               double zStart,
                               double xEnd,
                               double yEnd,
                               double zEnd)
Method Detail

streamOutData

public void streamOutData(java.io.DataOutputStream dataOutputStream)
                   throws java.io.IOException
Specified by:
streamOutData in interface ListenerMessage
Throws:
java.io.IOException

streamInData

public void streamInData(java.io.DataInputStream dataInputStream)
                  throws java.io.IOException
Specified by:
streamInData in interface ListenerMessage
Throws:
java.io.IOException

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface ListenerMessage

getTypeLabel

public static java.lang.String getTypeLabel()

streamInIfLabelMatch

public static SetVectorInWorldMessage streamInIfLabelMatch(java.lang.String label,
                                                           java.io.DataInputStream dataInputStream)
                                                    throws java.io.IOException
Throws:
java.io.IOException

executeIfLabelMatch

public static boolean executeIfLabelMatch(java.lang.String label,
                                          java.io.DataInputStream dataInputStream,
                                          Listener3D listener3D)
                                   throws java.io.IOException
Throws:
java.io.IOException