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
scoring
methods
pcs2
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
59
class
GridSearchIterator
:
public
utility::pointer::ReferenceCount
{
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
71
GridSearchIterator
(
numeric::xyzVector< core::Real >
const
coo1,
72
numeric::xyzVector< core::Real >
const
coo2,
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
83
next_center
(
core::Real
&x,
84
core::Real
&y,
85
core::Real
&z);
86
87
88
private
:
89
bool
90
next
(
core::Real
&x,
core::Real
&y,
core::Real
&z);
91
void
92
reset
();
93
94
core::Real
const
x_center_
;
95
core::Real
const
y_center_
;
96
core::Real
const
z_center_
;
97
core::Real
x_current_
;
98
core::Real
y_current_
;
99
core::Real
z_current_
;
100
core::Real
const
step_
;
101
core::Real
const
edge_
;
102
core::Real
step_x_
;
103
core::Real
step_y_
;
104
core::Real
step_z_
;
105
bool
next_to_return_
;
106
core::Real
const
delta_
;
107
core::Real
const
small_cutoff_square_
;
108
core::Real
const
large_cutoff_square_
;
109
core::Real
const
x_vector_
;
110
core::Real
const
y_vector_
;
111
core::Real
const
z_vector_
;
112
core::Real
const
norme_vector_
;
113
core::Real
const
cone_angle_cos_
;
114
};
115
116
}
//namespace pcs2
117
}
//namespace methods
118
}
//namespace scoring
119
}
//namespace methods
120
121
#endif
Generated on Sat Jun 1 2013 12:10:36 for Rosetta 3.5 by
1.8.4