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
protein_interface_design
filters
RelativeSegmentFilter.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/protein_interface_design/filters/RelativeSegmentFilter.hh
11
/// @author Sarel Fleishman (sarelf@u.washington.edu)
12
13
#ifndef INCLUDED_protocols_protein_interface_design_filters_RelativeSegmentFilter_hh
14
#define INCLUDED_protocols_protein_interface_design_filters_RelativeSegmentFilter_hh
15
16
17
// Project Headers
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
protein_interface_design {
27
namespace
filters {
28
29
using
protocols::filters::Filter
;
30
using
protocols::filters::FilterOP
;
31
using
protocols::filters::Filters_map
;
32
33
///@brief returns the residues aligned to a segment on the input pdb to the source pdb
34
class
RelativeSegmentFilter
:
public
Filter
35
{
36
public
:
37
typedef
core::Real
Real
;
38
typedef
core::Size
Size
;
39
public
:
40
RelativeSegmentFilter
() :
Filter
(
"RelativeSegment"
) {}
41
bool
apply
(
core::pose::Pose
const
& pose )
const
;
42
FilterOP
clone
()
const
{
43
return
new
RelativeSegmentFilter
( *
this
);
44
}
45
FilterOP
fresh_instance
()
const
{
46
return
new
RelativeSegmentFilter
();
47
}
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
virtual
~RelativeSegmentFilter
();
52
void
parse_my_tag
(
utility::tag::TagPtr
const
tag,
protocols::moves::DataMap
&,
Filters_map
const
&,
protocols::moves::Movers_map
const
&,
core::pose::Pose
const
& );
53
std::string
source_pose
()
const
{
return
source_pose_
; }
54
void
source_pose
(
std::string
const
s ){
source_pose_
= s; }
55
core::Size
start_res
()
const
{
return
start_res_
; }
56
void
start_res
(
core::Size
const
s ){
start_res_
= s;}
57
core::Size
stop_res
()
const
{
return
stop_res_
; }
58
void
stop_res
(
core::Size
const
s ){
stop_res_
= s; }
59
private
:
60
std::string
source_pose_
;
61
core::Size
start_res_
,
stop_res_
;
62
};
63
64
}
65
}
// protein_interface_design
66
}
// devel
67
68
69
#endif
/*INCLUDED_DOCK_DESIGN_FILTERS_H_*/
70
Generated on Sat Jun 1 2013 12:03:45 for Rosetta 3.5 by
1.8.4