j3d.examples.surfacer
Class SmartCone

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

public class SmartCone
extends java.lang.Object


Constructor Summary
SmartCone()
          Constructs a Cone with 50 triangles, width of 1.0, height of 2.0, with base centered at 0,0,0 and null appearance
SmartCone(javax.media.j3d.Appearance coneAppearance)
          Constructs a Cone with 50 triangles, width of 1.0, height of 2.0, with base centered at 0,0,0 and appearance 'coneAppearance'
SmartCone(float w, float h)
          Constructs a Cone with 'n' triangles, 'w' width, 'h' height, with base centered at 0,0,0 and null appearance
SmartCone(float w, float h, javax.media.j3d.Appearance coneAppearance)
          Constructs a Cone with 'n' triangles, 'w' width, 'h' height, with base centered at 0,0,0 and null appearance
SmartCone(float xpos, float ypos, float zpos)
          Constructs a Cone with 50 triangles, width of 1.0, height of 2.0, with base centered at 'xpos', 'ypos', 'zpos', and null appearance
SmartCone(float xpos, float ypos, float zpos, javax.media.j3d.Appearance coneAppearance)
          Constructs a Cone with 50 triangles, width of 1.0, height of 2.0, with base centered at 'xpos', 'ypos', 'zpos', and appearance 'coneAppearance'
SmartCone(int n)
          Constructs a Cone with 'n' triangles, width of 1.0, height of 2.0, with base centered at 0,0,0 and null appearance
SmartCone(int n, javax.media.j3d.Appearance coneAppearance)
          Constructs a Cone with 'n' triangles, width of 1.0, height of 2.0, with base centered at 0,0,0 and appearance 'coneAppearance'
SmartCone(int n, float xpos, float ypos, float zpos)
          Constructs a Cone with 'n' triangles, width of 1.0, height of 2.0, with base centered at 'xpos', 'ypos', 'zpos', and null appearance
SmartCone(int n, float xpos, float ypos, float zpos, javax.media.j3d.Appearance coneAppearance)
          Constructs a Cone with 'n' triangles, width of 1.0, height of 2.0, with base centered at 'xpos', 'ypos', 'zpos', and appearance 'coneAppearance'
SmartCone(int n, float w, float h, float xpos, float ypos, float zpos)
          Constructs a Cone with 'n' triangles, 'w' width, 'h' height, with base centered at 'xpos', 'ypos', 'zpos', and null appearance
SmartCone(int n, float w, float h, float xpos, float ypos, float zpos, javax.media.j3d.Appearance coneAppearance)
          Constructs a Cone with 'n' triangles, 'w' width, 'h' height, with base centered at 'xpos', 'ypos', 'zpos', and appearance 'coneAppearance'
 
Method Summary
 javax.media.j3d.Shape3D getChild()
           
 javax.media.j3d.TriangleArray getTriangleArray()
           
 void Scale(float xs, float ys, float zs)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmartCone

public SmartCone()
Constructs a Cone with 50 triangles, width of 1.0, height of 2.0, with base centered at 0,0,0 and null appearance


SmartCone

public SmartCone(javax.media.j3d.Appearance coneAppearance)
Constructs a Cone with 50 triangles, width of 1.0, height of 2.0, with base centered at 0,0,0 and appearance 'coneAppearance'


SmartCone

public SmartCone(int n)
Constructs a Cone with 'n' triangles, width of 1.0, height of 2.0, with base centered at 0,0,0 and null appearance


SmartCone

public SmartCone(int n,
                 javax.media.j3d.Appearance coneAppearance)
Constructs a Cone with 'n' triangles, width of 1.0, height of 2.0, with base centered at 0,0,0 and appearance 'coneAppearance'


SmartCone

public SmartCone(float w,
                 float h)
Constructs a Cone with 'n' triangles, 'w' width, 'h' height, with base centered at 0,0,0 and null appearance


SmartCone

public SmartCone(float w,
                 float h,
                 javax.media.j3d.Appearance coneAppearance)
Constructs a Cone with 'n' triangles, 'w' width, 'h' height, with base centered at 0,0,0 and null appearance


SmartCone

public SmartCone(float xpos,
                 float ypos,
                 float zpos)
Constructs a Cone with 50 triangles, width of 1.0, height of 2.0, with base centered at 'xpos', 'ypos', 'zpos', and null appearance


SmartCone

public SmartCone(float xpos,
                 float ypos,
                 float zpos,
                 javax.media.j3d.Appearance coneAppearance)
Constructs a Cone with 50 triangles, width of 1.0, height of 2.0, with base centered at 'xpos', 'ypos', 'zpos', and appearance 'coneAppearance'


SmartCone

public SmartCone(int n,
                 float xpos,
                 float ypos,
                 float zpos)
Constructs a Cone with 'n' triangles, width of 1.0, height of 2.0, with base centered at 'xpos', 'ypos', 'zpos', and null appearance


SmartCone

public SmartCone(int n,
                 float xpos,
                 float ypos,
                 float zpos,
                 javax.media.j3d.Appearance coneAppearance)
Constructs a Cone with 'n' triangles, width of 1.0, height of 2.0, with base centered at 'xpos', 'ypos', 'zpos', and appearance 'coneAppearance'


SmartCone

public SmartCone(int n,
                 float w,
                 float h,
                 float xpos,
                 float ypos,
                 float zpos)
Constructs a Cone with 'n' triangles, 'w' width, 'h' height, with base centered at 'xpos', 'ypos', 'zpos', and null appearance


SmartCone

public SmartCone(int n,
                 float w,
                 float h,
                 float xpos,
                 float ypos,
                 float zpos,
                 javax.media.j3d.Appearance coneAppearance)
Constructs a Cone with 'n' triangles, 'w' width, 'h' height, with base centered at 'xpos', 'ypos', 'zpos', and appearance 'coneAppearance'

Method Detail

Scale

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

getChild

public javax.media.j3d.Shape3D getChild()

getTriangleArray

public javax.media.j3d.TriangleArray getTriangleArray()