public class I2DMapField extends I2DField
targetClassesalive, duration, interactOverridden, localDynamics, parent, targets, time| Constructor and Description |
|---|
I2DMapField(IMap map,
double left,
double bottom,
double right,
double top) |
I2DMapField(IMap map,
IVec corner,
double width,
double height) |
I2DMapField(java.lang.String imageFile,
double left,
double bottom,
double right,
double top) |
I2DMapField(java.lang.String imageFile,
IVec corner,
double width,
double height) |
| Modifier and Type | Method and Description |
|---|---|
I2DMapField |
bidirectional(boolean b)
if bidirectional is on, field force vector is flipped when velocity of particle is going opposite
|
I2DMapField |
constantIntensity(boolean b)
if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used
|
I2DMapField |
decay(IDecay decay,
double threshold)
custom decay
|
I2DMapField |
gauss(double threshold)
alias of gaussianDecay
|
I2DMapField |
gaussian(double threshold)
alias of gaussianDecay
|
I2DMapField |
gaussianDecay(double threshold)
set Gaussian decay with threshold; Threshold is used as double of standard deviation (when distance is eqaul to threshold, output is 13.5% of original).
|
I2DMapField |
intensity(double i)
set output intensity
|
I2DMapField |
linear(double threshold)
alias of linearDecay
|
I2DMapField |
linearDecay(double threshold)
set linear decay with threshold; When distance is equal to threshold, output is zero.
|
I2DMapField |
noDecay()
set no decay
|
I2DMapField |
threshold(double t)
set decay threshold
|
applyField, del, del, field, get, get, intensity, thresholdclr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, clr, hide, hsb, hsb, hsb, hsb, interact, isTarget, isTargetClass, layer, name, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setColor, setHSBColor, setHSBColor, setHSBColor, setHSBColor, show, target, target, targetClass, targetClass, weight, weightaddDynamics, alive, deletDynamics, deleteDynamics, deleteDynamics, duration, duration, dynamicsNum, getDynamics, initAgent, interact, localDynamics, parent, parent, postinteract, postupdate, preinteract, preupdate, removeTarget, removeTarget, setColor, setColor, setColor, setColor, target, target, targetNum, targets, time, time, update, updateGraphic, updateTargetaddUserData, addUserData, alpha, alphaInt, attr, attr, attr, awtColor, blue, blueInt, brightness, castStringHashMap, clearDynamics, clearGraphics, clr, cp, createGraphic, defaultAttribute, deleteGraphic, dup, getAWTColor, getColor, getGraphic, getGraphic, getParameter, graphicsNum, gray, grayInt, green, greenInt, grey, greyInt, hue, initGraphic, initObject, isValid, isVisible, layer, layer, name, red, redInt, resetGraphic, saturation, server, setColor, setColor, setParameter, setTexture, syncColor, syncGraphic, syncVisibility, syncWeight, texture, userData, userData, userData, userDataNum, visible, weightpublic I2DMapField(IMap map, double left, double bottom, double right, double top)
public I2DMapField(java.lang.String imageFile,
IVec corner,
double width,
double height)
public I2DMapField(java.lang.String imageFile,
double left,
double bottom,
double right,
double top)
public I2DMapField noDecay()
I2DFieldpublic I2DMapField linearDecay(double threshold)
I2DFieldlinearDecay in interface IFieldIlinearDecay in class I2DFieldpublic I2DMapField linear(double threshold)
I2DFieldpublic I2DMapField gaussianDecay(double threshold)
I2DFieldgaussianDecay in interface IFieldIgaussianDecay in class I2DFieldpublic I2DMapField gaussian(double threshold)
I2DFieldpublic I2DMapField gauss(double threshold)
IFieldIpublic I2DMapField decay(IDecay decay, double threshold)
I2DFieldpublic I2DMapField constantIntensity(boolean b)
I2DFieldconstantIntensity in interface IFieldIconstantIntensity in class I2DFieldpublic I2DMapField bidirectional(boolean b)
bidirectional in interface IFieldIbidirectional in class I2DFieldpublic I2DMapField threshold(double t)
I2DField