Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
fibril
SetupForFibrilMover.cc
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
10
/// @brief
11
/// @author
12
13
// Unit headers
14
#include <
protocols/fibril/SetupForFibrilMover.hh
>
15
16
// Package headers
17
#include <
core/pose/symmetry/util.hh
>
18
// AUTO-REMOVED #include <core/conformation/symmetry/util.hh>
19
20
21
// ObjexxFCL Headers
22
23
// C++ Headers
24
25
// Utility Headers
26
#include <basic/Tracer.hh>
27
28
#include <
protocols/loops/Loop.hh
>
29
#include <
protocols/loops/Loops.hh
>
30
#include <
protocols/fibril/fibril_util.hh
>
31
#include <utility/vector1.hh>
32
33
34
namespace
protocols {
35
namespace
fibril {
36
37
static
basic::Tracer
TR
(
"protocols.moves.symmetry.SetupForFibrilMover"
);
38
39
SetupForFibrilMover::SetupForFibrilMover
()
40
: Mover(
"SetupForFibrilMover"
) {}
41
42
SetupForFibrilMover::~SetupForFibrilMover
(){}
43
44
void
45
SetupForFibrilMover::apply
(
core::pose::Pose
& pose )
46
{
47
// If we are alredy symmetric do nothing
48
if
(
core::pose::symmetry::is_symmetric
( pose ) )
return
;
49
protocols::fibril::make_symmetric_fibril
( pose );
50
assert(
core::pose::symmetry::is_symmetric
( pose ) );
51
}
52
53
std::string
54
SetupForFibrilMover::get_name
()
const
{
55
return
"SetupForFibrilMover"
;
56
}
57
58
void
59
SetupForFibrilMover::align
(
60
core::pose::Pose
& pose,
61
core::pose::Pose
& monomer_pose,
62
protocols::loops::Loops
core,
63
protocols::loops::Loops
ref_core
64
)
65
{
66
// If we are alredy symmetric do nothing
67
if
(
core::pose::symmetry::is_symmetric
( pose ) )
return
;
68
std::cout<<
"align: from "
<<core<<
" to "
<<ref_core<<std::endl;
69
protocols::fibril::superimpose_pose_on_subset_bb
( pose, monomer_pose, core, ref_core );
70
}
71
72
}
// fibril
73
}
// protocols
Generated on Sat Jun 1 2013 11:49:34 for Rosetta 3.5 by
1.8.4