Public Member Functions | Private Attributes | List of all members
lvr2::FastReconstruction< BaseVecT, BoxT > Class Template Reference

A surface reconstruction object that implements the standard marching cubes algorithm using a hashed grid structure for parallel computation. More...

#include <FastReconstruction.hpp>

Inheritance diagram for lvr2::FastReconstruction< BaseVecT, BoxT >:
Inheritance graph
[legend]

Public Member Functions

 FastReconstruction (shared_ptr< HashGrid< BaseVecT, BoxT >> grid)
 Constructor. More...
 
virtual void getMesh (BaseMesh< BaseVecT > &mesh)
 Returns the surface reconstruction of the given point set. More...
 
virtual void getMesh (BaseMesh< BaseVecT > &mesh, BoundingBox< BaseVecT > &bb, vector< unsigned int > &duplicates, float comparePrecision)
 
virtual ~FastReconstruction ()
 Destructor. More...
 
- Public Member Functions inherited from lvr2::FastReconstructionBase< BaseVecT >
virtual ~FastReconstructionBase ()=default
 

Private Attributes

shared_ptr< HashGrid< BaseVecT, BoxT > > m_grid
 

Detailed Description

template<typename BaseVecT, typename BoxT>
class lvr2::FastReconstruction< BaseVecT, BoxT >

A surface reconstruction object that implements the standard marching cubes algorithm using a hashed grid structure for parallel computation.

Definition at line 87 of file FastReconstruction.hpp.

Constructor & Destructor Documentation

◆ FastReconstruction()

template<typename BaseVecT , typename BoxT >
lvr2::FastReconstruction< BaseVecT, BoxT >::FastReconstruction ( shared_ptr< HashGrid< BaseVecT, BoxT >>  grid)

Constructor.

Parameters
gridA HashGrid instance on which the reconstruction is performed.

◆ ~FastReconstruction()

template<typename BaseVecT , typename BoxT >
virtual lvr2::FastReconstruction< BaseVecT, BoxT >::~FastReconstruction ( )
inlinevirtual

Destructor.

Definition at line 102 of file FastReconstruction.hpp.

Member Function Documentation

◆ getMesh() [1/2]

template<typename BaseVecT , typename BoxT >
virtual void lvr2::FastReconstruction< BaseVecT, BoxT >::getMesh ( BaseMesh< BaseVecT > &  mesh)
virtual

Returns the surface reconstruction of the given point set.

Parameters
mesh

Implements lvr2::FastReconstructionBase< BaseVecT >.

◆ getMesh() [2/2]

template<typename BaseVecT , typename BoxT >
virtual void lvr2::FastReconstruction< BaseVecT, BoxT >::getMesh ( BaseMesh< BaseVecT > &  mesh,
BoundingBox< BaseVecT > &  bb,
vector< unsigned int > &  duplicates,
float  comparePrecision 
)
virtual

Member Data Documentation

◆ m_grid

template<typename BaseVecT , typename BoxT >
shared_ptr<HashGrid<BaseVecT, BoxT> > lvr2::FastReconstruction< BaseVecT, BoxT >::m_grid
private

Definition at line 120 of file FastReconstruction.hpp.


The documentation for this class was generated from the following file:


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