DMCVecPointHandle.hpp
Go to the documentation of this file.
1 
28 /*
29  * DMCVecPointHandle.hpp
30  *
31  * @date 22.01.2019
32  * @author Benedikt Schumacher
33  */
34 
35 #ifndef DMCVecPointHandle_H_
36 #define DMCVecPointHandle_H_
37 
38 #include <vector>
40 using std::vector;
41 
42 namespace lvr2
43 {
44 
45 template<typename BaseVecT>
46 class DMCVecPointHandle : public DMCPointHandle<BaseVecT>
47 {
48 public:
49 
55  DMCVecPointHandle(vector<coord<float>*> points);
56 
60  virtual ~DMCVecPointHandle() { };
61 
68  virtual vector<coord<float>*> getContainedPoints(int index);
69 
76  virtual void split(int index,
77  vector<coord<float>*> splittedPoints[8],
78  bool dual);
79 
80  virtual void clear();
81 
82 private:
83 
84  // Vector of vectors containing the cell specific points
85  vector< vector<coord<float>*> > containedPoints;
86 
87 };
88 
89 } // namespace lvr2
90 
91 #include "DMCVecPointHandle.tcc"
92 
93 #endif /* DMCVecPointHandle_H_ */
virtual void clear()
DMCVecPointHandle(vector< coord< float > *> points)
Constructor.
virtual vector< coord< float > * > getContainedPoints(int index)
Get the Contained Points object at given index.
vector< vector< coord< float > * > > containedPoints
virtual ~DMCVecPointHandle()
Destructor.
virtual void split(int index, vector< coord< float > *> splittedPoints[8], bool dual)
Splits the points of a specific cell into 8 subcelld.


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:06