|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectigeo.IObject
igeo.IAgent
igeo.IField
igeo.I3DField
public abstract class I3DField
3D vector filed agent.
Field Summary | |
---|---|
I3DFieldI |
field
|
Fields inherited from class igeo.IField |
---|
targetClasses |
Fields inherited from class igeo.IAgent |
---|
alive, duration, interactOverridden, localDynamics, parent, targets, time |
Fields inherited from class igeo.IObject |
---|
attribute, dynamics, graphics, parameter, server, userData |
Constructor Summary | |
---|---|
I3DField(I3DFieldI f)
|
Method Summary | |
---|---|
void |
applyField(IParticleI p)
|
I3DField |
constantIntensity(boolean b)
if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used |
I3DFieldI |
field()
|
I3DField |
gaussian(double threshold)
alias of gaussianDecay |
I3DField |
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). |
IVecI |
get(IVecI pt)
get field value at 3D location |
double |
intensity()
get output intensity |
I3DField |
intensity(double i)
set output intensity |
I3DField |
linear(double threshold)
alias of linearDecay |
I3DField |
linearDecay(double threshold)
set linear decay with threshold; When distance is equal to threshold, output is zero. |
I3DField |
noDecay()
set no decay |
double |
threshold()
get decay threshold |
I3DField |
threshold(double t)
set decay threshold |
Methods inherited from class igeo.IField |
---|
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, weight |
Methods inherited from class igeo.IAgent |
---|
addDynamics, alive, del, 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, updateTarget |
Methods inherited from class igeo.IObject |
---|
alpha, alphaInt, attr, attr, attr, awtColor, blue, blueInt, clearDynamics, clearGraphics, clr, cp, createGraphic, deleteGraphic, dup, getAWTColor, getColor, getGraphic, getGraphic, getParameter, graphicsNum, gray, grayInt, green, greenInt, greyInt, initGraphic, initObject, isValid, isVisible, layer, layer, name, red, redInt, resetGraphic, server, setColor, setColor, setParameter, syncColor, syncGraphic, syncWeight, userData, userData, visible, weight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public I3DFieldI field
Constructor Detail |
---|
public I3DField(I3DFieldI f)
Method Detail |
---|
public IVecI get(IVecI pt)
I3DFieldI
get
in interface I3DFieldI
get
in interface IFieldI
public void applyField(IParticleI p)
applyField
in class IField
public I3DFieldI field()
public I3DField noDecay()
noDecay
in interface IFieldI
public I3DField linearDecay(double threshold)
linearDecay
in interface IFieldI
public I3DField linear(double threshold)
linear
in interface IFieldI
public I3DField gaussianDecay(double threshold)
gaussianDecay
in interface IFieldI
public I3DField gaussian(double threshold)
gaussian
in interface IFieldI
public I3DField constantIntensity(boolean b)
constantIntensity
in interface IFieldI
public I3DField threshold(double t)
threshold
in interface IFieldI
public double threshold()
threshold
in interface IFieldI
public I3DField intensity(double i)
intensity
in interface IFieldI
public double intensity()
intensity
in interface IFieldI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |