FusionStage.hpp
Go to the documentation of this file.
1 /*
2  * Software License Agreement (BSD License)
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  *
8  * * Redistributions of source code must retain the above copyright
9  * notice, this list of conditions and the following disclaimer.
10  * * Redistributions in binary form must reproduce the above
11  * copyright notice, this list of conditions and the following
12  * disclaimer in the documentation and/or other materials provided
13  * with the distribution.
14  * * Neither the name of Willow Garage, Inc. nor the names of its
15  * contributors may be used to endorse or promote products derived
16  * from this software without specific prior written permission.
17  *
18  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
22  * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
24  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
28  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29  * POSSIBILITY OF SUCH DAMAGE.
30  *
31  */
32 /*
33  * FusionStage.hpp
34  *
35  * @date 13.11.2015
36  * @author Tristan Igelbrink (Tristan@Igelbrink.com)
37  */
38 
39 #ifndef FusionStage_HPP__
40 #define FusionStage_HPP__
41 
42 #include "AbstractStage.hpp"
43 #include "BlockingQueue.hpp"
44 #include <list>
45 #include <boost/any.hpp>
46 #include <lvr/reconstruction/PointsetSurface.hpp>
47 #include <lvr/io/PointBuffer.hpp>
48 #include <lvr/io/DataStruct.hpp>
49 #include <lvr/io/Timestamp.hpp>
50 #include <lvr/geometry/HalfEdgeVertex.hpp>
51 #include <lvr/geometry/HalfEdgeKinFuMesh.hpp>
52 #include <lvr/geometry/BoundingBox.hpp>
53 #include <kfusion/types.hpp>
54 
55 
56 using namespace lvr;
57 using namespace kfusion;
58 using namespace std;
59 
60 typedef Vertex<float> fVertex;
61 typedef ColorVertex<float, unsigned char> cVertex;
62 typedef HalfEdgeKinFuMesh<cVertex, lvr::Normal<float> > HMesh;
63 typedef HMesh* MeshPtr;
64 
65 
66 class FusionStage : public AbstractStage
67 {
68 public:
69 
70  // default constructor
72 
73  virtual void firstStep();
74  virtual void step();
75  virtual void lastStep();
76 
77 private:
78 
80  size_t mesh_count_;
82 };
83 #endif // STAGE
FusionStage
Definition: FusionStage.hpp:66
FusionStage::options_
Options * options_
Definition: FusionStage.hpp:79
types.hpp
HMesh
HalfEdgeKinFuMesh< cVertex, lvr::Normal< float > > HMesh
Definition: FusionStage.hpp:62
FusionStage::mesh_
MeshPtr mesh_
Definition: FusionStage.hpp:81
options
const kaboom::Options * options
Definition: src/tools/lvr2_kaboom/Main.cpp:45
kfusion
Utility.
Definition: capture.hpp:8
FusionStage::mesh_count_
size_t mesh_count_
Definition: FusionStage.hpp:80
AbstractStage
Definition: AbstractStage.hpp:49
BlockingQueue.hpp
cVertex
ColorVertex< float, unsigned char > cVertex
Definition: FusionStage.hpp:61
fVertex
Vertex< float > fVertex
Definition: FusionStage.hpp:60
MeshPtr
HMesh * MeshPtr
Definition: FusionStage.hpp:63
std
Definition: HalfEdge.hpp:124
kfusion::Options
A class to parse the program options for the reconstruction executable.
Definition: ext/kintinuous/kfusion/include/kfusion/Options.hpp:51
mesh
HalfEdgeMesh< Vec > mesh
Definition: src/tools/lvr2_gs_reconstruction/Main.cpp:26
AbstractStage.hpp
scripts.create_png.step
step
Definition: create_png.py:42


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