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
simple_filters
ResiduesInInterfaceFilter.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 sw=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/simple_filters/ResiduesInInterfaceFilter.hh
11
/// @brief Reports to Tracer which residues are designable in a taskfactory
12
/// @author Sarel Fleishman (sarelf@uw.edu)
13
14
#ifndef INCLUDED_protocols_simple_filters_ResiduesInInterfaceFilter_hh
15
#define INCLUDED_protocols_simple_filters_ResiduesInInterfaceFilter_hh
16
17
#include <
core/scoring/ScoreFunction.hh
>
18
#include <
core/pose/Pose.fwd.hh
>
19
#include <
core/types.hh
>
20
#include <
protocols/filters/Filter.hh
>
21
#include <utility/tag/Tag.fwd.hh>
22
#include <
protocols/moves/DataMap.fwd.hh
>
23
#include <
protocols/moves/Mover.fwd.hh
>
24
25
namespace
protocols {
26
namespace
simple_filters{
27
28
class
ResiduesInInterfaceFilter
:
public
filters::Filter
29
{
30
public
:
31
ResiduesInInterfaceFilter
() :
Filter
(
"ResInInterface"
) {}
32
ResiduesInInterfaceFilter
(
core::Size
const
residues_in_interface_threshold,
core::Size
const
rb_jump ) :
Filter
(
"ResInInterface"
) {
33
residues_in_interface_threshold_
= residues_in_interface_threshold;
34
rb_jump_
= rb_jump;
35
}
36
bool
apply
(
core::pose::Pose
const
& pose )
const
;
37
filters::FilterOP
clone
()
const
{
38
return
new
ResiduesInInterfaceFilter
( *
this
);
39
}
40
filters::FilterOP
fresh_instance
()
const
{
41
return
new
ResiduesInInterfaceFilter
();
42
}
43
ResiduesInInterfaceFilter
(
ResiduesInInterfaceFilter
const
&
init
) :
44
//utility::pointer::ReferenceCount(),
45
Filter
( init ) {
46
residues_in_interface_threshold_
= init.
residues_in_interface_threshold_
;
47
rb_jump_
= init.
rb_jump_
;
48
}
49
void
report
( std::ostream & out,
core::pose::Pose
const
& pose )
const
;
50
core::Real
report_sm
(
core::pose::Pose
const
& pose )
const
;
51
core::Size
compute
(
core::pose::Pose
const
& pose )
const
;
52
virtual
~ResiduesInInterfaceFilter
();
53
void
parse_my_tag
(
utility::tag::TagPtr
const
tag,
protocols::moves::DataMap
&,
filters::Filters_map
const
&,
protocols::moves::Movers_map
const
&,
core::pose::Pose
const
& );
54
private
:
55
core::Size
residues_in_interface_threshold_
,
rb_jump_
;
56
};
57
58
}
59
}
60
61
#endif
Generated on Sat Jun 1 2013 12:14:14 for Rosetta 3.5 by
1.8.4