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
kfusion::LVRPipeline
Definition: LVRPipeline.hpp:32
kfusion::TSDFSlice
Definition: types.hpp:37
types.hpp
HMesh
HalfEdgeKinFuMesh< cVertex, lvr::Normal< float > > HMesh
Definition: FusionStage.hpp:62
tsdf_volume.hpp
kfusion::LVRPipeline::pl_
LinearPipeline< pair< TSDFSlice, bool >, MeshPtr > pl_
Definition: LVRPipeline.hpp:53
HMesh
HalfEdgeKinFuMesh< cVertex, lvr::Normal< float > > HMesh
Definition: LVRPipeline.hpp:27
MeshStage.hpp
OptimizeStage.hpp
kfusion::LVRPipeline::slice_count_
size_t slice_count_
Definition: LVRPipeline.hpp:51
kfusion
Utility.
Definition: capture.hpp:8
projective_icp.hpp
cVertex
ColorVertex< float, unsigned char > cVertex
Definition: LVRPipeline.hpp:26
kfusion::LVRPipeline::meshPtr_
MeshPtr meshPtr_
Definition: LVRPipeline.hpp:50
kfusion::KinFuParams
Definition: types.hpp:127
LinearPipeline.hpp
FusionStage.hpp
MeshPtr
HMesh * MeshPtr
Definition: FusionStage.hpp:63
LinearPipeline
Definition: LinearPipeline.hpp:51
kfusion::LVRPipeline::getMesh
MeshPtr getMesh()
Definition: LVRPipeline.hpp:44
kfusion::LVRPipeline::timeStats_
std::vector< double > timeStats_
Definition: LVRPipeline.hpp:52
MeshPtr
HMesh * MeshPtr
Definition: LVRPipeline.hpp:28
GridStage.hpp


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