Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RestrictToAlignedSegments.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/toolbox/task_operations/RestrictToAlignedSegmentsOperation.hh
11 /// @brief TaskOperation class that restricts a chain to repacking
12 /// @author Sarel Fleishman sarelf@uw.edu
13 
14 #ifndef INCLUDED_protocols_toolbox_task_operations_RestrictToAlignedSegments_hh
15 #define INCLUDED_protocols_toolbox_task_operations_RestrictToAlignedSegments_hh
16 
17 // Unit Headers
20 
21 // Project Headers
22 #include <core/pose/Pose.fwd.hh>
24 #include <utility/tag/Tag.fwd.hh>
25 #include <core/pose/Pose.fwd.hh>
26 
27 // Utility Headers
28 #include <core/types.hh>
29 
30 // C++ Headers
31 #include <string>
32 #include <set>
33 
34 #include <utility/vector1.hh>
35 
36 
37 namespace protocols {
38 namespace toolbox {
39 namespace task_operations {
40 
41 ///@details this class is a TaskOperation to prevent repacking of residues not near an interface.
43 {
44 public:
46 
48 
50 
51  virtual TaskOperationOP clone() const;
52 
53  virtual
54  void
56 
57  virtual void parse_tag( TagPtr );
58 
63  core::Size chain()const {return chain_;}
64  void chain( core::Size const c ){ chain_ = c; }
65 
67  void repack_shell( core::Real const r ){ repack_shell_ = r; }
68 private:
70  utility::vector1< core::Size > start_res_; // start and end will be parsed at apply time to determine the relevant residue numbers
72  core::Size chain_; //dflt 1; which chain to look at. 0 means all chains
73  core::Real repack_shell_; //dflt 6A; allow repack in residues surrounding the aligned segment on chain_
74 };
75 
76 } //namespace protocols
77 } //namespace toolbox
78 } //namespace task_operations
79 
80 #endif // INCLUDED_protocols_toolbox_TaskOperations_RestrictToAlignedSegmentsOperation_HH