|
||||||||
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
igeo.ICompoundField
public class ICompoundField
manage multiple fields; included field should be point / curve / surface based field because it needs to measure distance to check which is closest.
Field Summary | |
---|---|
java.util.ArrayList<ICurveFieldGeo> |
curveFields
|
java.util.ArrayList<I3DFieldI> |
otherFields
|
java.util.ArrayList<IPointFieldGeo> |
pointFields
|
java.util.ArrayList<ISurfaceFieldGeo> |
surfaceFields
|
Fields inherited from class igeo.I3DField |
---|
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 | |
---|---|
ICompoundField()
|
Method Summary | |
---|---|
ICompoundField |
add(I3DFieldI field)
|
IVecI |
get(IVecI pt)
get field value at 3D location |
IVecI |
get(IVecI pt,
IVecI vel)
default field vector ignoreing velocity |
ICompoundField |
remove(I3DFieldI field)
|
Methods inherited from class igeo.I3DField |
---|
applyField, bidirectional, constantIntensity, del, del, field, gauss, gaussian, gaussianDecay, intensity, intensity, linear, linearDecay, noDecay, threshold, 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, 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, defaultAttribute, 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, syncVisibility, 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 java.util.ArrayList<IPointFieldGeo> pointFields
public java.util.ArrayList<ICurveFieldGeo> curveFields
public java.util.ArrayList<ISurfaceFieldGeo> surfaceFields
public java.util.ArrayList<I3DFieldI> otherFields
Constructor Detail |
---|
public ICompoundField()
Method Detail |
---|
public ICompoundField add(I3DFieldI field)
public ICompoundField remove(I3DFieldI field)
public IVecI get(IVecI pt)
I3DFieldI
get
in interface I3DFieldI
get
in interface IFieldI
get
in class I3DField
public IVecI get(IVecI pt, IVecI vel)
IField
get
in interface I3DFieldI
get
in interface IFieldI
get
in class I3DField
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |