IMP
2.0.1
The Integrative Modeling Platform
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
AngleTripletScore.h
Go to the documentation of this file.
1
/**
2
* \file IMP/core/AngleTripletScore.h
3
* \brief A Score on the angle between three particles.
4
*
5
* Copyright 2007-2013 IMP Inventors. All rights reserved.
6
*/
7
8
#ifndef IMPCORE_ANGLE_TRIPLET_SCORE_H
9
#define IMPCORE_ANGLE_TRIPLET_SCORE_H
10
11
#include <IMP/core/core_config.h>
12
#include <
IMP/generic.h
>
13
#include <
IMP/TripletScore.h
>
14
#include <
IMP/UnaryFunction.h
>
15
#include <
IMP/Pointer.h
>
16
#include <
IMP/triplet_macros.h
>
17
18
IMPCORE_BEGIN_NAMESPACE
19
20
//! Apply a function to the angle between three particles.
21
/** */
22
class
IMPCOREEXPORT
AngleTripletScore
:
public
TripletScore
23
{
24
IMP::OwnerPointer<UnaryFunction> f_;
25
public
:
26
//! Score the angle (in radians) using f
27
AngleTripletScore
(
UnaryFunction
*f);
28
IMP_SIMPLE_TRIPLET_SCORE
(
AngleTripletScore
);
29
};
30
31
IMPCORE_END_NAMESPACE
32
33
#endif
/* IMPCORE_ANGLE_TRIPLET_SCORE_H */