|
||||||||
| 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.ILinkedNodeMeshField
public class ILinkedNodeMeshField
3D vector filed defined by normal vector of mesh vertices
| Nested Class Summary | |
|---|---|
static class |
ILinkedNodeMeshField.ILinkedNodeMeshFieldGeo
|
| Field Summary |
|---|
| 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 | |
|---|---|
ILinkedNodeMeshField(IMeshI m)
|
|
| Method Summary | |
|---|---|
ILinkedNodeMeshField |
addForce(int vertexIndex,
IVecI force)
|
ILinkedNodeMeshField |
bidirectional(boolean b)
if bidirectional is on, field force vector is flipped when velocity of particle is going opposite |
ILinkedNodeMeshField |
constantIntensity(boolean b)
if output vector is besed on constant length (intensity) or variable depending geometry when curve or surface tangent is used |
ILinkedNodeMeshField |
decay(IDecay decay,
double threshold)
custom decay |
ILinkedNodeMeshField |
gauss(double threshold)
alias of gaussianDecay |
ILinkedNodeMeshField |
gaussian(double threshold)
alias of gaussianDecay |
ILinkedNodeMeshField |
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 |
getForce(int vertexIndex)
|
ILinkedNodeMeshField |
intensity(double i)
set output intensity |
ILinkedNodeMeshField |
linear(double threshold)
alias of linearDecay |
ILinkedNodeMeshField |
linearDecay(double threshold)
set linear decay with threshold; When distance is equal to threshold, output is zero. |
ILinkedNodeMeshField |
linkFriction(double fric)
|
ILinkedNodeMeshField |
linkFriction(int vertexIndex,
double fric)
|
ILinkedNodeMeshField |
noDecay()
set no decay |
ILinkedNodeMeshField |
setForce(int vertexIndex,
IVecI force)
|
ILinkedNodeMeshField |
showVector()
|
ILinkedNodeMeshField |
threshold(double t)
set decay threshold |
| Methods inherited from class igeo.I3DField |
|---|
applyField, del, del, field, get, get, intensity, 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, 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 |
|---|
addUserData, 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, syncColor, syncGraphic, syncVisibility, syncWeight, userData, userData, userData, userDataNum, visible, weight |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ILinkedNodeMeshField(IMeshI m)
| Method Detail |
|---|
public IVecI getForce(int vertexIndex)
public ILinkedNodeMeshField setForce(int vertexIndex,
IVecI force)
public ILinkedNodeMeshField addForce(int vertexIndex,
IVecI force)
public ILinkedNodeMeshField showVector()
public ILinkedNodeMeshField linkFriction(double fric)
public ILinkedNodeMeshField linkFriction(int vertexIndex,
double fric)
public ILinkedNodeMeshField noDecay()
I3DField
noDecay in interface IFieldInoDecay in class I3DFieldpublic ILinkedNodeMeshField linearDecay(double threshold)
I3DField
linearDecay in interface IFieldIlinearDecay in class I3DFieldpublic ILinkedNodeMeshField linear(double threshold)
I3DField
linear in interface IFieldIlinear in class I3DFieldpublic ILinkedNodeMeshField gaussianDecay(double threshold)
I3DField
gaussianDecay in interface IFieldIgaussianDecay in class I3DFieldpublic ILinkedNodeMeshField gaussian(double threshold)
I3DField
gaussian in interface IFieldIgaussian in class I3DFieldpublic ILinkedNodeMeshField gauss(double threshold)
I3DField
gauss in interface IFieldIgauss in class I3DField
public ILinkedNodeMeshField decay(IDecay decay,
double threshold)
I3DField
decay in interface IFieldIdecay in class I3DFieldpublic ILinkedNodeMeshField constantIntensity(boolean b)
I3DField
constantIntensity in interface IFieldIconstantIntensity in class I3DFieldpublic ILinkedNodeMeshField bidirectional(boolean b)
bidirectional in interface IFieldIbidirectional in class I3DFieldpublic ILinkedNodeMeshField threshold(double t)
I3DField
threshold in interface IFieldIthreshold in class I3DFieldpublic ILinkedNodeMeshField intensity(double i)
I3DField
intensity in interface IFieldIintensity in class I3DField
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||