Template Class TetraederBox

Inheritance Relationships

Base Type

Class Documentation

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

Used for Marching Tetreader Reconstruction. Dives a regular box into 5 Tetraeders for mesh generation.

Public Functions

TetraederBox(BaseVecT center)

Creates a new tetraeder box with current grid voxel size around the given center point

virtual ~TetraederBox()
virtual void getSurface(BaseMesh<BaseVecT> &mesh, vector<QueryPoint<BaseVecT>> &query_points, uint &globalIndex)

Performs a local reconstruction using a tetraeder decomposition of the current cell.

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.