ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
cluster.h
Go to the documentation of this file.
1 #ifndef CLUSTER_H
2 #define CLUSTER_H
3 
4 #include <pcl/PointIndices.h> // for PointIndicesPtr
5 
6 #include <cstddef> // for size_t
7 #include <vector>
8 
9 class Cluster {
10 protected:
12  std::vector<pcl::PointIndicesPtr> clusters;
13 
14 public:
15  Cluster(){};
16  Cluster(std::vector<pcl::PointIndicesPtr> const &clusters, size_t pointIndexCount);
17 
18  std::vector<pcl::PointIndicesPtr> const &getClusters() const;
19  size_t getPointIndexCount() const;
20 };
21 
22 #endif
Cluster::Cluster
Cluster()
Definition: cluster.h:15
Cluster::pointIndexCount
size_t pointIndexCount
Definition: cluster.h:11
Cluster
Definition: cluster.h:9
Cluster::getClusters
std::vector< pcl::PointIndicesPtr > const & getClusters() const
Definition: cluster.cxx:9
Cluster::clusters
std::vector< pcl::PointIndicesPtr > clusters
Definition: cluster.h:12
Cluster::getPointIndexCount
size_t getPointIndexCount() const
Definition: cluster.cxx:14