HE_Mesh2014
2.0.11
|
Public Attributes | |
HE_Mesh | parent |
Additional Inherited Members | |
![]() | |
final void | replaceFaces (final HE_Face[] faces) |
final void | replaceFaces (final HE_Mesh mesh) |
final void | replaceVertices (final HE_Mesh mesh) |
final void | replaceHalfedges (final HE_Mesh mesh) |
final void | replaceFaces (final List< HE_Face > faces) |
final void | replaceHalfedges (final HE_Halfedge[] halfedges) |
final void | replaceHalfedges (final List< HE_Halfedge > halfedges) |
final void | replaceVertices (final HE_Vertex[] vertices) |
final void | replaceVertices (final List< HE_Vertex > vertices) |
![]() | |
abstract void | clear () |
![]() | |
abstract void | clear () |
![]() | |
HE_RAS< HE_Vertex > | vertices |
HE_RAS< HE_Halfedge > | halfedges |
HE_RAS< HE_Halfedge > | edges |
HE_RAS< HE_Halfedge > | unpairedHalfedges |
HE_RAS< HE_Face > | faces |
![]() | |
boolean | visited |
![]() | |
final long | _key |
long | _labels |
![]() | |
static final WB_GeometryFactory | geometryfactory = WB_GeometryFactory.instance() |
static final WB_ProgressTracker | tracker = WB_ProgressTracker.instance() |
![]() | |
static AtomicLong | _currentKey =new AtomicLong(0) |
Collection of mesh elements. Contains methods to manipulate selections
wblut.hemesh.HE_Selection.HE_Selection | ( | final HE_Mesh | parent | ) |
Instantiates a new HE_Selection.
parent |
void wblut.hemesh.HE_Selection.add | ( | final HE_Selection | sel | ) |
Add selection.
sel | selection to add |
HE_Selection wblut.hemesh.HE_Selection.cleanSelection | ( | ) |
Clean current selection, removes all elements no longer part of mesh.
void wblut.hemesh.HE_Selection.collectEdgesByFace | ( | ) |
Collect edges belonging to face selection.
void wblut.hemesh.HE_Selection.collectEdgesByVertex | ( | ) |
void wblut.hemesh.HE_Selection.collectFaces | ( | ) |
Collect faces belonging to selection elements.
void wblut.hemesh.HE_Selection.collectHalfedges | ( | ) |
Collect halfedges belonging to face selection.
void wblut.hemesh.HE_Selection.collectVertices | ( | ) |
Collect vertices belonging to selection elements.
void wblut.hemesh.HE_Selection.completeFromFaces | ( | ) |
Add all halfedges and vertices belonging to the faces of the selection, except the outer boundary halfedges that belong to other faces. This clears all vertices and halfedges that might have been part of the selection. It also makes sure that vertices only refer to halfedges inside the selection. After this operation is done, the selection is in essence a self-consistent, open submesh, lacking only the halfedge caps on the boundaries that could refer to non-included faces.
HE_Selection wblut.hemesh.HE_Selection.get | ( | ) |
Copy selection.
HE_Mesh wblut.hemesh.HE_Selection.getAsMesh | ( | ) |
Creates a submesh from the faces in the selection. The original mesh is not modified. It is not necessary to use completeFromFaces before using this operation.
List<HE_Vertex> wblut.hemesh.HE_Selection.getBoundaryVertices | ( | ) |
Get vertices in selection on mesh boundary.
List<HE_Halfedge> wblut.hemesh.HE_Selection.getInnerEdges | ( | ) |
Get inner edges.
List<HE_Halfedge> wblut.hemesh.HE_Selection.getInnerHalfedges | ( | ) |
Get innerhalfedges.
List<HE_Vertex> wblut.hemesh.HE_Selection.getInnerVertices | ( | ) |
Get inner vertices.
List<HE_Halfedge> wblut.hemesh.HE_Selection.getOuterEdges | ( | ) |
Get outer edges.
List<HE_Halfedge> wblut.hemesh.HE_Selection.getOuterHalfedges | ( | ) |
Get outer halfedges.
List<HE_Halfedge> wblut.hemesh.HE_Selection.getOuterHalfedgesInside | ( | ) |
Get outer halfedges.
List<HE_Vertex> wblut.hemesh.HE_Selection.getOuterVertices | ( | ) |
Get outer vertices.
void wblut.hemesh.HE_Selection.grow | ( | ) |
Grow face selection outwards by one face.
void wblut.hemesh.HE_Selection.grow | ( | final int | n | ) |
Grow face selection outwards.
n | number of faces to grow |
void wblut.hemesh.HE_Selection.intersect | ( | final HE_Selection | sel | ) |
Remove elements outside selection.
sel | selection to check |
HE_Selection wblut.hemesh.HE_Selection.invertEdges | ( | ) |
Invert current edge election.
HE_Selection wblut.hemesh.HE_Selection.invertFaces | ( | ) |
Invert current face selection.
HE_Selection wblut.hemesh.HE_Selection.invertHalfedges | ( | ) |
Invert current halfedge selection.
HE_Selection wblut.hemesh.HE_Selection.invertSelection | ( | ) |
Invert current selection.
HE_Selection wblut.hemesh.HE_Selection.invertVertices | ( | ) |
Invert current vertex selection.
|
static |
Select all faces on boundary.
|
static |
Select all mesh elements.
|
static |
|
static |
|
static |
|
static |
Select all halfedges on inside of boundary.
|
static |
Select all halfedges on outside of boundary.
|
static |
|
static |
P |
|
static |
P |
|
static |
P |
|
static |
Select all edges on boundary.
|
static |
Select all vertices on boundary.
|
static |
P |
|
static |
P |
|
static |
|
static |
Select all faces with given label.
label |
|
static |
v |
|
static |
|
static |
|
static |
Select all faces except with given label.
label |
|
static |
label |
|
static |
label |
|
static |
P |
|
static |
P |
|
static |
P |
|
static |
P |
|
static |
r |
|
static |
r | |
seed |
|
static |
r |
|
static |
r | |
seed |
|
static |
r |
|
static |
r | |
seed |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void wblut.hemesh.HE_Selection.shrink | ( | ) |
Grow face selection inwards by one face.
void wblut.hemesh.HE_Selection.shrink | ( | final int | n | ) |
Shrink face selection inwards.
n | number of faces to shrink |
void wblut.hemesh.HE_Selection.smooth | ( | final int | threshold | ) |
Add faces with certain number of edges in selection to selection.
threshold | number of edges that have to belong to the selection before a face is added |
void wblut.hemesh.HE_Selection.smooth | ( | final double | threshold | ) |
Add faces with certain proportion of edges in selection to selection.
threshold | number of edges that have to belong to the selection before a face is added |
void wblut.hemesh.HE_Selection.subtract | ( | final HE_Selection | sel | ) |
Remove selection.
sel | selection to remove |
void wblut.hemesh.HE_Selection.surround | ( | ) |
Select faces surrounding current face selection.
void wblut.hemesh.HE_Selection.surround | ( | final int | n | ) |
Select faces surrounding current face selection at a distance of n-1 faces.
n | distance to current selection |
void wblut.hemesh.HE_Selection.union | ( | final HE_Selection | sel | ) |
sel |
HE_Mesh wblut.hemesh.HE_Selection.parent |