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
toolbox
pose_metric_calculators
SurfaceCalculator.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 protocols/toolbox/PoseMetricCalculators/SurfaceCalculator.hh
11
/// @brief A Pose metric which will keep track of the surface energy of a Pose object
12
/// @author Ron Jacak
13
14
15
#ifndef INCLUDED_protocols_toolbox_pose_metric_calculators_SurfaceCalculator_hh
16
#define INCLUDED_protocols_toolbox_pose_metric_calculators_SurfaceCalculator_hh
17
18
#include <
core/pose/metrics/PoseMetricCalculatorBase.hh
>
19
#include <
core/pose/Pose.fwd.hh
>
20
#include <
core/types.hh
>
21
#include <basic/MetricValue.fwd.hh>
22
23
#include <utility/vector1.hh>
24
25
26
namespace
protocols {
27
namespace
toolbox {
28
namespace
pose_metric_calculators {
29
30
31
class
SurfaceCalculator
:
public
core::pose::metrics::StructureDependentCalculator
{
32
33
public
:
34
35
SurfaceCalculator
(
bool
remove_nonprotein_res =
false
);
36
~SurfaceCalculator
();
37
38
public
:
39
40
core::pose::metrics::PoseMetricCalculatorOP
clone
()
const
{
return
new
SurfaceCalculator
(
remove_nonprotein_res_
); };
41
42
protected
:
43
44
virtual
void
lookup
(
std::string
const
& key, basic::MetricValueBase* valptr )
const
;
45
virtual
std::string
print
(
std::string
const
& key )
const
;
46
virtual
void
recompute
(
core::pose::Pose
const
& this_pose );
47
48
private
:
49
50
core::Real
total_surface_energy_
;
51
bool
remove_nonprotein_res_
;
52
utility::vector1< core::Real >
residue_surface_energy_
;
53
54
};
55
56
57
}
// namespace pose_metric_calculators
58
}
// namespace toolbox
59
}
// namespace protocols
60
61
#endif
Generated on Sat Jun 1 2013 12:22:51 for Rosetta 3.5 by
1.8.4