20 #ifndef OST_MOL_BASE_BUILDER_HH
21 #define OST_MOL_BASE_BUILDER_HH
33 namespace ost {
namespace mol {
45 chain_ = edi_.InsertChain(name);
52 res_ = edi_.AppendResidue(chain_, name);
58 res_.SetOneLetterCode(olc);
63 edi_.InsertAtom(res_, name, pos);
73 edi_.Connect(res_.FindAtom(
"N"), res_.FindAtom(
"CA"));
74 edi_.Connect(res_.FindAtom(
"CA"), res_.FindAtom(
"C"));
75 edi_.Connect(res_.FindAtom(
"C"), res_.FindAtom(
"O"));
Builder & Gly(bool connect=true)
Builder & Atom(const String &name, const geom::Vec3 &pos=geom::Vec3())
Builder & ConnectToPrev()
Builder & OneLetterCode(char olc)
Three dimensional vector class, using Real precision.
external coordinate system editor
Builder & Residue(const String &name)
Builder & Chain(const String &name)