ProMesh User Manual  v4.3.19
Selection

Tools to perform and to manipulate the current selection. More...

Modules

 Coordinate Range
 Selection by coordinate ranges.
 
 Edges
 Selection tools for edges.
 
 Faces
 Selection tools for faces.
 
 Marks
 Tools to set and remove marks on a mesh.
 
 Subset Based
 Selection by subsets.
 
 Vertices
 Selection tools for vertices.
 
 Volumes
 Selection tools for volumes.
 

Functions

void SelectAll (Mesh *mesh)
 Selects all vertices, edges ,faces and volumes of the current grid. More...
 
void ClearSelection (Mesh *mesh)
 Clears the selection. More...
 
void CloseSelection (Mesh *mesh)
 Selects all associated elements of lower dimensions. More...
 
void SelectSelectionBoundary (Mesh *mesh)
 Selects the boundary of the current selection. More...
 
void SelectElementsByIndexRange (Mesh *mesh, const char *vertex_inds, const char *edge_inds, const char *face_inds, const char *volume_inds, bool clear_selection)
 Selects elements by the given index ranges (e.g.: "0,1,2-5,9,11-23"). More...
 
void InvertSelection (Mesh *mesh, bool vertices, bool edges, bool faces, bool volumes)
 Inverts current selection. More...
 
void ExtendSelection (Mesh *mesh, int neighborhood_size)
 Selects neighbors of selected elements. More...
 
void ExtendSelectionInDirection (Mesh *mesh, int neighborhood_size, const Vec3d *direction, double minAngle, double maxAngle)
 Selects neighbors of selected elements whose center can be reached in the given direction from the center of already selected elements. More...
 

Detailed Description

Tools to perform and to manipulate the current selection.

Function Documentation

◆ ClearSelection()

void ClearSelection ( Mesh mesh)

Clears the selection.

◆ CloseSelection()

void CloseSelection ( Mesh mesh)

Selects all associated elements of lower dimensions.

◆ ExtendSelection()

void ExtendSelection ( Mesh mesh,
int  neighborhood_size 
)

Selects neighbors of selected elements.

◆ ExtendSelectionInDirection()

void ExtendSelectionInDirection ( Mesh mesh,
int  neighborhood_size,
const Vec3d direction,
double  minAngle,
double  maxAngle 
)

Selects neighbors of selected elements whose center can be reached in the given direction from the center of already selected elements.

◆ InvertSelection()

void InvertSelection ( Mesh mesh,
bool  vertices,
bool  edges,
bool  faces,
bool  volumes 
)

Inverts current selection.

◆ SelectAll()

void SelectAll ( Mesh mesh)

Selects all vertices, edges ,faces and volumes of the current grid.

◆ SelectElementsByIndexRange()

void SelectElementsByIndexRange ( Mesh mesh,
const char vertex_inds,
const char edge_inds,
const char face_inds,
const char volume_inds,
bool  clear_selection 
)

Selects elements by the given index ranges (e.g.: "0,1,2-5,9,11-23").

◆ SelectSelectionBoundary()

void SelectSelectionBoundary ( Mesh mesh)

Selects the boundary of the current selection.