subscript.vis
Class VisLaserScanExtrusion

java.lang.Object
  extended by subscript.vis.VisObject
      extended by subscript.vis.VisLaserScanExtrusion

public class VisLaserScanExtrusion
extends VisObject

A 3D extrusion of 2D laser scan data.


Field Summary
static double DEFAULT_HEIGHT
           
 double height
           
 VisSurfaceStyle sstyle
           
 
Constructor Summary
VisLaserScanExtrusion(java.util.ArrayList<GPoint2D> points)
           
VisLaserScanExtrusion(java.util.ArrayList<GPoint2D> points, double height)
           
VisLaserScanExtrusion(java.util.ArrayList<GPoint2D> points, double height, VisSurfaceStyle sstyle)
           
 
Method Summary
 Box3D getExtents(Matrix S)
          Get the bounding box in global coordinates, i.e., using the object's transform T and the passed-in matrix S.
 void render(VisRenderer r, VisWorld world, VisView v)
          Called by VisCanvas when it is time to render the object.
 
Methods inherited from class subscript.vis.VisObject
getPosition, rotateX, rotateY, rotateZ, setPosition, setPosition, setPosition, setPositionT, setPositionXYT, setPositionXYT, setPositionXYZ, transform, transform, translate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_HEIGHT

public static final double DEFAULT_HEIGHT
See Also:
Constant Field Values

height

public double height

sstyle

public VisSurfaceStyle sstyle
Constructor Detail

VisLaserScanExtrusion

public VisLaserScanExtrusion(java.util.ArrayList<GPoint2D> points)

VisLaserScanExtrusion

public VisLaserScanExtrusion(java.util.ArrayList<GPoint2D> points,
                             double height)

VisLaserScanExtrusion

public VisLaserScanExtrusion(java.util.ArrayList<GPoint2D> points,
                             double height,
                             VisSurfaceStyle sstyle)
Method Detail

render

public void render(VisRenderer r,
                   VisWorld world,
                   VisView v)
Description copied from class: VisObject
Called by VisCanvas when it is time to render the object.

Specified by:
render in class VisObject

getExtents

public Box3D getExtents(Matrix S)
Description copied from class: VisObject
Get the bounding box in global coordinates, i.e., using the object's transform T and the passed-in matrix S. I.e., pass S*T to methods of Box3D.

Specified by:
getExtents in class VisObject