LVRPipeline.hpp
Go to the documentation of this file.
1 #ifndef LVR2_PIPELINE_HPP_
2 #define LVR2_PIPELINE_HPP_
3 
4 #include <lvr/reconstruction/FastReconstruction.hpp>
5 #include <lvr/reconstruction/TSDFGrid.hpp>
6 #include <lvr/reconstruction/PointsetSurface.hpp>
7 #include <lvr/reconstruction/FastBox.hpp>
8 #include <lvr/io/PointBuffer.hpp>
9 #include <lvr/io/DataStruct.hpp>
10 #include <lvr/io/Timestamp.hpp>
11 #include <lvr/geometry/HalfEdgeVertex.hpp>
12 #include <lvr/geometry/HalfEdgeKinFuMesh.hpp>
13 #include <lvr/geometry/BoundingBox.hpp>
14 #include <kfusion/types.hpp>
18 #include <kfusion/GridStage.hpp>
19 #include <kfusion/MeshStage.hpp>
21 #include <kfusion/FusionStage.hpp>
22 
23 
24 using namespace lvr;
25 
26 typedef ColorVertex<float, unsigned char> cVertex;
27 typedef HalfEdgeKinFuMesh<cVertex, lvr::Normal<float> > HMesh;
28 typedef HMesh* MeshPtr;
29 
30 namespace kfusion
31 {
33  {
34  public:
35 
36  LVRPipeline(KinFuParams params);
37 
38  ~LVRPipeline();
39 
40  void addTSDFSlice(TSDFSlice slice, const bool last_shift);
41 
42  void resetMesh();
43 
44  MeshPtr getMesh() {return pl_.GetResult();}
45 
46  double calcTimeStats();
47 
48  private:
49 
51  size_t slice_count_;
52  std::vector<double> timeStats_;
54 
55  };
56 }
57 #endif
HalfEdgeKinFuMesh< cVertex, lvr::Normal< float > > HMesh
Definition: FusionStage.hpp:62
HalfEdgeKinFuMesh< cVertex, lvr::Normal< float > > HMesh
Definition: LVRPipeline.hpp:27
std::vector< double > timeStats_
Definition: LVRPipeline.hpp:52
HMesh * MeshPtr
Definition: FusionStage.hpp:63
ColorVertex< float, unsigned char > cVertex
Definition: LVRPipeline.hpp:26
LinearPipeline< pair< TSDFSlice, bool >, MeshPtr > pl_
Definition: LVRPipeline.hpp:53
Utility.
Definition: capture.hpp:8
HMesh * MeshPtr
Definition: LVRPipeline.hpp:28


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:08