HE_Mesh2014  2.0.11
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | List of all members
wblut.hemesh.HE_MeshStructure Class Reference
+ Inheritance diagram for wblut.hemesh.HE_MeshStructure:

Public Member Functions

 HE_MeshStructure ()
 
 HE_MeshStructure (final HE_MeshStructure ms)
 
void getFacesWithNormal (final WB_Coordinate n, final double ta)
 
final void add (final HE_Face f)
 
final void add (final HE_Halfedge he)
 
final void add (final HE_Vertex v)
 
final void addFaces (final HE_Face[] faces)
 
final void addFaces (final List< HE_Face > faces)
 
final void addFaces (final HE_Mesh source)
 
final void addHalfedges (final HE_Halfedge[] halfedges)
 
final void addHalfedges (final List< HE_Halfedge > halfedges)
 
final void addHalfedges (final HE_Mesh source)
 
final void addVertices (final HE_Vertex[] vertices)
 
final void addVertices (final HE_Mesh source)
 
final void addVertices (final List< HE_Vertex > vertices)
 
void clear ()
 
final void clearFaces ()
 
final void clearHalfedges ()
 
final void clearVertices ()
 
final boolean contains (final HE_Face f)
 
final boolean contains (final HE_Halfedge he)
 
final boolean contains (final HE_Vertex v)
 
final WB_AABB getAABB ()
 
final HE_Face getFaceByIndex (final int i)
 
final HE_Halfedge getHalfedgeByIndex (final int i)
 
final HE_Vertex getVertexByIndex (final int i)
 
final double[] getLimits ()
 
final double[] limits ()
 
int getNumberOfEdges ()
 
final int getNumberOfFaces ()
 
final int getNumberOfHalfedges ()
 
final int getNumberOfVertices ()
 
final void remove (final HE_Face f)
 
final void remove (final HE_Halfedge he)
 
final void remove (final HE_Vertex v)
 
final void removeFace (final int i)
 
final void removeFaces (final HE_Face[] faces)
 
final void removeFaces (final Collection< HE_Face > faces)
 
final void removeHalfedge (final int i)
 
final void removeHalfedges (final HE_Halfedge[] halfedges)
 
final void removeHalfedges (final Collection< HE_Halfedge > halfedges)
 
final void removeVertex (final int i)
 
final void removeVertices (final HE_Vertex[] vertices)
 
final void removeVertices (final Collection< HE_Vertex > vertices)
 
final List< HE_VertexgetVertices ()
 
final List< HE_HalfedgegetHalfedges ()
 
final List< HE_HalfedgegetEdges ()
 
final List< HE_FacegetFaces ()
 
final boolean containsFace (final long key)
 
final boolean containsHalfedge (final long key)
 
final boolean containsVertex (final long key)
 
final int getIndex (final HE_Face f)
 
final int getIndex (final HE_Halfedge he)
 
final int getIndex (final HE_Vertex v)
 
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)
 
HE_VertexIterator vItr ()
 
HE_EdgeIterator eItr ()
 
HE_HalfedgeIterator heItr ()
 
HE_FaceIterator fItr ()
 
final HE_Halfedge[] getEdgesAsArray ()
 
final List< HE_HalfedgegetEdgesAsList ()
 
final HE_Face getFaceByKey (final long key)
 
final HE_Face[] getFacesAsArray ()
 
final List< HE_FacegetFacesAsList ()
 
final HE_Halfedge getHalfedgeByKey (final long key)
 
final HE_Halfedge[] getHalfedgesAsArray ()
 
final List< HE_HalfedgegetHalfedgesAsList ()
 
final HE_Vertex getVertexByKey (final long key)
 
final HE_Vertex[] getVerticesAsArray ()
 
final List< HE_VertexgetVerticesAsList ()
 
void setData (final String s, final Object o)
 
Object getData (final String s)
 
HE_Path createPathFromIndices (final int[] vertices, final boolean loop)
 
HE_Halfedge searchHalfedgeFromTo (final HE_Vertex v0, final HE_Vertex v1)
 
- Public Member Functions inherited from wblut.hemesh.HE_Element
 HE_Element ()
 
final void setInternalLabel (final int label)
 
final void setLabel (final int label)
 
final long getKey ()
 
final int getInternalLabel ()
 
final int getLabel ()
 
int hashCode ()
 
boolean equals (final Object other)
 
void copyProperties (final HE_Element el)
 
abstract void clear ()
 
- Public Member Functions inherited from wblut.geom.WB_HasData
Object getData (String s)
 
void setData (String s, Object o)
 

