39 #ifndef H_OGF_MESH_GFX_TOOLS_MESH_GROB_FACET_TOOLS_H
40 #define H_OGF_MESH_GFX_TOOLS_MESH_GROB_FACET_TOOLS_H
42 #include <OGF/mesh_gfx/common/common.h>
66 new_vertex_(NO_VERTEX) {
107 gom_attribute(category,
"facets")
108 gom_attribute(icon, "create_center_vertex")
109 gom_attribute(help, "create new vertex in facet / remove center vertex")
110 gom_attribute(message,
111 "btn1: create center vertex; btn3: remove center vertex"
139 gom_attribute(category,
"facets")
140 gom_attribute(icon, "remove_incident_facets")
141 gom_attribute(help, "remove facets incident to a vertex")
142 gom_attribute(message, "btn1: remove facets incident to vertex")
208 gom_attribute(category,
"facets")
209 gom_attribute(icon, "fill_hole")
210 gom_attribute(help, "fill hole / remove facet")
211 gom_attribute(message, "btn1: fill hole; btn3: remove facet")
236 gom_attribute(category,
"facets")
237 gom_attribute(icon, "move_facet")
238 gom_attribute(help, "move facet / resize facet / rotate facet")
239 gom_attribute(message,
240 "btn1: move facet; btn2: resize facet; btn3: rotate facet"
331 gom_attribute(category,
"facets")
332 gom_attribute(icon, "split_facet")
333 gom_attribute(help, "split facet / merge facets")
334 gom_attribute(message,
335 "btn1: split facet (select vertices); btn3: merge facets (select edge)"
A tool that creates a vertex in the center of a facet.
void drag(const RayPick &p_ndc) override
The event handler for mouse drag events.
void grab(const RayPick &p_ndc) override
MeshGrobCreateCenterVertex(ToolsManager *parent)
MeshGrobCreateCenterVertex constructor.
A tool that creates/removes a vertex in a facet depending on the pushed mouse button.
MeshGrobEditCenterVertex(ToolsManager *parent)
MeshGrobEditCenterVertex constructor.
void reset() override
Resets this Tool.
A tool that splits/merges facets depending on the pushed mouse button.
void reset() override
Resets this Tool.
MeshGrobEditFacetEdge(ToolsManager *parent)
MeshGrobEditFacetEdge constructor.
A tool that create or removes a facet, depending on the pushed mouse button.
MeshGrobEditHole(ToolsManager *parent)
MeshGrobEditHole constructor.
~MeshGrobEditHole() override
MeshGrobEditHole destructor.
A tool that fills a hole by creating a new facet.
MeshGrobFillHole(ToolsManager *parent)
MeshGrobFillHole constructor.
void grab(const RayPick &p_ndc) override
A tool that joins two adjacent facet to form a single one.
void grab(const RayPick &p_ndc) override
MeshGrobJoinFacets(ToolsManager *parent)
MeshGrobJoinFacets constructor.
A tool that removes a vertex and merges all incident facets.
MeshGrobRemoveCenterVertex(ToolsManager *parent)
MeshGrobRemoveCenterVertex constructor.
void grab(const RayPick &p_ndc) override
A tool that removes a facet.
void grab(const RayPick &p_ndc) override
MeshGrobRemoveFacet(ToolsManager *parent)
MeshGrobRemoveFacet constructor.
A tool that removes all facets incident to a vertex.
void grab(const RayPick &p_ndc) override
void reset() override
Resets this Tool.
MeshGrobRemoveIncidentFacets(ToolsManager *parent)
MeshGrobRemoveIncidentFacets constructor.
A tool that splits a facet by creating a new edge between two picked vertices.
void reset() override
Resets this Tool.
void grab(const RayPick &p_ndc) override
MeshGrobSplitFacet(ToolsManager *parent)
MeshGrobsSplitFacet constructor.
geo_index_t index_t
The type for storing and manipulating indices.
Global Graphite namespace.
Represents the information related with a picking event.