HTM Index 1.0




jhu.htm3D
Class htm3DSphere

java.lang.Object
  |
  +--javax.media.j3d.SceneGraphObject
        |
        +--javax.media.j3d.Node
              |
              +--javax.media.j3d.Leaf
                    |
                    +--javax.media.j3d.Shape3D
                          |
                          +--jhu.htm3D.htm3DSphere

public class htm3DSphere
extends javax.media.j3d.Shape3D

A sphere shape, extending Shape3D, but drawn using longitude/latitude lines. The radius of the sphere may also be given.


Fields inherited from class javax.media.j3d.Shape3D
ALLOW_APPEARANCE_READ, ALLOW_APPEARANCE_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE, ALLOW_GEOMETRY_READ, ALLOW_GEOMETRY_WRITE
 
Fields inherited from class javax.media.j3d.Node
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_PICK, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
 
Constructor Summary
htm3DSphere()
          Construct default sphere: longitudinal resolution 12, latitude 24, radius 1
htm3DSphere(int rad)
          Alternate constructor: specify radius
htm3DSphere(int loRes, int laRes)
          Alternate constructor: specify longitudinal and latitude resolution
htm3DSphere(int loRes, int laRes, int rad)
          Alternate constructor: specify resolutions and radius
 
Methods inherited from class javax.media.j3d.Shape3D
cloneNode, duplicateNode, getAppearance, getCollisionBounds, getGeometry, intersect, intersect, setAppearance, setCollisionBounds, setGeometry
 
Methods inherited from class javax.media.j3d.Leaf
updateNodeReferences
 
Methods inherited from class javax.media.j3d.Node
cloneTree, cloneTree, cloneTree, getBounds, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
 
Methods inherited from class javax.media.j3d.SceneGraphObject
clearCapability, duplicateSceneGraphObject, getCapability, getUserData, isCompiled, isLive, setCapability, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

htm3DSphere

public htm3DSphere()
Construct default sphere: longitudinal resolution 12, latitude 24, radius 1

htm3DSphere

public htm3DSphere(int rad)
Alternate constructor: specify radius

htm3DSphere

public htm3DSphere(int loRes,
                   int laRes)
Alternate constructor: specify longitudinal and latitude resolution

htm3DSphere

public htm3DSphere(int loRes,
                   int laRes,
                   int rad)
Alternate constructor: specify resolutions and radius

HTM Index 1.0





©Copyright The Johns Hopkins University 1999, All Rights Reserved.
See the HTM Homepage for details.
Last Build: Oct 26, 1999 Peter Z. Kunszt