j3d.examples.surfacer
Class SmartShell

java.lang.Object
  extended by j3d.examples.surfacer.SmartShell

public class SmartShell
extends java.lang.Object


Field Summary
 javax.media.j3d.QuadArray shellGeometry
           
 
Constructor Summary
SmartShell(javax.media.j3d.Appearance shellAppearance)
          Constructs a shell with 28 divisions per strip, 14 strips, appearance 'shellAppearance' at 0,0,0.
SmartShell(int divs, int strips, javax.media.j3d.Appearance shellAppearance)
          Constructs a shell with number of divisions per strip 'divs', number of strips 'strips', appearance 'shellAppearance' at 0,0,0.
SmartShell(int divs, int strips, float xpos, float ypos, float zpos, javax.media.j3d.Appearance shellAppearance)
          Constructs a shell with number of divisions per strip 'divs', number of strips 'strips', appearance 'shellAppearance' at xpos,ypos,zpos.
 
Method Summary
 javax.media.j3d.Shape3D getChild()
           
 javax.media.j3d.QuadArray getQuadArray()
           
 void Scale(float xs, float ys, float zs)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

shellGeometry

public javax.media.j3d.QuadArray shellGeometry
Constructor Detail

SmartShell

public SmartShell(javax.media.j3d.Appearance shellAppearance)
Constructs a shell with 28 divisions per strip, 14 strips, appearance 'shellAppearance' at 0,0,0.


SmartShell

public SmartShell(int divs,
                  int strips,
                  javax.media.j3d.Appearance shellAppearance)
Constructs a shell with number of divisions per strip 'divs', number of strips 'strips', appearance 'shellAppearance' at 0,0,0.


SmartShell

public SmartShell(int divs,
                  int strips,
                  float xpos,
                  float ypos,
                  float zpos,
                  javax.media.j3d.Appearance shellAppearance)
Constructs a shell with number of divisions per strip 'divs', number of strips 'strips', appearance 'shellAppearance' at xpos,ypos,zpos.

Method Detail

Scale

public void Scale(float xs,
                  float ys,
                  float zs)

getChild

public javax.media.j3d.Shape3D getChild()

getQuadArray

public javax.media.j3d.QuadArray getQuadArray()