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
toolbox
task_operations
DesignAroundOperation.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
// (c) Copyright Rosetta Commons Member Institutions.
5
// (c) This file is part of the Rosetta software suite and is made available under license.
6
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9
10
/// @file protocols/toolbox/task_operations/DesignAroundOperation.hh
11
/// @brief TaskOperation class that restricts a chain to repacking
12
/// @author Sarel Fleishman sarelf@uw.edu
13
14
#ifndef INCLUDED_protocols_toolbox_task_operations_DesignAroundOperation_hh
15
#define INCLUDED_protocols_toolbox_task_operations_DesignAroundOperation_hh
16
17
// Unit Headers
18
#include <
protocols/toolbox/task_operations/DesignAroundOperation.fwd.hh
>
19
#include <
protocols/toolbox/task_operations/RestrictOperationsBase.hh
>
20
21
// Project Headers
22
#include <
core/pose/Pose.fwd.hh
>
23
#include <
core/pack/task/PackerTask.fwd.hh
>
24
#include <utility/tag/Tag.fwd.hh>
25
26
// Utility Headers
27
#include <
core/types.hh
>
28
29
// C++ Headers
30
#include <string>
31
#include <set>
32
33
#include <utility/vector1.hh>
34
35
36
namespace
protocols {
37
namespace
toolbox {
38
namespace
task_operations {
39
40
///@details this class is a TaskOperation to prevent repacking of residues not near an interface.
41
class
DesignAroundOperation
:
public
RestrictOperationsBase
42
{
43
public
:
44
typedef
RestrictOperationsBase
parent
;
45
46
DesignAroundOperation
();
47
48
void
design_shell
(
core::Real
const
radius );
49
core::Real
design_shell
()
const
{
return
design_shell_
; }
50
void
include_residue
(
core::Size
const
resid );
51
52
virtual
~DesignAroundOperation
();
53
54
virtual
TaskOperationOP
clone
()
const
;
55
56
virtual
57
void
58
apply
(
core::pose::Pose
const
&,
core::pack::task::PackerTask
& )
const
;
59
60
virtual
void
parse_tag
(
TagPtr
);
61
62
virtual
void
parse_def
( utility::lua::LuaObject
const
& def );
63
64
void
repack_shell
(
core::Real
const
repack_shell
) {
65
repack_shell_
=
repack_shell
;
66
if
( repack_shell <=
design_shell
() )
67
design_shell_
=
repack_shell
;
68
}
69
core::Real
repack_shell
()
const
{
return
repack_shell_
; }
70
71
void
allow_design
(
bool
const
a ){
allow_design_
= a; }
72
bool
allow_design
()
const
{
return
allow_design_
; }
73
private
:
74
core::Real
design_shell_
,
repack_shell_
;
//dflt 8 and 8
75
bool
allow_design_
;
//dflt true
76
std::set< core::Size >
resid_
;
// accessible at all times
77
std::string
string_resnums_
;
// this can only be parsed at apply time, when the pose is available
78
};
79
80
}
//namespace protocols
81
}
//namespace toolbox
82
}
//namespace task_operations
83
84
#endif // INCLUDED_protocols_toolbox_TaskOperations_DesignAroundOperation_HH
Generated on Sat Jun 1 2013 12:23:04 for Rosetta 3.5 by
1.8.4