45 |
|
* |
46 |
|
* Created by Charles F. Vardeman II on 14 Dec 2006. |
47 |
|
* @author Charles F. Vardeman II |
48 |
< |
* @version $Id: NanoVolume.hpp,v 1.3 2007-11-22 16:39:44 chuckv Exp $ |
48 |
> |
* @version $Id: NanoVolume.hpp,v 1.6 2008-10-15 18:26:01 chuckv Exp $ |
49 |
|
* |
50 |
|
*/ |
51 |
|
#ifndef APPLICATIONS_STATICPROPS_NANOVOLUME_HPP_ |
52 |
|
#define APPLICATIONS_STATICPROPS_NANOVOLUME_HPP_ |
53 |
– |
|
53 |
|
#include <vector> |
54 |
+ |
#include "config.h" |
55 |
|
#include "math/Vector3.hpp" |
56 |
|
#include "selection/SelectionEvaluator.hpp" |
57 |
|
#include "selection/SelectionManager.hpp" |
58 |
|
#include "applications/staticProps/StaticAnalyser.hpp" |
59 |
|
|
60 |
+ |
#if defined(HAVE_QHULL) || defined(HAVE_CGAL) |
61 |
+ |
#ifdef HAVE_QHULL |
62 |
+ |
#include "math/ConvexHull.hpp" |
63 |
+ |
#endif |
64 |
|
|
65 |
+ |
#ifdef HAVE_CGAL |
66 |
+ |
#include "math/AlphaShape.hpp" |
67 |
+ |
#endif |
68 |
+ |
#endif |
69 |
+ |
|
70 |
|
namespace oopse { |
71 |
|
class NanoVolume : public StaticAnalyser { |
72 |
|
public: |
78 |
|
std::string selectionScript_; |
79 |
|
SelectionManager seleMan_; |
80 |
|
SelectionEvaluator evaluator_; |
81 |
< |
std::vector<Vector3d> pos_; |
81 |
> |
std::vector<StuntDouble*> theAtoms_; |
82 |
|
int frameCounter_; |
83 |
|
RealType totalVolume_; |
84 |
|
|