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() |
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
|
java.lang.Object |
getBitsetIdent(BS bs,
java.lang.String label,
java.lang.Object tokenValue,
boolean useAtomMap,
int index,
boolean isExplicitlyAll) |
float[] |
getBitsetPropertyFloat(BS bs,
int tok,
java.lang.String property,
float min,
float max) |
private java.lang.String |
getContext(boolean withVariables) |
private java.lang.String |
getIsosurfaceJvxl(boolean asMesh,
int iShape) |
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 java.lang.Object |
getShapePropertyIndex(int shapeType,
java.lang.String propertyName,
int index) |
private void |
image() |
private void |
macro() |
private void |
mapProperty() |
private void |
measure() |
private void |
minimize() |
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 boolean |
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, getColorTrans, getPoint3f, getShapeProperty, getToken, init, intParameter, invArg, invPO, isFloatParameter, paramAsStr, setShapeId, setShapeProperty, showString, stringParameter, tokAt
static final int ERROR_invalidArgument
public java.lang.String dispatch(int iTok, boolean b, T[] st) throws ScriptException
dispatch
in class ScriptExt
ScriptException
private void macro() throws ScriptException
ScriptException
public boolean evalParallel(ScriptContext context, ShapeManager shapeManager)
context
- shapeManager
- public java.lang.Object getBitsetIdent(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
ScriptException
private int checkPacked(int i, java.util.Map<java.lang.String,java.lang.Object> htParams, javajs.util.SB sOptions) throws ScriptException
i
- htParams
- sOptions
- ScriptException
private void cache() throws ScriptException
ScriptException
private void calculate() throws ScriptException
ScriptException
private void capture() throws ScriptException
ScriptException
private void centerAt() throws ScriptException
ScriptException
private void compare() throws ScriptException
ScriptException
private void configuration() throws ScriptException
ScriptException
private void measure() throws ScriptException
ScriptException
private void connect(int index) throws ScriptException
index
- 0 indicates hbond commandScriptException
private void console() throws ScriptException
ScriptException
private void data() throws ScriptException
ScriptException
private void ellipsoid() throws ScriptException
ScriptException
private void image() throws ScriptException
ScriptException
private void mapProperty() throws ScriptException
ScriptException
private void minimize() throws ScriptException
ScriptException
private void modulation() throws ScriptException
ScriptException
private void mutate() throws ScriptException
ScriptException
private void navigate() throws ScriptException
ScriptException
private java.lang.String plot(T[] args) throws ScriptException
ScriptException
private boolean polyhedra() throws ScriptException
ScriptException
private java.lang.String write(T[] args) throws ScriptException
args
- ScriptException
public javajs.util.Lst<java.lang.Object> prepareBinaryOutput(SV tvar)
private java.lang.String writeMsg(java.lang.String msg) throws ScriptException
ScriptException
private void show() throws ScriptException
ScriptException
private void stereo() throws ScriptException
ScriptException
private boolean struts() throws ScriptException
ScriptException
private void unitcell(int i) throws ScriptException
ScriptException
private void assign() throws ScriptException
ScriptException
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 java.lang.String getContext(boolean withVariables)
private java.lang.String getIsosurfaceJvxl(boolean asMesh, int iShape)
private java.lang.String getMoJvxl(int ptMO, boolean isNBO) throws ScriptException
ScriptException
private java.lang.String getScriptID(ScriptContext context)
private java.lang.Object getShapePropertyIndex(int shapeType, java.lang.String propertyName, int index)
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(BS bs, int tok, java.lang.String property, float min, float max) throws ScriptException
ScriptException