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
qsar
RenderGridsToKinemage.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/ligand_docking/qsar/RenderGridsToKinemage.hh
11
/// @author Sam DeLuca
12
13
#ifndef INCLUDED_protocols_qsar_RenderGridsToKinemage_HH
14
#define INCLUDED_protocols_qsar_RenderGridsToKinemage_HH
15
16
// AUTO-REMOVED #include <core/pose/Pose.hh>
17
18
#include <
protocols/moves/Mover.hh
>
19
#include <utility/io/ozstream.fwd.hh>
20
#include <utility/tag/Tag.fwd.hh>
21
#include <
protocols/moves/DataMap.fwd.hh
>
22
#include <
protocols/filters/Filter.fwd.hh
>
23
#include <
protocols/qsar/scoring_grid/SingleGrid.fwd.hh
>
24
25
#include <
protocols/qsar/RenderGridsToKinemage.fwd.hh
>
26
#include <numeric/xyzVector.hh>
27
28
#include <utility/vector1.hh>
29
30
31
32
namespace
protocols {
33
namespace
qsar {
34
35
struct
ColorGradient
36
{
37
ColorGradient
(
numeric::xyzVector<core::Real>
const
& value,
38
core::Real
const
& lower,
39
core::Real
const
& upper,
40
std::string
const
& name );
41
42
numeric::xyzVector<core::Real>
color_value
;
43
core::Real
lower_bound
;
44
core::Real
upper_bound
;
45
std::string
color_name
;
46
};
47
48
class
RenderGridsToKinemage
:
public
protocols::moves::Mover
49
{
50
public
:
51
52
RenderGridsToKinemage
();
53
RenderGridsToKinemage
(
RenderGridsToKinemage
const
& mover);
54
virtual
~RenderGridsToKinemage
();
55
virtual
moves::MoverOP
clone
()
const
;
56
virtual
std::string
get_name
()
const
;
57
virtual
void
apply
(
core::pose::Pose
& pose);
58
virtual
void
parse_my_tag
(
utility::tag::TagPtr
const
tag,
59
moves::DataMap
& data,
60
filters::Filters_map
const
& filters,
61
protocols::moves::Movers_map
const
& movers,
62
core::pose::Pose
const
& pose
63
);
64
private
:
65
66
void
setup_colors
();
67
void
setup_one_color_scheme
();
68
void
setup_two_color_scheme
();
69
void
setup_three_color_scheme
();
70
void
write_points
(utility::io::ozstream & kin_file);
71
void
write_colors
(utility::io::ozstream & kin_file);
72
void
write_header
(utility::io::ozstream & kin_file);
73
74
private
:
75
std::string
filename_
;
76
core::Size
color_mode_
;
77
core::Size
gradient_bins_
;
78
core::Size
stride_
;
79
//core::Real low_cut_;
80
//core::Real high_cut_;
81
std::string
grid_name_
;
82
numeric::xyzVector<core::Real>
color_
;
83
numeric::xyzVector<core::Real>
low_color_
;
84
numeric::xyzVector<core::Real>
zero_color_
;
85
numeric::xyzVector<core::Real>
high_color_
;
86
utility::vector1<ColorGradient>
color_data_
;
87
scoring_grid::SingleGridOP
grid_
;
88
89
};
90
91
}
92
}
93
#endif
Generated on Sat Jun 1 2013 12:08:17 for Rosetta 3.5 by
1.8.4