public class CmdExt extends ScriptExt
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
ERROR_invalidArgument |
| Constructor and Description |
|---|
CmdExt() |
| Modifier and Type | Method and Description |
|---|---|
private void |
assign(int i) |
private void |
assignAtom(int atomIndex,
javajs.util.P3 pt,
java.lang.String type) |
private void |
assignBond(int bondIndex,
char type) |
private void |
assignConnect(int index,
int index2) |
private void |
cache() |
private void |
calculate() |
private void |
capture() |
private void |
centerAt() |
private int |
checkPacked(int i,
java.util.Map<java.lang.String,java.lang.Object> htParams,
javajs.util.SB sOptions)
Process FILL and PACKED and all their variants.
|
private void |
compare() |
private void |
configuration() |
private void |
connect(int index) |
private void |
console() |
private void |
data() |
java.lang.String |
dispatch(int iTok,
boolean b,
T[] st) |
private void |
ellipsoid() |
boolean |
evalParallel(ScriptContext context,
ShapeManager shapeManager)
used for TRY command
|
private java.lang.String |
filterShow(java.lang.String msg,
java.lang.String name) |
java.lang.Object |
getBitsetIdent(javajs.util.BS bs,
java.lang.String label,
java.lang.Object tokenValue,
boolean useAtomMap,
int index,
boolean isExplicitlyAll) |
float[] |
getBitsetPropertyFloat(javajs.util.BS bs,
int tok,
java.lang.String property,
float min,
float max) |
private java.lang.String |
getContext(boolean withVariables) |
private java.lang.Object |
getIsosurfaceJvxl(int iShape,
java.lang.String type) |
int |
getLoadSymmetryParams(int i,
javajs.util.SB sOptions,
java.util.Map<java.lang.String,java.lang.Object> htParams) |
private java.lang.String |
getMoJvxl(int ptMO,
boolean isNBO) |
private float |
getPlotMinMax(float[] data,
boolean isMax,
int tok) |
private java.lang.String |
getScriptID(ScriptContext context) |
private void |
image() |
private void |
invertSelected() |
private void |
macro() |
private void |
mapProperty() |
private void |
measure() |
private void |
minimize() |
private void |
modelkit()
Configure the ModelKitPopup for Crystallographic symmetry viewing and
structure editing
new 14.29.45
see modelkit.ModelKitPopup.java
|
private void |
modulation()
Allows for setting one or more specific t-values as well as full unit-cell
shifts (multiples of q).
|
private void |
mutate() |
private void |
navigate() |
private java.lang.Object |
parseDataArray(java.lang.String str,
boolean is3D) |
private java.lang.String |
plot(T[] args) |
private void |
polyhedra() |
javajs.util.Lst<java.lang.Object> |
prepareBinaryOutput(SV tvar) |
private void |
show() |
private void |
stereo() |
private boolean |
struts() |
private static int |
tokAtArray(int i,
T[] args) |
private T |
tokenAt(int i,
T[] args) |
private void |
unitcell(int i) |
private java.lang.String |
write(T[] args) |
private java.lang.String |
writeMsg(java.lang.String msg) |
atomExpressionAt, centerParameter, checkLength, error, finalizeObject, floatParameter, getAllPoints, getColorTrans, getIntArray2, getPoint3f, getShapeProperty, getToken, init, intParameter, invArg, invPO, isFloatParameter, paramAsStr, setShapeId, setShapeProperty, showString, stringParameter, tokAtstatic final int ERROR_invalidArgument
public java.lang.String dispatch(int iTok,
boolean b,
T[] st)
throws ScriptException
dispatch in class ScriptExtScriptExceptionprivate void modelkit()
throws ScriptException
ScriptExceptionprivate void macro()
throws ScriptException
ScriptExceptionpublic boolean evalParallel(ScriptContext context, ShapeManager shapeManager)
context - shapeManager - public java.lang.Object getBitsetIdent(javajs.util.BS bs,
java.lang.String label,
java.lang.Object tokenValue,
boolean useAtomMap,
int index,
boolean isExplicitlyAll)
public int getLoadSymmetryParams(int i,
javajs.util.SB sOptions,
java.util.Map<java.lang.String,java.lang.Object> htParams)
throws ScriptException
ScriptExceptionprivate int checkPacked(int i,
java.util.Map<java.lang.String,java.lang.Object> htParams,
javajs.util.SB sOptions)
throws ScriptException
i - htParams - sOptions - ScriptExceptionprivate void cache()
throws ScriptException
ScriptExceptionprivate void calculate()
throws ScriptException
ScriptExceptionprivate void capture()
throws ScriptException
ScriptExceptionprivate void centerAt()
throws ScriptException
ScriptExceptionprivate void compare()
throws ScriptException
ScriptExceptionprivate void configuration()
throws ScriptException
ScriptExceptionprivate void measure()
throws ScriptException
ScriptExceptionprivate void connect(int index)
throws ScriptException
index - 0 indicates hbond commandScriptExceptionprivate void console()
throws ScriptException
ScriptExceptionprivate void data()
throws ScriptException
ScriptExceptionprivate void ellipsoid()
throws ScriptException
ScriptExceptionprivate void image()
throws ScriptException
ScriptExceptionprivate void invertSelected()
throws ScriptException
ScriptExceptionprivate void mapProperty()
throws ScriptException
ScriptExceptionprivate void minimize()
throws ScriptException
ScriptExceptionprivate void modulation()
throws ScriptException
ScriptExceptionprivate void mutate()
throws ScriptException
ScriptExceptionprivate void navigate()
throws ScriptException
ScriptExceptionprivate java.lang.String plot(T[] args) throws ScriptException
ScriptExceptionprivate void polyhedra()
throws ScriptException
ScriptExceptionprivate java.lang.String write(T[] args) throws ScriptException
args - ScriptExceptionpublic javajs.util.Lst<java.lang.Object> prepareBinaryOutput(SV tvar)
private java.lang.String writeMsg(java.lang.String msg)
throws ScriptException
ScriptExceptionprivate void show()
throws ScriptException
ScriptExceptionprivate java.lang.String filterShow(java.lang.String msg,
java.lang.String name)
private void stereo()
throws ScriptException
ScriptExceptionprivate boolean struts()
throws ScriptException
ScriptExceptionprivate void unitcell(int i)
throws ScriptException
ScriptExceptionprivate void assign(int i)
throws ScriptException
ScriptExceptionprivate void assignAtom(int atomIndex,
javajs.util.P3 pt,
java.lang.String type)
private void assignBond(int bondIndex,
char type)
private void assignConnect(int index,
int index2)
private java.lang.String getContext(boolean withVariables)
private java.lang.Object getIsosurfaceJvxl(int iShape,
java.lang.String type)
private java.lang.String getMoJvxl(int ptMO,
boolean isNBO)
throws ScriptException
ScriptExceptionprivate java.lang.String getScriptID(ScriptContext context)
private static int tokAtArray(int i,
T[] args)
private float getPlotMinMax(float[] data,
boolean isMax,
int tok)
private java.lang.Object parseDataArray(java.lang.String str,
boolean is3D)
public float[] getBitsetPropertyFloat(javajs.util.BS bs,
int tok,
java.lang.String property,
float min,
float max)
throws ScriptException
ScriptException