us.ihmc.graphics3DAdapter.jme
Class JMEGeneratedHeightMap

java.lang.Object
  extended by us.ihmc.graphics3DAdapter.jme.JMEGeneratedHeightMap
All Implemented Interfaces:
GroundProfile, HeightMap

public class JMEGeneratedHeightMap
extends java.lang.Object
implements GroundProfile


Constructor Summary
JMEGeneratedHeightMap(java.util.ArrayList<Graphics3DNode> nodes, int resolution)
           
 
Method Summary
 void closestIntersectionAndNormalAt(double x, double y, double z, javax.vecmath.Point3d intersectionToPack, javax.vecmath.Vector3d normalToPack)
           
 void closestIntersectionTo(double x, double y, double z, javax.vecmath.Point3d intersectionToPack)
           
 us.ihmc.graphics3DAdapter.jme.JMEGeneratedHeightMap.GroundPoint getGroundPoint(double x, double y, double z)
           
 double getXMax()
           
 double getXMin()
           
 double getXTiles()
           
 double getYMax()
           
 double getYMin()
           
 double getYTiles()
           
 double heightAt(double x, double y, double z)
           
 boolean isClose(double x, double y, double z)
           
 void surfaceNormalAt(double x, double y, double z, javax.vecmath.Vector3d normalToPack)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMEGeneratedHeightMap

public JMEGeneratedHeightMap(java.util.ArrayList<Graphics3DNode> nodes,
                             int resolution)
Method Detail

getGroundPoint

public us.ihmc.graphics3DAdapter.jme.JMEGeneratedHeightMap.GroundPoint getGroundPoint(double x,
                                                                                      double y,
                                                                                      double z)

heightAt

public double heightAt(double x,
                       double y,
                       double z)
Specified by:
heightAt in interface GroundProfile
Specified by:
heightAt in interface HeightMap

getXMin

public double getXMin()
Specified by:
getXMin in interface HeightMap

getXMax

public double getXMax()
Specified by:
getXMax in interface HeightMap

getYMin

public double getYMin()
Specified by:
getYMin in interface HeightMap

getYMax

public double getYMax()
Specified by:
getYMax in interface HeightMap

getXTiles

public double getXTiles()
Specified by:
getXTiles in interface HeightMap

getYTiles

public double getYTiles()
Specified by:
getYTiles in interface HeightMap

isClose

public boolean isClose(double x,
                       double y,
                       double z)
Specified by:
isClose in interface GroundProfile

closestIntersectionTo

public void closestIntersectionTo(double x,
                                  double y,
                                  double z,
                                  javax.vecmath.Point3d intersectionToPack)
Specified by:
closestIntersectionTo in interface GroundProfile

surfaceNormalAt

public void surfaceNormalAt(double x,
                            double y,
                            double z,
                            javax.vecmath.Vector3d normalToPack)
Specified by:
surfaceNormalAt in interface GroundProfile

closestIntersectionAndNormalAt

public void closestIntersectionAndNormalAt(double x,
                                           double y,
                                           double z,
                                           javax.vecmath.Point3d intersectionToPack,
                                           javax.vecmath.Vector3d normalToPack)
Specified by:
closestIntersectionAndNormalAt in interface GroundProfile