Static Public Member Functions

static String getStatus ()
 

Public Attributes

HE_RAS< HE_Vertexvertices
 
HE_RAS< HE_Halfedgehalfedges
 
HE_RAS< HE_Facefaces
 

Static Public Attributes

static final HET_ProgressTracker tracker
 

Private Attributes

HashMap< String, Object > _data
 

Additional Inherited Members

- Protected Attributes inherited from wblut.hemesh.HE_Element
final long _key
 
- Static Protected Attributes inherited from wblut.hemesh.HE_Element
static long _currentKey
 
static final WB_GeometryFactory geometryfactory
 

Detailed Description

Collection of mesh elements. Contains methods to manipulate selections

Author
Frederik Vanhoutte (W:Blut)

Constructor & Destructor Documentation

wblut.hemesh.HE_MeshStructure.HE_MeshStructure ( )

Instantiates a new HE_Selection.

wblut.hemesh.HE_MeshStructure.HE_MeshStructure ( final HE_MeshStructure  ms)
Parameters
ms

Member Function Documentation

final void wblut.hemesh.HE_MeshStructure.add ( final HE_Face  f)

Add face.

Parameters
fface to add
final void wblut.hemesh.HE_MeshStructure.add ( final HE_Halfedge  he)

Adds Halfedge.

Parameters
hehalfedge to add
final void wblut.hemesh.HE_MeshStructure.add ( final HE_Vertex  v)

Add vertex.

Parameters
vvertex to add
final void wblut.hemesh.HE_MeshStructure.addFaces ( final HE_Face[]  faces)

Adds faces.

Parameters
facesfaces to add as HE_Face[]
final void wblut.hemesh.HE_MeshStructure.addFaces ( final List< HE_Face faces)

Adds faces.

Parameters
facesfaces to add as List<HE_Face>
final void wblut.hemesh.HE_MeshStructure.addFaces ( final HE_Mesh  source)
Parameters
source
final void wblut.hemesh.HE_MeshStructure.addHalfedges ( final HE_Halfedge[]  halfedges)

Adds halfedges.

Parameters
halfedgeshalfedges to add as HE_Halfedge[]
final void wblut.hemesh.HE_MeshStructure.addHalfedges ( final List< HE_Halfedge halfedges)

Adds halfedges.

Parameters
halfedgeshalfedges to add as List<HE_Halfedge>
final void wblut.hemesh.HE_MeshStructure.addHalfedges ( final HE_Mesh  source)
Parameters
source
final void wblut.hemesh.HE_MeshStructure.addVertices ( final HE_Vertex[]  vertices)

Adds vertices.

Parameters
verticesvertices to add as HE_Vertex[]
final void wblut.hemesh.HE_MeshStructure.addVertices ( final HE_Mesh  source)
Parameters
source
final void wblut.hemesh.HE_MeshStructure.addVertices ( final List< HE_Vertex vertices)

Adds vertices.

Parameters
verticesvertices to add as List<HE_Vertex>
void wblut.hemesh.HE_MeshStructure.clear ( )

Clear entire structure.

final void wblut.hemesh.HE_MeshStructure.clearFaces ( )

Clear faces.

final void wblut.hemesh.HE_MeshStructure.clearHalfedges ( )

Clear halfedges.

final void wblut.hemesh.HE_MeshStructure.clearVertices ( )

Clear vertices.

final boolean wblut.hemesh.HE_MeshStructure.contains ( final HE_Face  f)

Check if structure contains face.

Parameters
fface
Returns
true, if successful
final boolean wblut.hemesh.HE_MeshStructure.contains ( final HE_Halfedge  he)

Check if structure contains halfedge.

Parameters
hehalfedge
Returns
true, if successful
final boolean wblut.hemesh.HE_MeshStructure.contains ( final HE_Vertex  v)

Check if structure contains vertex.

Parameters
vvertex
Returns
true, if successful
final boolean wblut.hemesh.HE_MeshStructure.containsFace ( final long  key)
Parameters
key
Returns
final boolean wblut.hemesh.HE_MeshStructure.containsHalfedge ( final long  key)
Parameters
key
Returns
final boolean wblut.hemesh.HE_MeshStructure.containsVertex ( final long  key)
Parameters
key
Returns
HE_Path wblut.hemesh.HE_MeshStructure.createPathFromIndices ( final int[]  vertices,
final boolean  loop 
)
Parameters
vertices
loop
Returns
HE_EdgeIterator wblut.hemesh.HE_MeshStructure.eItr ( )

Edge iterator.

