Template Class SharpBox
Defined in File SharpBox.hpp
Inheritance Relationships
Base Type
public lvr2::FastBox< BaseVecT >(Template Class FastBox)
Class Documentation
-
template<typename BaseVecT>
class SharpBox : public lvr2::FastBox<BaseVecT> Used for extended marching cubes Reconstruction.
Public Functions
-
virtual ~SharpBox()
-
virtual void getSurface(BaseMesh<BaseVecT> &mesh, vector<QueryPoint<BaseVecT>> &query_points, uint &globalIndex)
Performs a local reconstruction w.r.t. to sharp features.
- 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.
-
inline virtual void getSurface(std::vector<float> &vBuffer, std::vector<unsigned int> &fBuffer, vector<QueryPoint<BaseVecT>> &query_points, uint &globalIndex)
-
inline virtual void getSurface(BaseMesh<BaseVecT> &mesh, vector<QueryPoint<BaseVecT>> &query_points, uint &globalIndex, BoundingBox<BaseVecT> &bb, vector<unsigned int> &duplicates, float comparePrecision)
Public Static Attributes
-
static float m_theta_sharp
-
static float m_phi_corner
-
static PointsetSurfacePtr<BaseVecT> m_surface
-
virtual ~SharpBox()