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
ImplicitFastClashCheck.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 src/core/scoring/ImplicitFastClashCheck.hh
11
/// @brief does implicit fast clash checking WRT the provided pose
12
/// @author Will Sheffler (will@sheffler.me)
13
14
#ifndef INCLUDED_protocols_scoring_ImplicitFastClashCheck_hh
15
#define INCLUDED_protocols_scoring_ImplicitFastClashCheck_hh
16
17
#include <
core/types.hh
>
18
// AUTO-REMOVED #include <core/kinematics/Stub.hh>
19
#include <
core/pose/Pose.fwd.hh
>
20
#include <numeric/xyzVector.hh>
21
#include <numeric/xyzTriple.hh>
22
#include <ObjexxFCL/FArray3D.hh>
23
#include <utility/vector1.hh>
24
// AUTO-REMOVED #include <utility/io/ozstream.hh>
25
#include <utility/pointer/ReferenceCount.hh>
26
27
#include <platform/types.hh>
28
29
#include <
core/kinematics/Stub.fwd.hh
>
30
#include <utility/io/ozstream.fwd.hh>
31
32
33
namespace
protocols {
34
namespace
scoring {
35
36
class
ImplicitFastClashCheck
:
public
utility::pointer::ReferenceCount
{
37
38
public
:
39
///@brief Automatically generated virtual destructor for class deriving directly from ReferenceCount
40
virtual
~ImplicitFastClashCheck
();
41
42
ImplicitFastClashCheck
(
43
core::pose::Pose
const
& pose_in,
44
core::Real
clash_dis
45
);
46
47
ImplicitFastClashCheck
(
48
core::pose::Pose
const
& pose_in,
49
core::Real
clash_dis,
50
utility::vector1<core::Size>
ignore
51
);
52
53
ImplicitFastClashCheck
(
54
utility::vector1<core::pose::Pose>
const
& poses_in,
55
core::Real
clash_dis,
56
utility::vector1<core::Size>
ignore
57
);
58
59
void
60
init_clash_check
(
61
utility::vector1<core::pose::Pose>
const
& poses,
62
core::Real
neighbor_cutoff,
63
utility::vector1<core::Size>
ignore
64
);
65
66
bool
67
clash_check
(
68
numeric::xyzVector<core::Real>
const
& pp
69
)
const
;
70
71
platform::uint
72
clash_count
(
73
numeric::xyzVector<core::Real>
const
& pp
74
)
const
;
75
76
bool
77
clash_check
(
78
numeric::xyzVector<core::Real>
const
& pp,
79
core::Size
resno
80
)
const
;
81
82
// bool
83
// clash_check(
84
// core::pose::Pose const & pose,
85
// core::Size refrsd
86
// ) const;
87
//
88
// bool
89
// clash_check(
90
// core::kinematics::Stub const & stub,
91
// numeric::xyzVector<core::Real> pos
92
// ) const;
93
//
94
bool
95
clash_check_trimer
(
96
core::pose::Pose
const
& pose,
97
Size
refrsd
98
)
const
;
99
100
void
101
dump_debug_pdb
(
102
utility::io::ozstream & out,
103
core::kinematics::Stub
const
& stub,
104
char
chain =
'Z'
105
)
const
;
106
107
void
108
dump_debug_pdb
(
109
std::string
const
& fname,
110
core::kinematics::Stub
const
& stub,
111
char
chain =
'Z'
112
)
const
;
113
114
bool
115
clash_check_test
(
numeric::xyzVector<core::Real>
const
& pp )
const
;
116
117
core::Size
size
() {
118
return
points_
.size();
119
}
120
121
private
:
122
123
core::pose::PoseCOP
pose_
;
124
125
utility::vector1<numeric::xyzVector<core::Real>
>
points_
;
126
127
utility::vector1<core::Size>
resno_
;
128
129
utility::vector1<core::Size>
atomno_
;
130
131
ObjexxFCL::FArray3D< utility::vector1<unsigned int> >
cubes_
;
132
133
numeric::xyzVector<core::Real>
bbl_
;
134
135
numeric::xyzTriple< core::Size >
cube_dim_
;
136
137
core::Real
side_inv_
,
neighbor_cutoff_
,
neighbor_cutoff_sq_
;
138
139
ObjexxFCL::FArray3D< utility::vector1<numeric::xyzVector<core::Real> > >
cubes_ca_
;
140
numeric::xyzVector<core::Real>
bbl_ca_
;
141
numeric::xyzTriple< core::Size >
cube_dim_ca_
;
142
core::Real
side_inv_ca_
,
neighbor_cutoff_ca_
,
neighbor_cutoff_sq_ca_
;
143
144
};
145
146
}
// namespace scoring {
147
}
// namespace protocols {
148
149
#endif // INCLUDED_protocols_scoring_methods_ImplicitFastClashCheck_hh
Generated on Sat Jun 1 2013 12:10:24 for Rosetta 3.5 by
1.8.4