OpenStructure
structure_analysis.hh
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 // This file is part of the OpenStructure project <www.openstructure.org>
3 //
4 // Copyright (C) 2008-2020 by the OpenStructure authors
5 //
6 // This library is free software; you can redistribute it and/or modify it under
7 // the terms of the GNU Lesser General Public License as published by the Free
8 // Software Foundation; either version 3.0 of the License, or (at your option)
9 // any later version.
10 // This library is distributed in the hope that it will be useful, but WITHOUT
11 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 // FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13 // details.
14 //
15 // You should have received a copy of the GNU Lesser General Public License
16 // along with this library; if not, write to the Free Software Foundation, Inc.,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 //------------------------------------------------------------------------------
19 
20 /*
21  * Niklaus Johner
22  */
23 #ifndef OST_STRUCTURE_ANALYSIS_HH
24 #define OST_STRUCTURE_ANALYSIS_HH
25 
27 
28 #include <ost/mol/entity_view.hh>
29 #include <ost/mol/entity_handle.hh>
30 #include <ost/img/map.hh>
31 
32 namespace ost { namespace mol { namespace alg {
36  void DLLEXPORT_OST_MOL_ALG WrapEntityInPeriodicCell(EntityHandle eh, const geom::Vec3 cell_center, const geom::Vec3 ucell_size, const geom::Vec3 ucell_angles=geom::Vec3(), bool group_res=true, bool follow_bond=true);
37  std::vector< std::vector<Real> > DLLEXPORT_OST_MOL_ALG PariwiseDistanceMatrix(const EntityView& view1, const EntityView& view2);
38  std::vector< std::vector<Real> > DLLEXPORT_OST_MOL_ALG PariwiseDistanceMatrix(const EntityView& view);
39 }}}//ns
40 #endif
Three dimensional vector class, using Real precision.
Definition: vec3.hh:48
Manage shared instances of images.
Protein or molecule.
definition of EntityView
Definition: entity_view.hh:86
float Real
Definition: base.hh:44
#define DLLEXPORT_OST_MOL_ALG
Real DLLEXPORT_OST_MOL_ALG CalculateAverageAgreementWithDensityMap(const geom::Vec3List &vl, img::MapHandle &density_map)
geom::Vec3List DLLEXPORT_OST_MOL_ALG GetPosListFromView(const EntityView &view)
void DLLEXPORT_OST_MOL_ALG WrapEntityInPeriodicCell(EntityHandle eh, const geom::Vec3 cell_center, const geom::Vec3 ucell_size, const geom::Vec3 ucell_angles=geom::Vec3(), bool group_res=true, bool follow_bond=true)
std::vector< Real > DLLEXPORT_OST_MOL_ALG CalculateAgreementWithDensityMap(const geom::Vec3List &vl, img::MapHandle &density_map)
std::vector< std::vector< Real > > DLLEXPORT_OST_MOL_ALG PariwiseDistanceMatrix(const EntityView &view1, const EntityView &view2)
Definition: base.dox:1