Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GridSearchIterator.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  //////////////////////////////////////////////
11  /// @begin
12  ///
13  /// @file protocols/scoring/methods/pcs2/GridSearchIterator.hh
14  ///
15  /// @brief
16  ///
17  /// @detailed
18  ///
19  /// @param
20  ///
21  /// @return
22  ///
23  /// @remarks
24  ///
25  /// @references
26  ///
27  /// @authorsv Christophe Schmitz
28  ///
29  /// @last_modified February 2010
30  ////////////////////////////////////////////////
31 
32 
33 #ifndef INCLUDED_protocols_scoring_methods_pcs2_GridSearchIterator_hh
34 #define INCLUDED_protocols_scoring_methods_pcs2_GridSearchIterator_hh
35 
36 
37 // Unit headers
38 
39 // Package headers
40 
41 // Project headers
42 #include <core/types.hh>
43 
44 // Utility headers
45 #include <utility/pointer/ReferenceCount.hh>
46 
47 // Numeric headers
48 
49 // Objexx headers
50 
51 // C++ headers
52 
53 
54 namespace protocols{
55 namespace scoring{
56 namespace methods{
57 namespace pcs2{
58 
60 public:
61 
62  GridSearchIterator(); //Construct
63 
64  virtual ~GridSearchIterator(); //Destruct
65 
66  GridSearchIterator(GridSearchIterator const & other); //copy
67 
68  GridSearchIterator & // =
69  operator=(GridSearchIterator const & other);
70 
73  core::Real const k,
74  core::Real const edge_size,
75  core::Real const step_size,
76  core::Real const small_cutoff,
77  core::Real const large_cutoff,
78  core::Real const cone_angle);
79 
80  /// @brief give me the next x-y-z coordinate to visit
81  /// bool return FALSE if everything has been visited
82  bool
84  core::Real &y,
85  core::Real &z);
86 
87 
88 private:
89  bool
91  void
92  reset();
93 
114 };
115 
116 } //namespace pcs2
117 } //namespace methods
118 } //namespace scoring
119 } //namespace methods
120 
121 #endif