org.jmol.shapespecial
Class Ellipsoids

java.lang.Object
  extended by org.jmol.shape.Shape
      extended by org.jmol.shape.AtomShape
          extended by org.jmol.shapespecial.Ellipsoids

public class Ellipsoids
extends AtomShape


Nested Class Summary
(package private) static class Ellipsoids.Ellipsoid
           
 
Field Summary
private static float[] crtval
           
(package private)  Ellipsoids.Ellipsoid ellipsoid
           
(package private)  boolean haveEllipsoids
           
(package private)  java.util.Map<java.lang.String,Ellipsoids.Ellipsoid> htEllipsoids
           
 
Fields inherited from class org.jmol.shape.AtomShape
atomCount, atoms, bsColixSet, bsSizeSet, colixes, isActive, mads, paletteIDs
 
Fields inherited from class org.jmol.shape.Shape
g3d, isBioShape, modelSet, myVisibilityFlag, RADIUS_MAX, shapeID, translucentAllowed, translucentLevel, viewer, xmlProperties
 
Constructor Summary
Ellipsoids()
           
 
Method Summary
 int getIndexFromName(java.lang.String thisID)
           
 boolean getProperty(java.lang.String property, java.lang.Object[] data)
           
(package private) static float getRadius(int prob)
           
 java.lang.String getShapeState()
           
 void setProperty(java.lang.String propertyName, java.lang.Object value, java.util.BitSet bs)
          may come from any source -- executed AFTER a shape's own setProperty method
protected  void setSize(int size, java.util.BitSet bsSelected)
           
 void setVisibilityFlags(java.util.BitSet bs)
           
private  void updateEquation(Ellipsoids.Ellipsoid ellipsoid)
           
 
Methods inherited from class org.jmol.shape.AtomShape
getSize, initModelSet, setColixAndPalette, setModelClickability, setSize
 
Methods inherited from class org.jmol.shape.Shape
appendCmd, checkBoundsMinMax, checkObjectClicked, checkObjectDragged, checkObjectHovered, coordinateInRange, findNearestAtomIndex, getColix, getColorCommand, getColorCommand, getFontCommand, getProperty, getShapeCommands, getShapeCommands, getShapeDetail, getSize, getViewer, initializeShape, initShape, merge, setColix, setColix, setColix, setModelSet, setShapeProperty, setShapeSize, setStateInfo, setStateInfo, wasClicked
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

htEllipsoids

java.util.Map<java.lang.String,Ellipsoids.Ellipsoid> htEllipsoids

haveEllipsoids

boolean haveEllipsoids

ellipsoid

Ellipsoids.Ellipsoid ellipsoid

crtval

private static float[] crtval
Constructor Detail

Ellipsoids

public Ellipsoids()
Method Detail

getProperty

public boolean getProperty(java.lang.String property,
                           java.lang.Object[] data)
Overrides:
getProperty in class Shape
Returns:
true if serviced

getIndexFromName

public int getIndexFromName(java.lang.String thisID)
Overrides:
getIndexFromName in class Shape
Returns:
index

setSize

protected void setSize(int size,
                       java.util.BitSet bsSelected)
Overrides:
setSize in class AtomShape

setProperty

public void setProperty(java.lang.String propertyName,
                        java.lang.Object value,
                        java.util.BitSet bs)
Description copied from class: Shape
may come from any source -- executed AFTER a shape's own setProperty method

Overrides:
setProperty in class AtomShape

updateEquation

private void updateEquation(Ellipsoids.Ellipsoid ellipsoid)

getShapeState

public java.lang.String getShapeState()
Overrides:
getShapeState in class AtomShape

setVisibilityFlags

public void setVisibilityFlags(java.util.BitSet bs)
Overrides:
setVisibilityFlags in class Shape

getRadius

static final float getRadius(int prob)