Template Class BilinearFastBox

Inheritance Relationships

Base Type

Class Documentation

template<typename BaseVecT>
class BilinearFastBox : public lvr2::FastBox<BaseVecT>

Public Functions

BilinearFastBox(BaseVecT center)
virtual ~BilinearFastBox()
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.

Parameters:
  • mesh – The reconstructed mesh

  • query_points – A vector containing the query points of the reconstruction grid

  • globalIndex – The index of the newest vertex in the mesh, i.e. a newly generated vertex shout have the index globalIndex + 1.

virtual void getSurface(BaseMesh<BaseVecT> &mesh, vector<QueryPoint<BaseVecT>> &query_points, uint &globalIndex, BoundingBox<BaseVecT> &bb, vector<unsigned int> &duplicates, float comparePrecision)
void optimizePlanarFaces(BaseMesh<BaseVecT> &mesh, size_t kc)

Public Static Attributes

static PointsetSurfacePtr<BaseVecT> m_surface