39 #ifndef H_OGF_MESH_COMMANDS_MESH_GROB_SELECTIONS_COMMANDS_H
40 #define H_OGF_MESH_COMMANDS_MESH_GROB_SELECTIONS_COMMANDS_H
75 void enlarge_selection(
index_t nb_times=1);
77 void shrink_selection(
index_t nb_times=1);
79 void close_small_holes_in_selection(
index_t hole_size=1);
81 void invert_selection();
83 void delete_selected_elements(
84 bool delete_isolated_vertices =
true
87 void hide_selection();
152 bool add_to_selection=
false,
bool test_adjacent_facets=
true
Base class for Commands related with a MeshGrob object.
Commands that manipulate mesh selections.
void set_selection(const std::string &selection="*")
sets the visible selection
void show_vertices_selection()
void show_facets_selection()
void select_duplicated_facets()
For each set of duplicated facet, select one facet of the set. \menu Facets.
void select_duplicated_vertices(double tolerance=0.0)
Selects all the vertices that are duplicated in a mesh.
void select_facets_on_border()
Selects the facets incident to the border.
void select_intersecting_facets(bool add_to_selection=false, bool test_adjacent_facets=true)
Selects facets that have an intersection with another facet of the same mesh.
void select_vertices_on_degenerate_facets()
Selects all the vertices on triangles with their three vertices that are colinear....
void select_facets_from_vertices_selection()
Selects facets that have all their vertices selected \menu Facets.
void select_degenerate_facets(bool add_to_selection=false)
Selects facets with zero-area.
void unselect_vertices_on_surface_border()
Unselects all the vertices on the border of a surface. \menu Vertices.
void show_cells_selection()
MeshElementsFlags visible_selection() const
Gets the selection displayed in the current shader, or MESH_NONE if no selection is displayed.
~MeshGrobSelectionsCommands() override
MeshGrobSelectionsCommands destructor.
MeshGrobSelectionsCommands()
MeshGrobSelectionsCommands constructor.
void select_vertices_on_surface_border()
Selects all the vertices on the border of a surface. \menu Vertices.
Base class for Commands related with a MeshGrob object.
geo_index_t index_t
The type for storing and manipulating indices.
Global Graphite namespace.
Definitions common to all include files in the mesh library.