public class IsoExt extends ScriptExt
| Constructor and Description |
|---|
IsoExt() |
| Modifier and Type | Method and Description |
|---|---|
private void |
addShapeProperty(javajs.util.Lst<Object[]> propertyList,
String key,
Object value) |
private boolean |
cgo() |
private boolean |
contact() |
private Object[] |
createFunction(String fname,
String xyz,
String ret)
for the ISOSURFACE command
|
private void |
dipole() |
String |
dispatch(int iTok,
boolean b,
T[] st) |
private void |
draw() |
private float[][] |
floatArraySet(int i,
int nX,
int nY) |
private float[][][] |
floatArraySetXYZ(int i,
int nX,
int nY,
int nZ) |
private float[] |
getAtomicPotentials(BS bsSelected,
BS bsIgnore,
String fileName) |
private Object |
getCapSlabObject(int i,
boolean isLcaoCartoon) |
private javajs.util.Lst<Object> |
getPlaneIntersection(int type,
javajs.util.P4 plane,
SymmetryInterface uc,
float scale,
int flags) |
private void |
getWithinDistanceVector(javajs.util.Lst<Object[]> propertyList,
float distance,
javajs.util.P3 ptc,
BS bs,
boolean isShow) |
private String |
initIsosurface(int iShape) |
private void |
isosurface(int iShape) |
private void |
lcaoCartoon() |
private boolean |
listIsosurface(int iShape) |
private void |
mo(boolean isInitOnly,
int iShape) |
private float[] |
moCombo(javajs.util.Lst<Object[]> propertyList) |
private int |
moOffset(int index) |
private String |
setColorOptions(javajs.util.SB sb,
int index,
int iShape,
int nAllowed) |
private void |
setMoData(javajs.util.Lst<Object[]> propertyList,
int moNumber,
float[] lc,
int offset,
boolean isNegOffset,
int modelIndex,
String title,
String nboType) |
private void |
setNBOType(Map<String,Object> moData,
String type) |
atomExpressionAt, centerParameter, checkLength, error, finalizeObject, floatParameter, getColorTrans, getPoint3f, getShapeProperty, getToken, init, intParameter, invArg, invPO, isFloatParameter, paramAsStr, setShapeId, setShapeProperty, showString, stringParameter, tokAtpublic String dispatch(int iTok, boolean b, T[] st) throws ScriptException
dispatch in class ScriptExtScriptExceptionprivate void dipole()
throws ScriptException
ScriptExceptionprivate void draw()
throws ScriptException
ScriptExceptionprivate void mo(boolean isInitOnly,
int iShape)
throws ScriptException
ScriptExceptionprivate void setNBOType(Map<String,Object> moData, String type) throws ScriptException
ScriptExceptionprivate float[] moCombo(javajs.util.Lst<Object[]> propertyList)
private int moOffset(int index)
throws ScriptException
ScriptExceptionprivate void setMoData(javajs.util.Lst<Object[]> propertyList, int moNumber, float[] lc, int offset, boolean isNegOffset, int modelIndex, String title, String nboType) throws ScriptException
ScriptExceptionprivate void isosurface(int iShape)
throws ScriptException
ScriptExceptionprivate void lcaoCartoon()
throws ScriptException
ScriptExceptionprivate boolean contact()
throws ScriptException
ScriptExceptionprivate boolean cgo()
throws ScriptException
ScriptExceptionprivate float[] getAtomicPotentials(BS bsSelected, BS bsIgnore, String fileName)
bsSelected - bsIgnore - fileName - private Object getCapSlabObject(int i, boolean isLcaoCartoon) throws ScriptException
ScriptExceptionprivate String setColorOptions(javajs.util.SB sb, int index, int iShape, int nAllowed) throws ScriptException
ScriptExceptionprivate Object[] createFunction(String fname, String xyz, String ret)
fname - xyz - ret - private void getWithinDistanceVector(javajs.util.Lst<Object[]> propertyList, float distance, javajs.util.P3 ptc, BS bs, boolean isShow)
private void addShapeProperty(javajs.util.Lst<Object[]> propertyList, String key, Object value)
private float[][][] floatArraySetXYZ(int i,
int nX,
int nY,
int nZ)
throws ScriptException
ScriptExceptionprivate float[][] floatArraySet(int i,
int nX,
int nY)
throws ScriptException
ScriptExceptionprivate String initIsosurface(int iShape) throws ScriptException
ScriptExceptionprivate boolean listIsosurface(int iShape)
throws ScriptException
ScriptExceptionprivate javajs.util.Lst<Object> getPlaneIntersection(int type, javajs.util.P4 plane, SymmetryInterface uc, float scale, int flags)
type - plane - plane to intersect, or null for just the full boxscale - uc - flags - 1 -- edges only 2 -- triangles only 3 -- both