Returns
edge iterator
HE_FaceIterator wblut.hemesh.HE_MeshStructure.fItr ( )
Returns
final WB_AABB wblut.hemesh.HE_MeshStructure.getAABB ( )

Get axis-aligned bounding box surrounding mesh.

Returns
WB_AABB axis-aligned bounding box
Object wblut.hemesh.HE_MeshStructure.getData ( final String  s)
final List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getEdges ( )
Returns
final HE_Halfedge [] wblut.hemesh.HE_MeshStructure.getEdgesAsArray ( )

Edges as array.

Returns
all edges as HE_Halfedge[]
final List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getEdgesAsList ( )

Edges as arrayList.

Returns
all vertices as FastTable<HE_Halfedge>
final HE_Face wblut.hemesh.HE_MeshStructure.getFaceByIndex ( final int  i)
Parameters
i
Returns
final HE_Face wblut.hemesh.HE_MeshStructure.getFaceByKey ( final long  key)

Get face.

Parameters
keyface key
Returns
face
final List<HE_Face> wblut.hemesh.HE_MeshStructure.getFaces ( )
Returns
final HE_Face [] wblut.hemesh.HE_MeshStructure.getFacesAsArray ( )

Faces as array.

Returns
all faces as HE_Face[]
final List<HE_Face> wblut.hemesh.HE_MeshStructure.getFacesAsList ( )

Faces as arrayList.

Returns
all vertices as FastTable<HE_Face>
void wblut.hemesh.HE_MeshStructure.getFacesWithNormal ( final WB_Coordinate  n,
final double  ta 
)
Parameters
n
ta
final HE_Halfedge wblut.hemesh.HE_MeshStructure.getHalfedgeByIndex ( final int  i)
Parameters
i
Returns
final HE_Halfedge wblut.hemesh.HE_MeshStructure.getHalfedgeByKey ( final long  key)

Get halfedge.

Parameters
keyhalfedge key
Returns
halfedge
final List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getHalfedges ( )
Returns
final HE_Halfedge [] wblut.hemesh.HE_MeshStructure.getHalfedgesAsArray ( )

Halfedges as array.

Returns
all halfedges as HE_Halfedge[]
final List<HE_Halfedge> wblut.hemesh.HE_MeshStructure.getHalfedgesAsList ( )

Halfedges as arrayList.

Returns
all vertices as FastTable<HE_Halfedge>
final int wblut.hemesh.HE_MeshStructure.getIndex ( final HE_Face  f)
Parameters
f
Returns
final int wblut.hemesh.HE_MeshStructure.getIndex ( final HE_Halfedge  he)
Parameters
he
Returns
final int wblut.hemesh.HE_MeshStructure.getIndex ( final HE_Vertex  v)
Parameters
v
Returns
final double [] wblut.hemesh.HE_MeshStructure.getLimits ( )

Get range of vertex coordinates.

Returns
array of limit values: min x, min y, min z, max x, max y, max z
int wblut.hemesh.HE_MeshStructure.getNumberOfEdges ( )

Number of edges.

Returns
the number of edges
final int wblut.hemesh.HE_MeshStructure.getNumberOfFaces ( )

Number of faces.

Returns
the number of faces
final int wblut.hemesh.HE_MeshStructure.getNumberOfHalfedges ( )

Number of halfedges.

Returns
the number of halfedges
final int wblut.hemesh.HE_MeshStructure.getNumberOfVertices ( )

Number of vertices.

Returns
the number of vertices
static String wblut.hemesh.HE_MeshStructure.getStatus ( )
static
Returns
final HE_Vertex wblut.hemesh.HE_MeshStructure.getVertexByIndex ( final int  i)
Parameters
i
Returns
final HE_Vertex wblut.hemesh.HE_MeshStructure.getVertexByKey ( final long  key)

Get vertex.

Parameters
keyvertex key
Returns
vertex
final List<HE_Vertex> wblut.hemesh.HE_MeshStructure.getVertices ( )
Returns
final HE_Vertex [] wblut.hemesh.HE_MeshStructure.getVerticesAsArray ( )

Vertices as array.

Returns
all vertices as HE_Vertex[]
final List<HE_Vertex> wblut.hemesh.HE_MeshStructure.getVerticesAsList ( )

Vertices as arrayList.

Returns
all vertices as FastTable<HE_Vertex>
HE_HalfedgeIterator wblut.hemesh.HE_MeshStructure.heItr ( )

Hslfedge iterator.

Returns
halfedge iterator
final double [] wblut.hemesh.HE_MeshStructure.limits ( )
Returns
final void wblut.hemesh.HE_MeshStructure.remove ( final HE_Face  f)

