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_ */
lvr2::coord
Definition: DataStruct.hpp:55
lvr2::DMCVecPointHandle::~DMCVecPointHandle
virtual ~DMCVecPointHandle()
Destructor.
Definition: DMCVecPointHandle.hpp:60
DMCPointHandle.hpp
lvr2::DMCVecPointHandle::containedPoints
vector< vector< coord< float > * > > containedPoints
Definition: DMCVecPointHandle.hpp:85
lvr2::DMCVecPointHandle
Definition: DMCVecPointHandle.hpp:46
lvr2::DMCVecPointHandle::DMCVecPointHandle
DMCVecPointHandle(vector< coord< float > * > points)
Constructor.
lvr2::DMCVecPointHandle::clear
virtual void clear()
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::DMCVecPointHandle::split
virtual void split(int index, vector< coord< float > * > splittedPoints[8], bool dual)
Splits the points of a specific cell into 8 subcelld.
lvr2::DMCVecPointHandle::getContainedPoints
virtual vector< coord< float > * > getContainedPoints(int index)
Get the Contained Points object at given index.
lvr2::DMCPointHandle
Definition: DMCPointHandle.hpp:45


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 Wed Mar 2 2022 00:37:23