![]() |
Polyhedral-net Splines
|
Patch constructor for patches consisting of two triangles and two quads. Designed for patch next to a polar patch. See PatchConstructor. More...
#include <TwoTrianglesTwoQuadsPatchConstructor.hpp>
Public Member Functions | |
| 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. | |
| 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. | |
| Patch | getPatch (const std::vector< VertexHandle > &a_NBVertexHandles, MeshType &a_Mesh) |
| Mat9x3d | getPatchMat (const std::vector< VertexHandle > &a_NBVertexHandles, MeshType &a_Mesh) |
| Public Member Functions inherited from PatchConstructor | |
| virtual bool | isSamePatchType (const FaceHandle &, MeshType &a_Mesh, bool check_marked=false) |
| Given a face, checks wither the face and the neighborhood arund the face of this patch type. | |
| virtual PatchBuilder | getPatchBuilder (const FaceHandle &, MeshType &a_Mesh, bool mark_gathered=false) |
| Constructs a PatchBuilder for the patch type at the given face. | |
Private Member Functions | |
| 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 with mask. ex: | |
| std::string | getGroupName () const |
| Returns the name of the patch group this constructor handles. | |
Private Attributes | |
| const Mat9x9d | m_Mask |
Patch constructor for patches consisting of two triangles and two quads. Designed for patch next to a polar patch. See PatchConstructor.
|
privatevirtual |
Returns the name of the patch group this constructor handles.
This method must be implemented in derived classes to return the specific patch group name.
Implements PatchConstructor.
|
overridevirtual |
Constructs a PatchBuilder for the patch type at the given vertex.
| a_Mesh | The mesh to which the vertex belongs. |
| mark_gathered | If true, all vertices gathered for the patch will be marked. See Helper::mark_vert. |
| std::runtime_error | if not implemented in derived class. |
Reimplemented from PatchConstructor.
|
private |
Gather the list of neighboring vertices around a given vertex in the expected order to be compatable with mask. ex:
| a_VertexHandle | The vertex handle around for which to initialize neighbors. |
| a_Mesh | The mesh to which the vertex belongs. |
|
overridevirtual |
Given a vertex, checks wither the vertex and the neighborhood arund the vertex of this patch type.
| a_Mesh | The mesh to which the vertex belongs. |
| check_marked | If true, the function will return false if the vertex is marked. See Helper::is_marked. |
Reimplemented from PatchConstructor.
|
private |