| A B C D E F G H I J K L M N O P Q R S T U V W X Y Z | |
| AABR — Class in package org.MARS.dynamics.collision.geom | |
|
Axis-Aligned Bounding Rectangle
An AABR is a rectangle with 2 sides parallel to the world x-axis and the other 2 parallel to the world y-axis. |
|
| AABR(minX, minY, maxX, maxY) — Constructor in class org.MARS.dynamics.collision.geom.AABR | |
| AABRDetector — Class in package org.MARS.dynamics.collision.coarse | |
| Coarsely detects possible collisions depending on AABRs | |
| AABRDetector() — Constructor in class org.MARS.dynamics.collision.coarse.AABRDetector | |
Creates a new AABRDetector for use in collision culling by PhysicsEngine
|
|
| AbstractElectronicDevice — Class in package org.MARS.robot.control | |
| An abstract class defining the basic functionality of the electronic devices, such as getting the states of the IO ports | |
| AbstractElectronicDevice(numberOfPorts, portDirection) — Constructor in class org.MARS.robot.control.AbstractElectronicDevice | |
| Creates an electronic device with a certain number of IO ports. | |
| ABSTRACT_PARTICLE — Constant static property in class org.MARS.dynamics.collision.enum.CollisionType | |
| AbstractSensor — Class in package org.MARS.robot.sensors | |
|
Implements the basic sensor functionality
NOTE: the abstract classes cannot be instantiated |
|
| AbstractSensor(shape:org.MARS.view.shape:Shape) — Constructor in class org.MARS.robot.sensors.AbstractSensor | |
| Creates a sensor with the given shape | |
| AbstractSolver — Class in package org.MARS.dynamics.ode.solver | |
|
Abstracts an implementation of IODESolver
NOTE: you should not instantiate this class |
|
| AbstractSolver(ode:org.MARS.dynamics.ode:IODE) — Constructor in class org.MARS.dynamics.ode.solver.AbstractSolver | |
| Constructs a new AbstractSolver | |
| accumulateForces() — Method in interface org.MARS.dynamics.element.ISimulatable | |
| Accumulates forces from all IForceGenerators | |
| accumulateForces() — Method in class org.MARS.dynamics.element.particle.SimpleParticle | |
| Accumulates forces | |
| action() — Method in interface org.MARS.robot.actuators.IActuator | |
| The function which is called on every step of the physics engine. | |
| action() — Method in class org.MARS.robot.actuators.LED | |
| The function which is called on every step of the physics engine. | |
| actuators — Property in class org.MARS.robot.Robot | |
| Robot's actuators | |
| addActuator(actuator:org.MARS.robot.actuators:IActuator) — Method in class org.MARS.robot.Robot | |
| Add the provided actuator to the robot | |
| addCollidable(collidable:org.MARS.view.shape:Shape) — Method in class org.MARS.dynamics.PhysicsEngine | |
| Adds a collidable element to the engine. | |
| addCollidable(collidable:org.MARS.view.shape:Shape) — Method in interface org.MARS.dynamics.collision.ICoarseCollisionDetector | |
| Adds a collidable element to detect for collision | |
| addCollidable(collidable:org.MARS.view.shape:Shape) — Method in class org.MARS.dynamics.collision.coarse.AABRDetector | |
| Adds a collidable element to detect for collision | |
| addDynamicObject(object:org.MARS.dynamics.element:IBody, isDetectable) — Method in class org.MARS.simulation.Environment | |
| Adds a dynamical (movable) object to the Simulation | |
| addElement(element:org.MARS.dynamics.element:ISimulatable, collide, render, solver:org.MARS.dynamics.ode:IODESolver) — Method in class org.MARS.simulation.Simulation | |
|
Adds an element to the simulation
This will probably be the most used method- it handles a lot of the logic necessary to give the user a lot of control without worrying about dividing up the element to its respective places in the application. |
|
| addForce(force:org.MARS.math:Vector) — Method in interface org.MARS.dynamics.element.ISimulatable | |
| Adds a force to the element (Acceleration = Force / Mass) | |
| addForce(force:org.MARS.math:Vector) — Method in class org.MARS.dynamics.element.particle.SimpleParticle | |
| Adds a force to the particle | |
| addForceAtPoint(point:org.MARS.math:Vector, force:org.MARS.math:Vector) — Method in interface org.MARS.dynamics.element.IBody | |
| Adds force at a specific point on the body (affects linear and (possibly) angular momentum) | |
| addForceAtPoint(point:org.MARS.math:Vector, force:org.MARS.math:Vector) — Method in class org.MARS.dynamics.element.body.RigidBody | |
|
Adds a force at a specific point on the body
IF the point specified is not the center of mass (0,0), the force will induce a change in angular velocity as well as linear. |
|
| addForceGenerator(generator:org.MARS.dynamics.force:IForceGenerator) — Method in interface org.MARS.dynamics.element.ISimulatable | |
| Adds an IForceGenerator to the element | |
| addForceGenerator(generator:org.MARS.dynamics.force:IForceGenerator) — Method in class org.MARS.dynamics.element.particle.SimpleParticle | |
| Adds a force generator to influence this particle | |
| addGlobalForceGenerator(forceGenerator:org.MARS.dynamics.force:IForceGenerator, applyToExisting) — Method in class org.MARS.simulation.Simulation | |
|
Adds a global force to the simulation
This force will be added to all future and current (as defined by applyToExisting) elements |
|
| addLineShape(start:org.MARS.math:Vector, end:org.MARS.math:Vector, width) — Method in class org.MARS.simulation.Environment | |
| Adds a line to the table's surface | |
| addODESolver(solver:org.MARS.dynamics.ode:IODESolver) — Method in class org.MARS.dynamics.PhysicsEngine | |
| Adds an IODESolver to the engine. | |
| addRenderable(renderable:org.MARS.view:Renderable) — Method in class org.MARS.simulation.Simulation | |
| Adds a renderable element to the renderer | |
| addRenderable(renderable:org.MARS.view:Renderable) — Method in interface org.MARS.view.IRenderer | |
| Adds a renderable element to the renderer | |
| addRenderable(renderable:org.MARS.view:Renderable) — Method in class org.MARS.view.MARSRenderer | |
| Adds a renderable element to the renderer | |
| addRobot(robot:org.MARS.robot:Robot) — Method in class org.MARS.simulation.Environment | |
| Adds the robot to the Simulation | |
| addSensor(sensor:org.MARS.robot.sensors:ISensor) — Method in class org.MARS.robot.Robot | |
| Add the provided sensor to the robot | |
| addTableShape(shape:org.MARS.view.shape:Shape) — Method in class org.MARS.simulation.Environment | |
| Adds a table shape. | |
| addToEnvironment() — Method in class org.MARS.robot.Robot | |
| Simple way to attach the robot to the Environment for simulation | |
| addTorque(torque) — Method in interface org.MARS.dynamics.element.IBody | |
| Adds torque to the body | |
| addTorque(torque) — Method in class org.MARS.dynamics.element.body.RigidBody | |
|
Adds torque to the body
This is the rotational equivalent to adding a force |
|
| addWallShape(shape:org.MARS.view.shape:Shape) — Method in class org.MARS.simulation.Environment | |
| Adds a wall to the Simulation | |
| alpha — Property in class org.MARS.view.shape.Shape | |
| Shape's transparency (0 to 1) | |
| _anchor — Property in class org.MARS.view.shape.Shape | |
| The object to which the shape is attached | |
| anchor — Property in class org.MARS.view.shape.Shape | |
| auxillaryCanvas — Property in class org.MARS.view.MARSRenderer | |
| av — Property in interface org.MARS.dynamics.element.IBody | |
| Gets the angular velocity of the body | |
| av — Property in class org.MARS.dynamics.element.body.RigidBody | |
| AVERAGE_MASS — Constant static property in class org.MARS.dynamics.enum.Simplification | |
| AxisProjection — Class in package org.MARS.dynamics.collision.fine.sat | |
| AxisProjection() — Constructor in class org.MARS.dynamics.collision.fine.sat.AxisProjection | |
| A B C D E F G H I J K L M N O P Q R S T U V W X Y Z | |