BilinearFastBox.hpp
Go to the documentation of this file.
1 
35 #ifndef _LVR2_RECONSTRUCTION_BILINEARFASTBOX_H_
36 #define _LVR2_RECONSTRUCTION_BILINEARFASTBOX_H_
37 
40 
41 namespace lvr2
42 {
43 
44 template<typename BaseVecT>
45 class BilinearFastBox : public FastBox<BaseVecT>
46 {
47 public:
48  BilinearFastBox(BaseVecT center);
49  virtual ~BilinearFastBox();
50 
62  virtual void getSurface(
64  vector<QueryPoint<BaseVecT>>& query_points,
65  uint &globalIndex
66  );
67  virtual void getSurface(
69  vector<QueryPoint<BaseVecT>>& query_points,
70  uint& globalIndex,
72  vector<unsigned int>& duplicates,
73  float comparePrecision
74  );
75 
77 
78  // the point set surface
80 
81 
82 private:
83  vector<FaceHandle> m_faces;
84  int m_mcIndex;
85 
86 };
87 
88 template<typename BaseVecT>
89 struct BoxTraits<BilinearFastBox<BaseVecT>>
90 {
91  static const string type;
92 };
93 
94 
95 
96 } // namespace lvr2
97 
98 #include "lvr2/reconstruction/BilinearFastBox.tcc"
99 
100 #endif /* _LVR2_RECONSTRUCTION_BILINEARFASTBOX_H_ */
PointsetSurface.hpp
lvr2::BoxTraits
Definition: FastBox.hpp:55
FastBox.hpp
lvr2::BilinearFastBox::m_mcIndex
int m_mcIndex
Definition: BilinearFastBox.hpp:84
lvr2::FastBox
A volume representation used by the standard Marching Cubes implementation.
Definition: FastBox.hpp:65
lvr2::PointsetSurfacePtr
std::shared_ptr< PointsetSurface< BaseVecT > > PointsetSurfacePtr
Definition: PointsetSurface.hpp:161
lvr2::BilinearFastBox::optimizePlanarFaces
void optimizePlanarFaces(BaseMesh< BaseVecT > &mesh, size_t kc)
lvr2::BilinearFastBox::m_faces
vector< FaceHandle > m_faces
Definition: BilinearFastBox.hpp:83
lvr2::BilinearFastBox::getSurface
virtual void getSurface(BaseMesh< BaseVecT > &mesh, vector< QueryPoint< BaseVecT >> &query_points, uint &globalIndex)
Performs a local reconstruction according to the standard Marching Cubes table from Paul Bourke.
lvr2::BilinearFastBox::m_surface
static PointsetSurfacePtr< BaseVecT > m_surface
Definition: BilinearFastBox.hpp:79
lvr2::BoundingBox
A dynamic bounding box class.
Definition: BoundingBox.hpp:49
lvr2::QueryPoint
A query Vector for marching cubes reconstructions. It represents a Vector in space together with a 'd...
Definition: QueryPoint.hpp:48
lvr2::BilinearFastBox::~BilinearFastBox
virtual ~BilinearFastBox()
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::BaseMesh
Interface for triangle-meshes with adjacency information.
Definition: BaseMesh.hpp:140
lvr2::BoxTraits< BilinearFastBox< BaseVecT > >::type
static const string type
Definition: BilinearFastBox.hpp:91
lvr2::FastBox::BilinearFastBox
friend class BilinearFastBox
Definition: FastBox.hpp:216
uint
unsigned int uint
Definition: Model.hpp:46
mesh
HalfEdgeMesh< Vec > mesh
Definition: src/tools/lvr2_gs_reconstruction/Main.cpp:26
lvr2::BilinearFastBox
Definition: BilinearFastBox.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:22