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