com.yobotics.simulationconstructionset.util.perturbance
Class ApplyPerturbanceViaMouseListener

java.lang.Object
  extended by com.yobotics.simulationconstructionset.util.perturbance.ApplyPerturbanceViaMouseListener
All Implemented Interfaces:
Clicked3DPointListener, RobotControlElement, RobotController, java.io.Serializable

public class ApplyPerturbanceViaMouseListener
extends java.lang.Object
implements RobotController, Clicked3DPointListener

See Also:
Serialized Form

Constructor Summary
ApplyPerturbanceViaMouseListener(Robot launchedBallsRobot, YoFramePoint ballTarget, YoFrameVector ballTargetVelocity, DirectedPerturbance directedPerturbance, int numberOfBallsAvailable)
           
 
Method Summary
 void clicked3DPoint(java.awt.event.MouseEvent mouseEvent, javax.vecmath.Point3d intersectionPosition, javax.vecmath.Point3d cameraPosition, javax.vecmath.Point3d fixPosition)
           
 void doControl()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 YoVariableRegistry getYoVariableRegistry()
           
 void handleClick(javax.vecmath.Point3d intersectionPosition, javax.vecmath.Point3d cameraPosition, javax.vecmath.Point3d fixPosition)
           
 void initialize()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplyPerturbanceViaMouseListener

public ApplyPerturbanceViaMouseListener(Robot launchedBallsRobot,
                                        YoFramePoint ballTarget,
                                        YoFrameVector ballTargetVelocity,
                                        DirectedPerturbance directedPerturbance,
                                        int numberOfBallsAvailable)
Method Detail

doControl

public void doControl()
Specified by:
doControl in interface RobotController

handleClick

public void handleClick(javax.vecmath.Point3d intersectionPosition,
                        javax.vecmath.Point3d cameraPosition,
                        javax.vecmath.Point3d fixPosition)

clicked3DPoint

public void clicked3DPoint(java.awt.event.MouseEvent mouseEvent,
                           javax.vecmath.Point3d intersectionPosition,
                           javax.vecmath.Point3d cameraPosition,
                           javax.vecmath.Point3d fixPosition)
Specified by:
clicked3DPoint in interface Clicked3DPointListener

getYoVariableRegistry

public YoVariableRegistry getYoVariableRegistry()
Specified by:
getYoVariableRegistry in interface RobotControlElement

getName

public java.lang.String getName()
Specified by:
getName in interface RobotControlElement

initialize

public void initialize()
Specified by:
initialize in interface RobotControlElement

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface RobotControlElement