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_OVERRIDE_READ, ALLOW_APPEARANCE_OVERRIDE_WRITE, ALLOW_APPEARANCE_READ, ALLOW_APPEARANCE_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE, ALLOW_GEOMETRY_READ, ALLOW_GEOMETRY_WRITE, id
 
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_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
 
Fields inherited from class javax.media.j3d.SceneGraphObject
nodeHashtable, retained
 
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
addGeometry, cloneNode, createRetained, duplicateAttributes, duplicateNode, getAllGeometries, getAppearance, getAppearanceOverrideEnable, getBounds, getCollisionBounds, getGeometry, getGeometry, indexOfGeometry, insertGeometry, intersect, intersect, intersect, numGeometries, removeAllGeometries, removeGeometry, removeGeometry, setAppearance, setAppearanceOverrideEnable, setCollisionBounds, setGeometry, setGeometry
 
Methods inherited from class javax.media.j3d.Node
checkDuplicateNode, checkForCycle, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
 
Methods inherited from class javax.media.j3d.SceneGraphObject
capabilityBitsEmpty, checkForLiveOrCompiled, clearCapability, clearCapabilityIsFrequent, clearLive, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getNodeComponent, getUserData, isCompiled, isLive, isLiveOrCompiled, setCapability, setCapabilityIsFrequent, setCompiled, setLive, setUserData, updateNodeReferences
 
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