3#include <OpenMesh/Core/Mesh/PolyMesh_ArrayKernelT.hh>
4#include "PatchConstructor.hpp"
5#include "../Helper/Helper.hpp"
21 PolarPatchConstructor()
29 bool isSamePatchType(
const VertexHandle& a_VertexHandle, MeshType& a_Mesh,
bool check_marked =
false)
override;
125 std::vector<VertexHandle>
initNeighborVerts(
const VertexHandle& a_VertexHandle, MeshType& a_Mesh);
A builder class for constructing Bézier patches from a mesh.
Definition PatchBuilder.hpp:28
Abstract base class for patch constructors.
Definition PatchConstructor.hpp:66
std::vector< VertexHandle > initNeighborVerts(const VertexHandle &a_VertexHandle, MeshType &a_Mesh)
Gather the list of neighboring vertices around a given vertex in the expected order to be compatable ...
Definition PolarPatchConstructor.cpp:113
int m_NumOfSct
The number of sections in the polar patch.
Definition PolarPatchConstructor.hpp:66
bool isSamePatchType(const VertexHandle &a_VertexHandle, MeshType &a_Mesh, bool check_marked=false) override
Given a vertex, checks wither the vertex and the neighborhood arund the vertex of this patch type.
Definition PolarPatchConstructor.cpp:47
Mat84x8d getMaskSct7()
Retrieves the mask for the polar patch with valence = 7.
Definition PolarPatchConstructor.cpp:34
Mat96x9d getMaskSct8()
Retrieves the mask for the polar patch with valence = 8.
Definition PolarPatchConstructor.cpp:40
const Mat72x7d m_MaskSct6
The mask for the polar patch with valence = 6.
Definition PolarPatchConstructor.hpp:51
const Mat96x9d m_MaskSct8
The mask for the polar patch with valence = 8.
Definition PolarPatchConstructor.hpp:61
Mat72x7d getMaskSct6()
Retrieves the mask for the polar patch with valence = 6.
Definition PolarPatchConstructor.cpp:28
std::string getGroupName() const
Returns the name of the patch group this constructor handles.
Definition PolarPatchConstructor.cpp:130
const Mat60x6d m_MaskSct5
The mask for the polar patch with valence = 5.
Definition PolarPatchConstructor.hpp:46
Mat48x5d getMaskSct4()
Retrieves the mask for the polar patch with valence = 4.
Definition PolarPatchConstructor.cpp:16
const Mat36x4d m_MaskSct3
The mask for the polar patch with valence = 3.
Definition PolarPatchConstructor.hpp:36
const Mat48x5d m_MaskSct4
The mask for the polar patch with valence = 4.
Definition PolarPatchConstructor.hpp:41
Mat60x6d getMaskSct5()
Retrieves the mask for the polar patch with valence = 5.
Definition PolarPatchConstructor.cpp:22
Mat36x4d getMaskSct3()
Retrieves the mask for the polar patch with valence = 3.
Definition PolarPatchConstructor.cpp:10
PatchBuilder getPatchBuilder(const VertexHandle &a_VertexHandle, MeshType &a_Mesh, bool mark_gathered=false) override
Constructs a PatchBuilder for the patch type at the given vertex.
Definition PolarPatchConstructor.cpp:66
const Mat84x8d m_MaskSct7
The mask for the polar patch with valence = 7.
Definition PolarPatchConstructor.hpp:56