layer3/MaeExportHelpers.h (18 lines of code) (raw):

/* * MAE format export helper functions * * (c) 2018 Schrodinger, Inc. */ #include <string> #include "os_std.h" #include "AtomInfo.h" #include "AtomIterators.h" int MaeExportGetAtomStyle(PyMOLGlobals * G, const SeleCoordIterator& iter); int MaeExportGetBondStyle( const AtomInfoType * ai1, const AtomInfoType * ai2); int MaeExportGetRibbonStyle( const AtomInfoType * ai); void MaeExportGetRibbonColor(PyMOLGlobals * G, const SeleCoordIterator& iter, char * ribbon_color_rgb); std::string MaeExportGetLabelUserText(PyMOLGlobals * G, const AtomInfoType * ai); std::string MaeExportGetSubGroupId(PyMOLGlobals * G, const CObject * obj); // vi:sw=2:expandtab