Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Transform.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 /grid/src/protocols/ligand_docking/Transform.hh
11 /// @author Sam DeLuca
12 
13 #ifndef INCLUDED_protocols_ligand_docking_Transform_hh
14 #define INCLUDED_protocols_ligand_docking_Transform_hh
15 
16 #include <protocols/moves/Mover.hh>
18 
21 
22 #include <utility/vector1.hh>
23 
24 
25 namespace protocols {
26 namespace ligand_docking {
27 
29 {
32 };
33 
34 struct Transform_info{ // including default values
35 
36 public:
47 };
48 
50 {
51 public:
52  Transform();
53  Transform(
54  std::string const & chain,
55  core::Real const & box_size,
56  core::Real const & move_distance,
57  core::Real const & angle,
58  core::Size const & cycles,
59  core::Real const & temp
60  );
61  virtual ~Transform();
62  virtual protocols::moves::MoverOP clone() const;
64  virtual std::string get_name() const;
65 
66  virtual void parse_my_tag(
67  utility::tag::TagPtr const tag,
68  protocols::moves::DataMap & data_map,
71  core::pose::Pose const &
72  );
73 
74  virtual void apply(core::pose::Pose & pose);
75 
76 private:
79 
80  void revert_conformer(
81  core::pose::Pose & pose,
82  core::Size const & conformer_index,
83  core::Size const & seqpos);
84 
85  void revert_jumps(
86  core::pose::Pose & pose,
87  utility::vector1<std::pair<core::SSize,core::kinematics::Jump> > const & jumps);
88 
89  void revert_move(
90  core::pose::Pose & pose,
91  MoveType const & move_type,
92  core::Size const & conformer_index,
93  core::Size const & seqpos,
94  utility::vector1<std::pair<core::SSize,core::kinematics::Jump> > const & jumps);
95 
96 private:
97  //qsar::scoring_grid::GridManagerOP grid_manager_;
101 
102 };
103 
104 }
105 }
106 
107 #endif /* TRANSFORM_HH_ */