org.opensourcephysics.displayejs
Class InteractivePlane

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

public class InteractivePlane
extends AbstractInteractiveTile


Field Summary
 
Fields inherited from class org.opensourcephysics.displayejs.AbstractInteractiveElement
SENSIBILITY
 
Fields inherited from interface org.opensourcephysics.displayejs.InteractiveElement
TARGET_POSITION, TARGET_SIZE
 
Constructor Summary
InteractivePlane()
           
 
Method Summary
 void copyFrom(InteractiveElement _element)
           
 void setVectorU(double ux, double uy, double uz)
          Set the first director vector of the plane
 void setVectorV(double vx, double vy, double vz)
          Set the second director vector of the plane
 
Methods inherited from class org.opensourcephysics.displayejs.AbstractInteractiveTile
draw, draw, drawQuickly, findInteractive, 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

InteractivePlane

public InteractivePlane()
Method Detail

copyFrom

public void copyFrom(InteractiveElement _element)
Specified by:
copyFrom in interface InteractiveElement
Overrides:
copyFrom in class AbstractInteractiveTile

setVectorU

public void setVectorU(double ux,
                       double uy,
                       double uz)
Set the first director vector of the plane


setVectorV

public void setVectorV(double vx,
                       double vy,
                       double vz)
Set the second director vector of the plane