OpenStructure
|
Namespaces | |
alg | |
impl | |
mm | |
Data Structures | |
class | AtomBase |
class | AtomHandle |
class | AtomView |
class | BondHandle |
struct | BondTableEntry |
struct | BondTable |
class | Builder |
class | ChainBase |
class | ChainHandle |
class | ChainView |
struct | ChemClass |
struct | ChemType |
class | CoordFrame |
class | CoordGroupHandle |
class | CoordSource |
class | EditorBase |
class | EntityBase |
class | EntityHandle |
class | EntityObserver |
class | EntityPropertyMapper |
class | EntityView |
class | EntityVisitor |
class | EntityViewVisitor |
class | ICSEditor |
class | InMemCoordSource |
class | NotConnectedError |
struct | Prop |
struct | PropertyError |
struct | QueryFlag |
class | Query |
struct | QueryErrorDesc |
class | QueryError |
class | QueryState |
class | QueryViewWrapper |
class | ResidueBase |
class | ResidueHandle |
class | ResNum |
class | ResidueView |
struct | SecStructure |
class | SpatialOrganizer |
class | SurfaceHandle |
struct | SurfaceVertex |
struct | SurfaceTri |
class | TorsionHandle |
struct | ViewAddFlag |
class | XCSEditor |
Typedefs | |
typedef std::vector< BondHandle > | BondHandeList |
typedef boost::shared_ptr < CoordFrame > | CoordFramePtr |
typedef std::vector < CoordFramePtr > | CoordFrameList |
typedef boost::shared_ptr < CoordSource > | CoordSourcePtr |
typedef boost::shared_ptr < EntityObserver > | EntityObserverPtr |
typedef std::pair< EntityView, EntityView > | EntityViewPair |
typedef std::vector< ChainHandle > | ChainHandleList |
typedef std::vector < ResidueHandle > | ResidueHandleList |
typedef std::vector< AtomHandle > | AtomHandleList |
typedef std::vector < TorsionHandle > | TorsionHandleList |
typedef std::vector< BondHandle > | BondHandleList |
typedef std::vector< EntityHandle > | EntityHandleList |
typedef boost::shared_ptr < InMemCoordSource > | InMemCoordSourcePtr |
typedef uint | QueryFlags |
typedef String | ResidueKey |
typedef std::vector< ResNum > | ResNumList |
typedef std::vector< SurfaceTriID > | SurfaceTriIDList |
typedef std::vector < SurfaceVertexID > | SurfaceVertexIDList |
typedef std::vector < SurfaceHandle > | SurfaceHandleList |
typedef unsigned int | SurfaceVertexID |
typedef unsigned int | SurfaceTriID |
typedef std::vector < SurfaceVertex > | SurfaceVertexList |
typedef geom::Transform | Transform |
typedef boost::shared_ptr < AtomViewData > | AtomViewDataPtr |
typedef boost::weak_ptr < AtomViewData > | AtomViewDataWeakPtr |
typedef std::vector< AtomView > | AtomViewList |
typedef boost::shared_ptr < ResidueViewData > | ResidueViewDataPtr |
typedef boost::weak_ptr < ResidueViewData > | ResidueViewDataWeakPtr |
typedef std::vector< ResidueView > | ResidueViewList |
typedef boost::shared_ptr < ChainViewData > | ChainViewDataPtr |
typedef boost::weak_ptr < ChainViewData > | ChainViewDataWeakPtr |
typedef std::vector< ChainView > | ChainViewList |
typedef boost::shared_ptr < EntityViewData > | EntityViewDataPtr |
typedef boost::weak_ptr < EntityViewData > | EntityViewDataWeakPtr |
typedef std::vector< EntityView > | EntityViewList |
typedef std::vector < QueryViewWrapper > | QueryViewWrapperList |
typedef int | ViewAddFlags |
typedef std::vector<AtomHandle> AtomHandleList |
Definition at line 30 of file handle_type_fw.hh.
typedef boost::shared_ptr<AtomViewData> AtomViewDataPtr |
Definition at line 28 of file view_type_fw.hh.
typedef boost::weak_ptr<AtomViewData> AtomViewDataWeakPtr |
Definition at line 30 of file view_type_fw.hh.
typedef std::vector<AtomView> AtomViewList |
Definition at line 31 of file view_type_fw.hh.
typedef std::vector<BondHandle> BondHandeList |
Definition at line 134 of file bond_handle.hh.
typedef std::vector<BondHandle> BondHandleList |
Definition at line 37 of file handle_type_fw.hh.
typedef std::vector<ChainHandle> ChainHandleList |
Definition at line 26 of file handle_type_fw.hh.
typedef boost::shared_ptr<ChainViewData> ChainViewDataPtr |
Definition at line 40 of file view_type_fw.hh.
typedef boost::weak_ptr<ChainViewData> ChainViewDataWeakPtr |
Definition at line 42 of file view_type_fw.hh.
typedef std::vector<ChainView> ChainViewList |
Definition at line 43 of file view_type_fw.hh.
typedef std::vector<CoordFramePtr> CoordFrameList |
Definition at line 207 of file coord_frame.hh.
typedef boost::shared_ptr<CoordFrame> CoordFramePtr |
Definition at line 206 of file coord_frame.hh.
typedef boost::shared_ptr<CoordSource> CoordSourcePtr |
Definition at line 37 of file coord_source.hh.
typedef std::vector<EntityHandle> EntityHandleList |
Definition at line 40 of file handle_type_fw.hh.
typedef boost::shared_ptr<EntityObserver> EntityObserverPtr |
Definition at line 26 of file entity_observer_fw.hh.
typedef boost::shared_ptr<EntityViewData> EntityViewDataPtr |
Definition at line 46 of file view_type_fw.hh.
typedef boost::weak_ptr<EntityViewData> EntityViewDataWeakPtr |
Definition at line 48 of file view_type_fw.hh.
typedef std::vector<EntityView> EntityViewList |
Definition at line 49 of file view_type_fw.hh.
typedef std::pair<EntityView, EntityView> EntityViewPair |
Definition at line 349 of file entity_view.hh.
typedef boost::shared_ptr<InMemCoordSource> InMemCoordSourcePtr |
Definition at line 32 of file in_mem_coord_source.hh.
typedef uint QueryFlags |
typedef std::vector<QueryViewWrapper> QueryViewWrapperList |
Definition at line 51 of file view_type_fw.hh.
typedef std::vector<ResidueHandle> ResidueHandleList |
Definition at line 28 of file handle_type_fw.hh.
typedef String ResidueKey |
Definition at line 125 of file residue_prop.hh.
typedef boost::shared_ptr<ResidueViewData> ResidueViewDataPtr |
Definition at line 34 of file view_type_fw.hh.
typedef boost::weak_ptr<ResidueViewData> ResidueViewDataWeakPtr |
Definition at line 36 of file view_type_fw.hh.
typedef std::vector<ResidueView> ResidueViewList |
Definition at line 37 of file view_type_fw.hh.
typedef std::vector<ResNum> ResNumList |
Definition at line 126 of file residue_prop.hh.
typedef std::vector<SurfaceHandle> SurfaceHandleList |
Definition at line 87 of file surface_handle.hh.
typedef unsigned int SurfaceTriID |
Definition at line 63 of file surface_prop.hh.
typedef std::vector<SurfaceTriID> SurfaceTriIDList |
Definition at line 35 of file surface_handle.hh.
typedef unsigned int SurfaceVertexID |
Definition at line 56 of file surface_prop.hh.
typedef std::vector<SurfaceVertexID> SurfaceVertexIDList |
Definition at line 36 of file surface_handle.hh.
typedef std::vector<SurfaceVertex> SurfaceVertexList |
Definition at line 65 of file surface_prop.hh.
typedef std::vector<TorsionHandle> TorsionHandleList |
Definition at line 34 of file handle_type_fw.hh.
typedef geom::Transform Transform |
Definition at line 5 of file transform.hh.
typedef int ViewAddFlags |
Definition at line 71 of file view_type_fw.hh.
enum ChainType |
Definition at line 31 of file chain_type.hh.
enum EditMode |
Enumerator | |
---|---|
BUFFERED_EDIT | |
UNBUFFERED_EDIT |
Definition at line 31 of file editor_type_fw.hh.
geom::Cuboid DLLEXPORT_OST_MOL ost::mol::BoundingBoxFromAtoms | ( | const AtomHandleList & | atoms | ) |
create bounding box from atom list
geom::Cuboid DLLEXPORT_OST_MOL ost::mol::BoundingBoxFromEntity | ( | const EntityHandle & | ent | ) |
create bounding box from entity handle
geom::Cuboid DLLEXPORT_OST_MOL ost::mol::BoundingBoxFromEntity | ( | const EntityView & | ent | ) |
create bounding box from entity view
DLLEXPORT_OST_MOL SurfaceHandle ost::mol::BuildSurface | ( | const EntityView & | ev, |
Real | probe_radius, | ||
Real | patch_size | ||
) |
ChainType DLLIMPORT ost::mol::ChainTypeFromString | ( | const StringRef | identifier | ) |
Create a ChainType item for a given string.
identifier | String to be translated |
std::pair<EntityView, EntityView> DLLEXPORT_OST_MOL ost::mol::CompareViews | ( | const EntityView & | view1, |
const EntityView & | view2 | ||
) |
compare two entity views
IntegrityError | if trying to compare two views that do not point to the same entity. |
first
contains the elements that are in view1
, but not in view2
, second
contains the elements that are in view2
but not in view1
DLLEXPORT_OST_MOL CoordFrame ost::mol::CreateCoordFrame | ( | const geom::Vec3List & | atom_pos, |
const geom::Vec3 & | cell_size = geom::Vec3() , |
||
const geom::Vec3 & | cell_angles = geom::Vec3() |
||
) |
DLLEXPORT_OST_MOL CoordGroupHandle ost::mol::CreateCoordGroup | ( | const AtomHandleList & | atoms | ) |
EntityHandle DLLEXPORT_OST_MOL ost::mol::CreateEntityFromView | ( | const EntityView & | view, |
bool | include_exlusive_atoms, | ||
EntityHandle | handle = EntityHandle() |
||
) |
create new entity handle from entity view
This function behaves exactly like EntityHandle::Copy(), except that only atoms, residues, chains and bonds that are present in the view will be copied.
view | is the view to be converted to a handle |
include_exlusive_atoms | if true, atoms that are part of an exclusive bond (only one bond partner is included in the view) will also be included in the new entity handle. |
handle | If invalid a new entity will be created. If valid, the atoms, residues, chains, bonds and torsions will be added to handle. This is useful to combine several entities into one. |
DLLEXPORT_OST_MOL SurfaceHandle ost::mol::CreateSurface | ( | ) |
Real DLLEXPORT_OST_MOL ost::mol::DihedralAngle | ( | const AtomHandle & | a1, |
const AtomHandle & | a2, | ||
const AtomHandle & | a3, | ||
const AtomHandle & | a4 | ||
) |
DLLEXPORT_OST_MOL void ost::mol::GetCaCONIndices | ( | const EntityView & | segment, |
std::vector< unsigned long > & | indices_ca, | ||
std::vector< unsigned long > & | indices_c, | ||
std::vector< unsigned long > & | indices_o, | ||
std::vector< unsigned long > & | indices_n | ||
) |
Writes the backbone indices of all residues in the EntityView into the provided list.
DLLEXPORT_OST_MOL void ost::mol::GetCaIndices | ( | const EntityView & | segment, |
std::vector< unsigned long > & | indices_ca | ||
) |
Writes the indices of all atoms in the EntityView into the provided list.
DLLEXPORT_OST_MOL void ost::mol::GetIndices | ( | const EntityView & | sele, |
std::vector< unsigned long > & | indices | ||
) |
This function returns a vector containing the atom indices of the atoms in an EntityView; it is used to accelerate the extraction of information from a trajectory
DLLEXPORT_OST_MOL void ost::mol::GetIndicesAndMasses | ( | const EntityView & | sele, |
std::vector< unsigned long > & | indices, | ||
std::vector< Real > & | masses | ||
) |
conveniece for GetIndices and GetMasses in one call
DLLEXPORT_OST_MOL void ost::mol::GetMasses | ( | const EntityView & | sele, |
std::vector< Real > & | masses | ||
) |
This function returns a vector containing the atom masses of the atoms in an EntityView; it is used together with GetIndices to accelerate the extraction of RMSD from a trajectory
DLLEXPORT_OST_MOL void ost::mol::GetPositions | ( | const EntityView & | sele, |
std::vector< geom::Vec3 > & | ref_pos | ||
) |
Writes the positions of all atoms in the EntityView into the provided vec3 list.
bool DLLEXPORT_OST_MOL ost::mol::InSequence | ( | const ResidueHandle & | residue_one, |
const ResidueHandle & | residue_two | ||
) |
Test if two residues are in next in sequence.
Tests whether two residues are next in sequence and if they are connected by a bond. At the moment, this is only implemented for peptides
def ost.mol.MergeCoordGroups | ( | coord_groups | ) |
Merge several separate coord groups into one. The coord groups must have the same number of atoms. In case no coord group is supplied, None will be returned.
Definition at line 35 of file __init__.py.
bool ost::mol::operator< | ( | const ResidueHandle & | lhs, |
const ResidueHandle & | rhs | ||
) |
Definition at line 33 of file transfer_connectivity.hh.
DLLEXPORT_OST_MOL std::ostream& ost::mol::operator<< | ( | std::ostream & | os, |
const EntityBase & | ent | ||
) |
DLLEXPORT_OST_MOL std::ostream& ost::mol::operator<< | ( | std::ostream & | os, |
const SurfaceHandle & | surf | ||
) |
DLLEXPORT_OST_MOL std::ostream& ost::mol::operator<< | ( | std::ostream & | os, |
const ChainBase & | chain | ||
) |
DLLEXPORT_OST_MOL std::ostream& ost::mol::operator<< | ( | std::ostream & | os, |
const TorsionHandle & | torsion | ||
) |
|
inline |
Definition at line 128 of file residue_prop.hh.
DLLEXPORT_OST_MOL std::ostream& ost::mol::operator<< | ( | std::ostream & | os, |
const BondHandle & | bond | ||
) |
DLLEXPORT_OST_MOL std::ostream& ost::mol::operator<< | ( | std::ostream & | os, |
const AtomBase & | atom | ||
) |
DLLEXPORT_OST_MOL std::ostream& ost::mol::operator<< | ( | std::ostream & | os, |
const ResidueBase & | residue | ||
) |
Prop DLLEXPORT_OST_MOL ost::mol::PropertyFromString | ( | const String & | prop | ) |
Prop::ID DLLEXPORT_OST_MOL ost::mol::PropertyIDFromString | ( | const String & | prop | ) |
|
inline |
String DLLIMPORT ost::mol::StringFromChainType | ( | ChainType | type | ) |
Return the String identifier for a given type.
type | ChainType to be translated |
void DLLIMPORT ost::mol::TransferConnectivity | ( | EntityHandle | dest, |
const std::map< ResidueHandle, ResidueHandle > & | to_from | ||
) |
def ost.mol.Transform | ( | tf = None | ) |
Definition at line 24 of file __init__.py.