org.opensourcephysics.displayejs
Class InteractiveCone

java.lang.Object
  extended by org.opensourcephysics.displayejs.AbstractInteractiveElement
      extended by org.opensourcephysics.displayejs.AbstractInteractiveTile
          extended by org.opensourcephysics.displayejs.InteractiveCylinder
              extended by org.opensourcephysics.displayejs.InteractiveCone
All Implemented Interfaces:
Drawable, Interactive, Measurable, Body, Drawable3D, HasDataObjectInterface, InteractionSource, InteractiveElement, Measurable3D

public class InteractiveCone
extends InteractiveCylinder

This class implements a general 3D cone. The user can specify the three main axes for the cone resultig, for instance in non-straight cone. The cone can be repositioned but cannot be resized.


Field Summary
 
Fields inherited from class org.opensourcephysics.displayejs.InteractiveCylinder
USER_DEFINED, X_AXIS, Y_AXIS, Z_AXIS
 
Fields inherited from class org.opensourcephysics.displayejs.AbstractInteractiveElement
SENSIBILITY
 
Fields inherited from interface org.opensourcephysics.displayejs.InteractiveElement
TARGET_POSITION, TARGET_SIZE
 
Constructor Summary
InteractiveCone()
           
InteractiveCone(int _direction)
           
 
Method Summary
 
Methods inherited from class org.opensourcephysics.displayejs.InteractiveCylinder
copyFrom, findInteractive, getDirection, getMaxAngleU, getMinAngleU, isClosedBottom, isClosedLeft, isClosedRight, isClosedTop, setClosedBottom, setClosedLeft, setClosedRight, setClosedTop, setCustomAxes, setDirection, setMaxAngleU, setMinAngleU
 
Methods inherited from class org.opensourcephysics.displayejs.AbstractInteractiveTile
draw, draw, drawQuickly, GetDisplacementFactor, getObjects3D, getXMax, getXMin, getYMax, getYMin, getZMax, getZMin, setColorBelowWhenEqual, setColorOriginAndDirection, setColorRegions, setDisplacementFactor, setDrawQuickInterior, setOrigin, setTransformation, toBodyFrame, toSpaceFrame
 
Methods inherited from class org.opensourcephysics.displayejs.AbstractInteractiveElement
addListener, canBeMeasured, getControl, getDataObject, getGroup, getResolution, getSensitivity, getSet, getSetIndex, getSizeX, getSizeY, getSizeZ, getStyle, getX, getY, getZ, initializeMemberOfSet, invokeActions, isEnabled, isEnabled, isGroupEnabled, isGroupEnabled, isMeasured, isVisible, needsToProject, removeAllListeners, removeListener, setControl, setDataObject, setEnabled, setEnabled, setGroup, setGroupEnabled, setGroupEnabled, setResolution, setSensitivity, setSet, setSizeX, setSizeXY, setSizeXYZ, setSizeY, setSizeZ, setVisible, setX, setXY, setXYZ, setY, setZ, toXML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteractiveCone

public InteractiveCone()

InteractiveCone

public InteractiveCone(int _direction)