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
core
pose
metrics
simple_calculators
SasaCalculator.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
11
/// @brief
12
/// @author John Karanicolas
13
14
15
#ifndef INCLUDED_core_pose_metrics_simple_calculators_SasaCalculator_HH
16
#define INCLUDED_core_pose_metrics_simple_calculators_SasaCalculator_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
#include <
core/id/AtomID_Map.hh
>
23
24
#include <basic/options/option.hh>
25
26
#include <utility/vector1.hh>
27
28
29
// option key includes
30
31
#include <basic/options/keys/pose_metrics.OptionKeys.gen.hh>
32
33
34
namespace
core{
35
namespace
pose {
36
namespace
metrics {
37
namespace
simple_calculators {
38
39
class
SasaCalculator
:
public
core::pose::metrics::StructureDependentCalculator
{
40
41
public
:
42
43
SasaCalculator
(
core::Real
probe_r = basic::options::option[basic::options::OptionKeys::pose_metrics::sasa_calculator_probe_radius] ) :
probe_radius_
(probe_r) {}
44
45
core::pose::metrics::PoseMetricCalculatorOP
clone
()
const
{
return
new
core::pose::metrics::simple_calculators::SasaCalculator
(); };
46
47
protected
:
48
virtual
void
lookup
(
std::string
const
& key, basic::MetricValueBase * valptr )
const
;
49
virtual
std::string
print
(
std::string
const
& key )
const
;
50
virtual
void
recompute
(
core::pose::Pose
const
& this_pose );
51
52
private
:
53
54
core::Real
total_sasa_
;
55
core::id::AtomID_Map< core::Real >
atom_sasa_
;
56
utility::vector1< core::Real >
residue_sasa_
;
57
core::Real
probe_radius_
;
58
59
};
60
61
62
}
// namespace simple_calculators
63
}
// namespace metrics
64
}
// namespace pose
65
}
// namespace core
66
67
#endif //INCLUDED_core_pose_metrics_simple_calculators_SasaCalculator_HH
Generated on Sat Jun 1 2013 11:34:22 for Rosetta 3.5 by
1.8.4