19 RegularPatchConstructor() {};
21 bool isSamePatchType(
const VertexHandle& a_VertexHandle, MeshType& a_Mesh,
bool check_marked =
false)
override;
24 Patch getPatch(
const std::vector<VertexHandle>& a_NBVertexHandles, MeshType& a_Mesh);
25 Matrix getPatchMat(
const std::vector<VertexHandle>& a_NBVertexHandles, MeshType& a_Mesh);
28 const Mat9x9d m_Mask =
Matrix({
29 {0.25, 0.25, 0, 0.25, 0.25, 0, 0, 0, 0},
30 {0, 0.5, 0, 0, 0.5, 0, 0, 0, 0},
31 {0, 0.25, 0.25, 0, 0.25, 0.25, 0, 0, 0},
32 {0, 0, 0, 0.5, 0.5, 0, 0, 0, 0},
33 {0, 0, 0, 0, 1, 0, 0, 0, 0},
34 {0, 0, 0, 0, 0.5, 0.5, 0, 0, 0},
35 {0, 0, 0, 0.25, 0.25, 0, 0.25, 0.25, 0},
36 {0, 0, 0, 0, 0.5, 0, 0, 0.5, 0},
37 {0, 0, 0, 0, 0.25, 0.25, 0, 0.25, 0.25}
53 std::vector<VertexHandle>
initNeighborVerts(
const VertexHandle& a_VertexHandle, MeshType& a_Mesh);
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 RegularPatchConstructor.cpp:48
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 RegularPatchConstructor.cpp:9