Template Class CudaKSearchSurface

Inheritance Relationships

Base Type

Class Documentation

template<typename BaseVecT>
class CudaKSearchSurface : public lvr2::PointsetSurface<BaseVecT>

Public Functions

CudaKSearchSurface(PointBufferPtr pbuffer, size_t k)
CudaKSearchSurface()
inline virtual ~CudaKSearchSurface()
virtual std::pair<typename BaseVecT::CoordType, typename BaseVecT::CoordType> distance(BaseVecT v) const

Returns the distance of vertex v from the nearest tangent plane.

Parameters:

p – A grid point

Returns:

The first value is the projected distance from the query point to the isosurface. The second value is the euclidian distance to the nearest data point.

virtual void calculateSurfaceNormals()

Calculates surface normals for each data point in the given PointBuffeer. If the buffer alreay contains normal information it will be overwritten with the new normals.

Protected Attributes

lbvh::LBVHIndex m_tree