IMP  2.1.0
The Integrative Modeling Platform
em/embedding.h
Go to the documentation of this file.
1 /**
2  * \file IMP/em/embedding.h
3  * \brief Cluster sets of points.
4  *
5  * Copyright 2007-2013 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPEM_EMBEDDING_H
10 #define IMPEM_EMBEDDING_H
11 
12 #include <IMP/em/em_config.h>
13 #include "DensityMap.h"
15 
16 IMPEM_BEGIN_NAMESPACE
17 
18 
19 /** Generate a set of points from the voxels in a em::DensityMap
20  which are above a certain threshold.
21  */
22 class IMPEMEXPORT HighDensityEmbedding: public statistics::Embedding {
23  algebra::Vector3Ds points_;
24 public:
26  double threshold);
27  algebra::VectorKD get_point(unsigned int i) const IMP_OVERRIDE;
28  unsigned int get_number_of_items() const IMP_OVERRIDE;
30 };
31 
32 IMPEM_END_NAMESPACE
33 
34 #endif /* IMPEM_EMBEDDING_H */
Class for handling density maps.
Class for handling density maps.
Definition: DensityMap.h:98
A Cartesian vector in D-dimensions.
Definition: VectorD.h:48
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Store data to be clustered for embedding based algorithms.
Cluster sets of points.