| 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.1 2007-09-17 20:11:47 chuckv Exp $ |
| 48 |
> |
* @version $Id: NanoVolume.hpp,v 1.4 2007-12-06 20:40:30 chuckv Exp $ |
| 49 |
|
* |
| 50 |
|
*/ |
| 51 |
|
#ifndef APPLICATIONS_STATICPROPS_NANOVOLUME_HPP_ |
| 52 |
|
#define APPLICATIONS_STATICPROPS_NANOVOLUME_HPP_ |
| 53 |
– |
|
| 53 |
|
#include <vector> |
| 54 |
< |
#include "math/vector3.hpp" |
| 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: |
| 80 |
|
SelectionEvaluator evaluator_; |
| 81 |
|
std::vector<Vector3d> pos_; |
| 82 |
|
int frameCounter_; |
| 83 |
+ |
RealType totalVolume_; |
| 84 |
|
|
| 85 |
|
}; |
| 86 |
|
} |