NASA - Jet Propulsion Laboratory
    + View the NASA Portal
Search JPL
Jet Propulsion Laboratory Home Earth Solar System Stars & Galaxies Technology
Introduction Background Software Links


healpix.plot3d.gui.healpix3d
Class DataSphere

java.lang.Object
  extended by javax.media.j3d.SceneGraphObject
      extended by javax.media.j3d.Node
          extended by javax.media.j3d.Leaf
              extended by javax.media.j3d.Shape3D
                  extended by healpix.plot3d.gui.healpix3d.HealSphere
                      extended by healpix.plot3d.gui.healpix3d.DataSphere

public class DataSphere
extends HealSphere

Despite name represents a single Healpix face. Uses a coloured quadrilateral to indicate a data value for each pixel. DataSphere deals with different map inside a HealpixMap object - e.g. read from fits file-.

Version:
$Id: DataSphere.java,v 1.1.2.4 2010/02/22 14:55:50 healpix Exp $

Field Summary
 
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
 
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
 
Constructor Summary
DataSphere()
          Default constructor.
DataSphere(int face, HealpixMap ch)
          Instantiates a new data sphere.
DataSphere(int face, HealpixMap ch, int imap)
          Used to get the data sphere from a ith map
DataSphere(int face, HealpixMap ch, int imap, double min, double max)
          Instantiates a new data sphere.
DataSphere(int face, HealpixMap ch, int imap, double min, double max, HealpixIndex index)
          Instantiates a new data sphere.
DataSphere(int nside, int face, HealpixMap ch, double min, double max)
          Most detailed constructor.
 
Method Summary
 int getFaceNum()
          Gets the face num.
 
Methods inherited from class javax.media.j3d.Shape3D
addGeometry, cloneNode, 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
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
 
Methods inherited from class javax.media.j3d.SceneGraphObject
clearCapability, clearCapabilityIsFrequent, getCapability, getCapabilityIsFrequent, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setUserData, updateNodeReferences
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSphere

public DataSphere()
Default constructor.


DataSphere

public DataSphere(int nside,
                  int face,
                  HealpixMap ch,
                  double min,
                  double max)
Most detailed constructor.

Parameters:
nside - the healpix resolution parameter.
face - the face which this object should display.
ch - the source of the data values.
min - minimum value against which color should be scaled.
max - maximum value against which color should be scaled.

DataSphere

public DataSphere(int face,
                  HealpixMap ch)
Instantiates a new data sphere.

Parameters:
face - the face
ch - the ch

DataSphere

public DataSphere(int face,
                  HealpixMap ch,
                  int imap)
Used to get the data sphere from a ith map

Parameters:
face -
ch -
imap -

DataSphere

public DataSphere(int face,
                  HealpixMap ch,
                  int imap,
                  double min,
                  double max)
Instantiates a new data sphere.

Parameters:
face - the face
ch - the ch
imap - the imap
min - the min
max - the max

DataSphere

public DataSphere(int face,
                  HealpixMap ch,
                  int imap,
                  double min,
                  double max,
                  HealpixIndex index)
Instantiates a new data sphere.

Parameters:
face - the face
ch - the ch
imap - the imap
min - the min
max - the max
index - the index
Method Detail

getFaceNum

public int getFaceNum()
Gets the face num.

Returns:
the face num

"Built from revision exported"

Privacy / Copyright
FIRST GOV Contact: NASA Home Page Site Manager:
Webmaster:

CL 03-2650