Removes face.

Parameters
fface to remove
final void wblut.hemesh.HE_MeshStructure.remove ( final HE_Halfedge  he)

Removes halfedge.

Parameters
hehalfedge to remove
final void wblut.hemesh.HE_MeshStructure.remove ( final HE_Vertex  v)

Removes vertex.

Parameters
vvertex to remove
final void wblut.hemesh.HE_MeshStructure.removeFace ( final int  i)
Parameters
i
final void wblut.hemesh.HE_MeshStructure.removeFaces ( final HE_Face[]  faces)

Removes faces.

Parameters
facesfaces to remove as HE_Face[]
final void wblut.hemesh.HE_MeshStructure.removeFaces ( final Collection< HE_Face faces)

Removes faces.

Parameters
facesfaces to remove as List<HE_Face>
final void wblut.hemesh.HE_MeshStructure.removeHalfedge ( final int  i)
Parameters
i
final void wblut.hemesh.HE_MeshStructure.removeHalfedges ( final HE_Halfedge[]  halfedges)

Removes halfedges.

Parameters
halfedgeshalfedges to remove as HE_Halfedge[]
final void wblut.hemesh.HE_MeshStructure.removeHalfedges ( final Collection< HE_Halfedge halfedges)

Removes halfedges.

Parameters
halfedgeshalfedges to remove as FastTable<HE_Halfedge>
final void wblut.hemesh.HE_MeshStructure.removeVertex ( final int  i)
Parameters
i
final void wblut.hemesh.HE_MeshStructure.removeVertices ( final HE_Vertex[]  vertices)

Removes vertices.

Parameters
verticesvertices to remove as HE_Vertex[]
final void wblut.hemesh.HE_MeshStructure.removeVertices ( final Collection< HE_Vertex vertices)

Removes vertices.

Parameters
verticesvertices to remove as FastTable<HE_Vertex>
final void wblut.hemesh.HE_MeshStructure.replaceFaces ( final HE_Face[]  faces)

Replace faces.

Parameters
facesfaces to replace with as HE_Face[]
final void wblut.hemesh.HE_MeshStructure.replaceFaces ( final HE_Mesh  mesh)
Parameters
mesh
final void wblut.hemesh.HE_MeshStructure.replaceFaces ( final List< HE_Face faces)

Replace faces.

Parameters
facesfaces to replace with as List<HE_Face>
final void wblut.hemesh.HE_MeshStructure.replaceHalfedges ( final HE_Mesh  mesh)
Parameters
mesh
final void wblut.hemesh.HE_MeshStructure.replaceHalfedges ( final HE_Halfedge[]  halfedges)

Replace halfedges.

Parameters
halfedgeshalfedges to replace with as HE_Halfedge[]
final void wblut.hemesh.HE_MeshStructure.replaceHalfedges ( final List< HE_Halfedge halfedges)

Replace halfedges.

Parameters
halfedgeshalfedges to replace with as List<HE_Halfedge>
final void wblut.hemesh.HE_MeshStructure.replaceVertices ( final HE_Mesh  mesh)
Parameters
mesh
final void wblut.hemesh.HE_MeshStructure.replaceVertices ( final HE_Vertex[]  vertices)

Replace vertices.

Parameters
verticesvertices to replace with as HE_Vertex[]
final void wblut.hemesh.HE_MeshStructure.replaceVertices ( final List< HE_Vertex vertices)

Replace vertices.

Parameters
verticesvertices to replace with as List<HE_Vertex>
HE_Halfedge wblut.hemesh.HE_MeshStructure.searchHalfedgeFromTo ( final HE_Vertex  v0,
final HE_Vertex  v1 
)
Parameters
v0
v1
Returns
void wblut.hemesh.HE_MeshStructure.setData ( final String  s,
final Object  o 
)
HE_VertexIterator wblut.hemesh.HE_MeshStructure.vItr ( )

Vertex iterator.

Returns
vertex iterator

Member Data Documentation

HashMap<String, Object> wblut.hemesh.HE_MeshStructure._data
private
HE_RAS<HE_Face> wblut.hemesh.HE_MeshStructure.faces
HE_RAS<HE_Halfedge> wblut.hemesh.HE_MeshStructure.halfedges
final HET_ProgressTracker wblut.hemesh.HE_MeshStructure.tracker
static
Initial value:
= HET_ProgressTracker
.instance()
HE_RAS<HE_Vertex> wblut.hemesh.HE_MeshStructure.vertices

The documentation for this class was generated from the following file: