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,
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,
Map<String,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() |
String |
dispatch(int iTok,
boolean b,
T[] st) |
private void |
ellipsoid() |
boolean |
evalParallel(ScriptContext context,
ShapeManager shapeManager)
used for TRY command
|
private String |
filterShow(String msg,
String name) |
Object |
getBitsetIdent(BS bs,
String label,
Object tokenValue,
boolean useAtomMap,
int index,
boolean isExplicitlyAll) |
float[] |
getBitsetPropertyFloat(BS bs,
int tok,
String property,
float min,
float max) |
private String |
getContext(boolean withVariables) |
private String |
getIsosurfaceJvxl(boolean asMesh,
int iShape) |
int |
getLoadSymmetryParams(int i,
javajs.util.SB sOptions,
Map<String,Object> htParams) |
private String |
getMoJvxl(int ptMO,
boolean isNBO) |
private float |
getPlotMinMax(float[] data,
boolean isMax,
int tok) |
private String |
getScriptID(ScriptContext context) |
private Object |
getShapePropertyIndex(int shapeType,
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 Object |
parseDataArray(String str,
boolean is3D) |
private String |
plot(T[] args) |
private void |
polyhedra() |
javajs.util.Lst<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 String |
write(T[] args) |
private String |
writeMsg(String msg) |
atomExpressionAt, centerParameter, checkLength, error, finalizeObject, floatParameter, getColorTrans, getPoint3f, getShapeProperty, getToken, init, intParameter, invArg, invPO, isFloatParameter, paramAsStr, setShapeId, setShapeProperty, showString, stringParameter, tokAtstatic final int ERROR_invalidArgument
public String dispatch(int iTok, boolean b, T[] st) throws ScriptException
dispatch in class ScriptExtScriptExceptionprivate void macro()
throws ScriptException
ScriptExceptionpublic boolean evalParallel(ScriptContext context, ShapeManager shapeManager)
context - shapeManager - public Object getBitsetIdent(BS bs, String label, Object tokenValue, boolean useAtomMap, int index, boolean isExplicitlyAll)
public int getLoadSymmetryParams(int i,
javajs.util.SB sOptions,
Map<String,Object> htParams)
throws ScriptException
ScriptExceptionprivate int checkPacked(int i,
Map<String,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 mapProperty()
throws ScriptException
ScriptExceptionprivate void minimize()
throws ScriptException
ScriptExceptionprivate void modulation()
throws ScriptException
ScriptExceptionprivate void mutate()
throws ScriptException
ScriptExceptionprivate void navigate()
throws ScriptException
ScriptExceptionprivate String plot(T[] args) throws ScriptException
ScriptExceptionprivate void polyhedra()
throws ScriptException
ScriptExceptionprivate String write(T[] args) throws ScriptException
args - ScriptExceptionprivate String writeMsg(String msg) throws ScriptException
ScriptExceptionprivate void show()
throws ScriptException
ScriptExceptionprivate void stereo()
throws ScriptException
ScriptExceptionprivate boolean struts()
throws ScriptException
ScriptExceptionprivate void unitcell(int i)
throws ScriptException
ScriptExceptionprivate void assign()
throws ScriptException
ScriptExceptionprivate void assignAtom(int atomIndex,
javajs.util.P3 pt,
String type)
private void assignBond(int bondIndex,
char type)
private void assignConnect(int index,
int index2)
private String getContext(boolean withVariables)
private String getIsosurfaceJvxl(boolean asMesh, int iShape)
private String getMoJvxl(int ptMO, boolean isNBO) throws ScriptException
ScriptExceptionprivate String getScriptID(ScriptContext context)
private Object getShapePropertyIndex(int shapeType, String propertyName, int index)
private static int tokAtArray(int i,
T[] args)
private float getPlotMinMax(float[] data,
boolean isMax,
int tok)
public float[] getBitsetPropertyFloat(BS bs, int tok, String property, float min, float max) throws ScriptException
ScriptException