Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
util.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // This file is part of the Rosetta software suite and is made available under license.
5 // The Rosetta software is developed by the contributing members of the Rosetta Commons consortium.
6 // (C) 199x-2009 Rosetta Commons participating institutions and developers.
7 // For more information, see http://www.rosettacommons.org/.
8 
9 /// @file core/pose/symmetry/util.hh
10 /// @brief utility functions for handling with symmetric conformations
11 /// @author Ingemar Andre
12 
13 #ifndef INCLUDED_core_conformation_symmetry_util_hh
14 #define INCLUDED_core_conformation_symmetry_util_hh
15 
16 
17 // Unit headers
23 #include <core/types.hh>
24 #include <map>
25 
26 namespace core {
27 namespace conformation {
28 namespace symmetry {
29 
30 bool
31 is_symmetric( conformation::Conformation const & conf );
32 
33 bool
35 
38  conformation::Conformation & src_conformation,
39  conformation::symmetry::SymmData & symmdata,
40  std::map< int, char > conf2pdb_chain = std::map< int, char >()
41 );
42 
43 kinematics::FoldTree
45  conformation::Conformation & src_conformation,
46  conformation::symmetry::SymmData & symmdata,
47  std::map< int, char > conf2pdb_chain = std::map< int, char >()
48 );
49 
50 kinematics::FoldTree
52  kinematics::FoldTree symm_f,
54  kinematics::FoldTree monomer_f
55 );
56 
57 void
58 recenter(
59  conformation::Conformation & src_conformation,
60  conformation::symmetry::SymmData & symmdata
61 );
62 
63 // @details shift jump numbers in dof
64 void
66  conformation::Conformation & src_conformation,
67  Size shift
68 );
69 
70 kinematics::FoldTree
72 
73 void
74 symmetrize_fold_tree( core::conformation::Conformation const &conf, kinematics::FoldTree &f );
75 
76 void
77 set_asymm_unit_fold_tree( core::conformation::Conformation &p, kinematics::FoldTree const &f);
78 
79 int
81  conformation::Conformation const & conformation,
82  int const start,
83  int const stop
84 );
85 
86 int
88  conformation::Conformation const & conformation,
89  int const begin,
90  int const end,
91  core::Vector center
92 );
93 
97  SymmData const & symdata,
98  std::map<char,std::pair<Size,Size> > const & chain2range
99 );
100 
101 
102 } // symmetry
103 } // conformation
104 } // core
105 
106 
107 
108 #endif