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
ResidueDistanceFilter.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/simple_filters/ResidueDistanceFilter.hh
11
/// @brief definition of filter class ResidueDistanceFilter.
12
/// @author Sarel Fleishman (sarelf@u.washington.edu), Jacob Corn (jecorn@u.washington.edu)
13
14
#ifndef INCLUDED_protocols_simple_filters_ResidueDistanceFilter_hh
15
#define INCLUDED_protocols_simple_filters_ResidueDistanceFilter_hh
16
17
#include <
protocols/simple_filters/ResidueDistanceFilter.fwd.hh
>
18
19
#include <
core/pose/Pose.fwd.hh
>
20
#include <
core/types.hh
>
21
#include <utility/tag/Tag.fwd.hh>
22
#include <
protocols/moves/DataMap.fwd.hh
>
23
#include <
protocols/moves/Mover.fwd.hh
>
24
#include <
protocols/filters/Filter.hh
>
25
26
namespace
protocols {
27
namespace
simple_filters {
28
29
class
ResidueDistanceFilter
:
public
filters::Filter
30
{
31
public
:
32
ResidueDistanceFilter
() : filters::
Filter
(
"ResidueDistance"
) {}
33
ResidueDistanceFilter
(
core::Size
const
res1,
core::Size
const
res2,
core::Real
const
distance_threshold ) :
34
Filter
(
"ResidueDistance"
),
res1_
( res1 ),
res2_
( res2 ),
distance_threshold_
( distance_threshold ) {}
35
bool
apply
(
core::pose::Pose
const
& pose )
const
;
36
void
report
( std::ostream & out,
core::pose::Pose
const
& pose )
const
;
37
core::Real
report_sm
(
core::pose::Pose
const
& pose )
const
;
38
core::Real
compute
(
core::pose::Pose
const
& pose )
const
;
39
filters::FilterOP
clone
()
const
{
40
return
new
ResidueDistanceFilter
( *
this
);
41
}
42
filters::FilterOP
fresh_instance
()
const
{
43
return
new
ResidueDistanceFilter
();
44
}
45
46
virtual
~ResidueDistanceFilter
();
47
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
& );
48
private
:
49
core::Size
res1_
,
res2_
;
50
core::Real
distance_threshold_
;
51
};
52
53
}
54
}
55
56
#endif
57
Generated on Sat Jun 1 2013 12:14:07 for Rosetta 3.5 by
1.8.4