resetLastRes.append(":" + chain);
}
- eval.append(";wireframe 100");//;color gold
+ eval.append(";wireframe 100;"+eval.toString()+".CA;");
- Color col = new Color(viewer.getAtomArgb(atomIndex));
+ resetLastRes.append(";wireframe 0;"+resetLastRes.toString()+".CA;spacefill 0;");
- resetLastRes.append(";wireframe 0;"//color["
- // + col.getRed() + ","
- // + col.getGreen() + ","
- // + col.getBlue() + "]"
- );
+ eval.append("spacefill 200;select none");
viewer.evalStringQuiet(eval.toString());
resetLastRes.append(":" + chain);
}
- eval.append(";wireframe 100");//color gold;
+ eval.append(";wireframe 100;"+eval.toString()+".CA;");
- // Color col = new Color(viewer.getAtomArgb(atomIndex));
+ resetLastRes.append(";wireframe 0;"+resetLastRes.toString()+".CA;spacefill 0;");
- resetLastRes.append(";wireframe 0;select none;");//color["
- // + col.getRed() + ","
- // + col.getGreen() + ","
- // + col.getBlue() + "];
+ eval.append("spacefill 200;select none");
viewer.evalStringQuiet(eval.toString());
-
}
public Color getColour(int atomIndex, int pdbResNum, String chain, String pdbfile)