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
scoring
constraints
FourPointsFunc.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
13
14
#ifndef INCLUDED_core_scoring_constraints_FourPointsFunc_hh
15
#define INCLUDED_core_scoring_constraints_FourPointsFunc_hh
16
17
// Unit headers
18
#include <
core/scoring/constraints/FourPointsFunc.fwd.hh
>
19
20
// Package headers
21
#include <
core/scoring/constraints/XYZ_Func.hh
>
22
23
// Utility Headers
24
// AUTO-REMOVED #include <utility/vector1.hh>
25
26
// Numeric Headers
27
// AUTO-REMOVED #include <numeric/xyzVector.hh>
28
29
#include <utility/vector1_bool.hh>
30
31
32
33
namespace
core {
34
namespace
scoring {
35
namespace
constraints {
36
37
/// @brief A simple class that represents the coordinates of four points, pretending
38
/// that they all belong to residue 1. The residue() method is not implemented and
39
/// cause a utility_exit.
40
class
FourPointsFunc
:
public
XYZ_Func
{
41
public
:
42
typedef
XYZ_Func
parent
;
43
typedef
parent::AtomID
AtomID
;
44
typedef
parent::Residue
Residue
;
45
typedef
parent::Conformation
Conformation
;
46
47
public
:
48
FourPointsFunc
();
49
50
virtual
51
~FourPointsFunc
();
52
53
/// @brief set the coordinate for one of the four atoms
54
void
xyz
(
Size
atomid,
Vector
const
& coord );
55
56
virtual
57
Vector
const
&
58
operator()
(
AtomID
const
&
id
)
const
;
59
60
61
virtual
62
Residue
const
&
63
residue
(
Size
seqpos )
const
;
64
65
private
:
66
utility::vector1< Vector >
points_
;
67
};
68
69
70
71
}
// constraints
72
}
// scoring
73
}
// core
74
75
#endif
Generated on Sat Jun 1 2013 11:35:32 for Rosetta 3.5 by
1.8.4