HE_Mesh2014
2.0.11
|
Public Member Functions | |
HEC_FromFacelist () | |
HEC_FromFacelist | setVertices (final WB_Coordinate[] vs) |
HEC_FromFacelist | setVertices (final Collection<?extends WB_Coordinate > vs) |
HEC_FromFacelist | setUVW (final Collection<?extends WB_Coordinate > vs) |
HEC_FromFacelist | setUVW (final WB_Coordinate[] vs) |
HEC_FromFacelist | setUVW (final double[][] vs) |
HEC_FromFacelist | setVertices (final WB_Coordinate[] vs, final boolean copy) |
HEC_FromFacelist | setVertices (final double[][] vs) |
HEC_FromFacelist | setVertices (final double[] vs) |
HEC_FromFacelist | setVertices (final float[][] vs) |
HEC_FromFacelist | setVertices (final float[] vs) |
HEC_FromFacelist | setFaces (final int[][] fs) |
HEC_FromFacelist | setFaces (final List< int[]> fs) |
HEC_FromFacelist | setFaceTextureIds (final int[] fts) |
HEC_FromFacelist | setDuplicate (final boolean b) |
HEC_FromFacelist | setCheckNormals (final boolean b) |
![]() | |
HEC_Creator () | |
HEC_Creator | setCenter (final double x, final double y, final double z) |
HEC_Creator | setCenter (final WB_Point c) |
HEC_Creator | setZAngle (final double a) |
HEC_Creator | setZAxis (final double x, final double y, final double z) |
HEC_Creator | setZAxis (final double p0x, final double p0y, final double p0z, final double p1x, final double p1y, final double p1z) |
HEC_Creator | setZAxis (final WB_Point p) |
HEC_Creator | setZAxis (final WB_Point p0, final WB_Point p1) |
HEC_Creator | setToModelview (final PApplet home) |
HEC_Creator | setToWorldview () |
final HE_Mesh | create () |
HE_Mesh | apply (final HE_Mesh mesh) |
HE_Mesh | apply (final HE_Selection sel) |
![]() | |
abstract HE_Mesh | apply (HE_Mesh mesh) |
abstract HE_Mesh | apply (HE_Selection selection) |
String | getStatus () |
Protected Member Functions | |
HE_Mesh | createBase () |
![]() | |
abstract HE_Mesh | createBase () |
Private Member Functions | |
Long | ohash (final int u, final int v) |
int | consistentOrder (final int i, final int j, final int[] face, final int[] neighbor) |
Private Attributes | |
WB_Coordinate[] | vertices |
WB_Coordinate[] | uvws |
int[] | faceTextureIds |
int[][] | faces |
boolean | duplicate |
boolean | normalcheck |
Additional Inherited Members | |
![]() | |
PApplet | home |
![]() | |
static final HET_ProgressTracker | tracker |
![]() | |
WB_Point | center |
double | zangle |
WB_Vector | zaxis |
boolean | override |
boolean | toModelview |
WB_Vector | Z |
Creates a new mesh from a list of vertices and faces. Vertices can be duplicate.
wblut.hemesh.HEC_FromFacelist.HEC_FromFacelist | ( | ) |
Instantiates a new HEC_Facelist.
|
private |
Consistent order.
i | the i |
j | the j |
face | the face |
neighbor | the neighbor |
|
protected |
|
private |
Ohash.
u | the u |
v | the v |
HEC_FromFacelist wblut.hemesh.HEC_FromFacelist.setCheckNormals | ( | final boolean | b | ) |
Check face normals?.
b | true/false |
HEC_FromFacelist wblut.hemesh.HEC_FromFacelist.setDuplicate | ( | final boolean | b | ) |
Duplicate vertices in input?.
b | true/false |
HEC_FromFacelist wblut.hemesh.HEC_FromFacelist.setFaces | ( | final int | fs[][] | ) |
Set faces from 2D array of int: 1st index=face, 2nd=index of vertex.
fs | 2D array of vertex indices |
HEC_FromFacelist wblut.hemesh.HEC_FromFacelist.setFaces | ( | final List< int[]> | fs | ) |
Set faces from 2D array of int: 1st index=face, 2nd=index of vertex.
fs | 2D array of vertex indices |
HEC_FromFacelist wblut.hemesh.HEC_FromFacelist.setFaceTextureIds | ( | final int[] | fts | ) |
HEC_FromFacelist wblut.hemesh.HEC_FromFacelist.setUVW | ( | final Collection<?extends WB_Coordinate > | vs | ) |
HEC_FromFacelist wblut.hemesh.HEC_FromFacelist.setUVW | ( | final WB_Coordinate[] | vs | ) |
HEC_FromFacelist wblut.hemesh.HEC_FromFacelist.setUVW | ( | final double | vs[][] | ) |
HEC_FromFacelist wblut.hemesh.HEC_FromFacelist.setVertices | ( | final WB_Coordinate[] | vs | ) |
Set vertex coordinates from an array of WB_point. No copies are made.
vs | vertices |
HEC_FromFacelist wblut.hemesh.HEC_FromFacelist.setVertices | ( | final Collection<?extends WB_Coordinate > | vs | ) |
Set vertex coordinates from an arraylist of WB_point.
vs | vertices |
HEC_FromFacelist wblut.hemesh.HEC_FromFacelist.setVertices | ( | final WB_Coordinate[] | vs, |
final boolean | copy | ||
) |
Set vertex coordinates from an array of WB_point.
vs | vertices |
copy | copy points? |
HEC_FromFacelist wblut.hemesh.HEC_FromFacelist.setVertices | ( | final double | vs[][] | ) |
Set vertex coordinates from a 2D array of double: 1st index=point, 2nd index (0..2) coordinates
vs | Nx3 2D array of coordinates |
HEC_FromFacelist wblut.hemesh.HEC_FromFacelist.setVertices | ( | final double[] | vs | ) |
Set vertex coordinates from array of double: x0, y0 ,z0 ,x1 ,y1 ,z1 ,...
vs | array of coordinates |
HEC_FromFacelist wblut.hemesh.HEC_FromFacelist.setVertices | ( | final float | vs[][] | ) |
Set vertex coordinates from a 2D array of float: 1st index=point, 2nd index (0..2) coordinates
vs | Nx3 2D array of coordinates |
HEC_FromFacelist wblut.hemesh.HEC_FromFacelist.setVertices | ( | final float[] | vs | ) |
Set vertex coordinates from array of float: x0, y0 ,z0 ,x1 ,y1 ,z1 ,...
vs | array of coordinates |
|
private |
Duplicate vertices?.
|
private |
Face indices.
|
private |
|
private |
Check face normal consistency?.
|
private |
|
private |
Vertices.