us.ihmc.utilities.fixedPointRepresentation
Class TransformToFixedPointConverter

java.lang.Object
  extended by us.ihmc.utilities.fixedPointRepresentation.TransformToFixedPointConverter

public class TransformToFixedPointConverter
extends java.lang.Object


Constructor Summary
TransformToFixedPointConverter()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static javax.vecmath.Point3d positionFromFixedPointRepresentation(int offset, java.util.BitSet store, int[] numberOfBits, double[] min, double[] max)
           
static javax.vecmath.Point3d positionToFixedPointRepresentation(javax.vecmath.Point3d point, int offset, java.util.BitSet resultSet, int[] numberOfBits, double[] min, double[] max)
           
static javax.vecmath.Quat4d quatFromEulerFixedPointRepresentation(int offset, java.util.BitSet store, int[] numberOfBits, double[] min, double[] max)
           
static javax.vecmath.Quat4d quatFromQuatFixedPointRepresentation(int offset, java.util.BitSet store, int numberOfBits)
           
static javax.vecmath.Quat4d quatToEulerFixedPointRepresentation(javax.vecmath.Quat4d orientation, int offset, java.util.BitSet resultSet, int[] numberOfBits, double[] min, double[] max)
           
static javax.vecmath.Quat4d quatToQuatFixedPointRepresentation(javax.vecmath.Quat4d orientation, int offset, java.util.BitSet resultSet, int numberOfBits)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformToFixedPointConverter

public TransformToFixedPointConverter()
Method Detail

positionToFixedPointRepresentation

public static javax.vecmath.Point3d positionToFixedPointRepresentation(javax.vecmath.Point3d point,
                                                                       int offset,
                                                                       java.util.BitSet resultSet,
                                                                       int[] numberOfBits,
                                                                       double[] min,
                                                                       double[] max)
                                                                throws OutsideSerializableValuesException
Throws:
OutsideSerializableValuesException

quatToQuatFixedPointRepresentation

public static javax.vecmath.Quat4d quatToQuatFixedPointRepresentation(javax.vecmath.Quat4d orientation,
                                                                      int offset,
                                                                      java.util.BitSet resultSet,
                                                                      int numberOfBits)
                                                               throws OutsideSerializableValuesException
Throws:
OutsideSerializableValuesException

quatToEulerFixedPointRepresentation

public static javax.vecmath.Quat4d quatToEulerFixedPointRepresentation(javax.vecmath.Quat4d orientation,
                                                                       int offset,
                                                                       java.util.BitSet resultSet,
                                                                       int[] numberOfBits,
                                                                       double[] min,
                                                                       double[] max)
                                                                throws OutsideSerializableValuesException
Throws:
OutsideSerializableValuesException

positionFromFixedPointRepresentation

public static javax.vecmath.Point3d positionFromFixedPointRepresentation(int offset,
                                                                         java.util.BitSet store,
                                                                         int[] numberOfBits,
                                                                         double[] min,
                                                                         double[] max)

quatFromQuatFixedPointRepresentation

public static javax.vecmath.Quat4d quatFromQuatFixedPointRepresentation(int offset,
                                                                        java.util.BitSet store,
                                                                        int numberOfBits)

quatFromEulerFixedPointRepresentation

public static javax.vecmath.Quat4d quatFromEulerFixedPointRepresentation(int offset,
                                                                         java.util.BitSet store,
                                                                         int[] numberOfBits,
                                                                         double[] min,
                                                                         double[] max)

main

public static void main(java.lang.String[] args)
                 throws OutsideSerializableValuesException
Throws:
OutsideSerializableValuesException