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
GridSearchIteratorCA.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/GridSearchIteratorCA.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_GridSearchIteratorCA_hh
34
#define INCLUDED_protocols_scoring_methods_pcs2_GridSearchIteratorCA_hh
35
36
37
// Unit headers
38
39
// Package headers
40
41
// Project headers
42
#include <
core/types.hh
>
43
#include <
core/pose/Pose.fwd.hh
>
44
45
// Utility headers
46
#include <utility/vector1.hh>
47
48
//Auto Headers
49
// Numeric headers
50
// Objexx headers
51
52
// C++ headers
53
54
55
namespace
protocols{
56
namespace
scoring{
57
namespace
methods{
58
namespace
pcs2
{
59
60
class
GridSearchIteratorCA
{
61
public
:
62
63
GridSearchIteratorCA
();
//Construct
64
65
~GridSearchIteratorCA
();
//Destruct
66
67
GridSearchIteratorCA
(
GridSearchIteratorCA
const
& other);
//copy
68
69
GridSearchIteratorCA
&
// =
70
operator=
(
GridSearchIteratorCA
const
& other);
71
72
GridSearchIteratorCA
(
core::pose::Pose
const
& pose);
73
74
/// @brief give me the next x-y-z coordinate to visit
75
/// bool return FALSE if everything has been visited
76
bool
77
next_center
(
core::Real
&x,
78
core::Real
&y,
79
core::Real
&z);
80
81
void
82
reset
();
83
84
85
private
:
86
void
87
set_vec
(
utility::vector1<core::Real>
& x_vec,
88
utility::vector1<core::Real>
& y_vec,
89
utility::vector1<core::Real>
& z_vec,
90
core::Size
index,
91
core::pose::Pose
const
& pose);
92
93
utility::vector1<core::Real>
x_vec_
;
94
utility::vector1<core::Real>
y_vec_
;
95
utility::vector1<core::Real>
z_vec_
;
96
core::Size
res_num_cur_
;
97
core::Size
res_num_total_
;
98
};
99
100
}
//namespace pcs2
101
}
//namespace methods
102
}
//namespace scoring
103
}
//namespace methods
104
105
#endif
Generated on Sat Jun 1 2013 12:10:57 for Rosetta 3.5 by
1.8.4