Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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>
21 #include <utility/tag/Tag.fwd.hh>
24 
25 namespace protocols {
26 namespace protein_interface_design {
27 namespace filters {
28 
32 
33 ///@brief returns the residues aligned to a segment on the input pdb to the source pdb
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  }
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();
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:
62 };
63 
64 }
65 } // protein_interface_design
66 } // devel
67 
68 
69 #endif /*INCLUDED_DOCK_DESIGN_FILTERS_H_*/
70