ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
cluster.cxx
Go to the documentation of this file.
1 #include "cluster.h"
2 
3 Cluster::Cluster(std::vector<pcl::PointIndicesPtr> const &clustersIn, size_t pointIndexCountIn)
4 {
5  clusters = clustersIn;
6  pointIndexCount = pointIndexCountIn;
7 }
8 
9 std::vector<pcl::PointIndicesPtr> const &Cluster::getClusters() const
10 {
11  return this->clusters;
12 }
13 
15 {
16  return this->pointIndexCount;
17 }
Cluster::Cluster
Cluster()
Definition: cluster.h:15
Cluster::pointIndexCount
size_t pointIndexCount
Definition: cluster.h:11
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
cluster.h