Go to the documentation of this file.
35 #ifndef LVR2_RECONSTRUCTION_POINTSETSURFACE_HPP_
36 #define LVR2_RECONSTRUCTION_POINTSETSURFACE_HPP_
60 template<
typename BaseVecT>
74 virtual pair<typename BaseVecT::CoordType, typename BaseVecT::CoordType>
103 std::shared_ptr<SearchTree<BaseVecT>>
searchTree()
const;
160 template <
typename BaseVecT>
165 #include "PointsetSurface.tcc"
PointBufferPtr m_pointBuffer
The point cloud used for surface approximation.
const BoundingBox< BaseVecT > & getBoundingBox() const
Returns the bounding box of the point set.
std::shared_ptr< PointBuffer > PointBufferPtr
std::shared_ptr< SearchTree< BaseVecT > > m_searchTree
The search tree that is built from the point cloud data.
BoundingBox< BaseVecT > m_boundingBox
The bounding box of the point cloud.
int m_kd
The number of points used for distance function evaluation.
virtual Normal< float > getInterpolatedNormal(const BaseVecT &position) const
Interpolates a surface normal at the given position.
void setKi(int k)
If k is > 0, each normal will be averaged with its k neighbors.
std::shared_ptr< PointsetSurface< BaseVecT > > PointsetSurfacePtr
std::shared_ptr< SearchTree< BaseVecT > > searchTree() const
Returns a pointer to the search tree.
void setKn(int k)
Sets the size of the k-neighborhood that is used for normal estimation.
An interface class to wrap all functionality that is needed to generate a surface approximation from ...
virtual void calculateSurfaceNormals()=0
Calculates surface normals for each data point in the given PointBuffeer. If the buffer alreay contai...
A dynamic bounding box class.
int m_ki
The number of points used for normal interpolation.
void setKd(int k)
Sets the number of points that is used for distance evaluation, i.e. an average of the distance to th...
virtual pair< typename BaseVecT::CoordType, typename BaseVecT::CoordType > distance(BaseVecT v) const =0
Returns the distance of vertex v from the nearest tangent plane.
int m_kn
The number of points used for normal estimation.
virtual PointBufferPtr pointBuffer() const
Returns the internal point buffer. After a call of calculateSurfaceNormals the buffer will contain no...
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