us.ihmc.graphics3DAdapter.camera
Class VideoPacket

java.lang.Object
  extended by us.ihmc.graphics3DAdapter.camera.VideoPacket
All Implemented Interfaces:
ComparableDataObject<VideoPacket>, TransformableDataObject<VideoPacket>

public class VideoPacket
extends java.lang.Object
implements TransformableDataObject<VideoPacket>


Field Summary
 byte[] data
           
 double fieldOfView
           
 javax.vecmath.Quat4d orientation
           
 javax.vecmath.Point3d position
           
 long timeStamp
           
 VideoSettings.VideoCompressionKey videoCompressionKey
           
 
Constructor Summary
VideoPacket()
           
VideoPacket(long timeStamp, byte[] data, javax.vecmath.Point3d position, javax.vecmath.Quat4d orientation, double fieldOfView, VideoSettings.VideoCompressionKey videoCompressionKey)
           
 
Method Summary
 boolean epsilonEquals(VideoPacket other, double epsilon)
           
 byte[] getData()
           
 double getFieldOfView()
           
 javax.vecmath.Quat4d getOrientation()
           
 javax.vecmath.Point3d getPosition()
           
 long getTimeStamp()
           
 VideoSettings.VideoCompressionKey getVideoCompressionKey()
           
 VideoPacket transform(javax.media.j3d.Transform3D transform)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeStamp

public long timeStamp

data

public byte[] data

position

public javax.vecmath.Point3d position

orientation

public javax.vecmath.Quat4d orientation

fieldOfView

public double fieldOfView

videoCompressionKey

public VideoSettings.VideoCompressionKey videoCompressionKey
Constructor Detail

VideoPacket

public VideoPacket()

VideoPacket

public VideoPacket(long timeStamp,
                   byte[] data,
                   javax.vecmath.Point3d position,
                   javax.vecmath.Quat4d orientation,
                   double fieldOfView,
                   VideoSettings.VideoCompressionKey videoCompressionKey)
Method Detail

getTimeStamp

public long getTimeStamp()

getData

public byte[] getData()

getPosition

public javax.vecmath.Point3d getPosition()

getOrientation

public javax.vecmath.Quat4d getOrientation()

getFieldOfView

public double getFieldOfView()

getVideoCompressionKey

public VideoSettings.VideoCompressionKey getVideoCompressionKey()

epsilonEquals

public boolean epsilonEquals(VideoPacket other,
                             double epsilon)
Specified by:
epsilonEquals in interface ComparableDataObject<VideoPacket>

transform

public VideoPacket transform(javax.media.j3d.Transform3D transform)
Specified by:
transform in interface TransformableDataObject<VideoPacket>