HE_Mesh
6.0.1
|
Public Member Functions | |
HEC_IsoSurfaceVOL2D () | |
HEC_IsoSurfaceVOL2D | setResolution (final int resx, final int resy) |
HEC_IsoSurfaceVOL2D | setSize (final double dx, final double dy) |
HEC_IsoSurfaceVOL2D | setZFactor (final double zf) |
HEC_IsoSurfaceVOL2D | setValues (final double[][] values) |
HEC_IsoSurfaceVOL2D | setValues (final float[][] values) |
HEC_IsoSurfaceVOL2D | setValues (final WB_ScalarParameter function, final double xi, final double yi, final double dx, final double dy, final int width, final int height) |
HEC_IsoSurfaceVOL2D | setValues (final WB_HashGridDouble2D values) |
HEC_IsoSurfaceVOL2D | setValues (final String path, final PApplet home, final int width, final int height) |
HEC_IsoSurfaceVOL2D | setValues (final String path, final PApplet home, final int width, final int height, final WB_IsoValues2D.Mode mode) |
HEC_IsoSurfaceVOL2D | setValues (final PImage image, final PApplet home, final int width, final int height) |
HEC_IsoSurfaceVOL2D | setValues (final PImage image, final PApplet home, final int width, final int height, final WB_IsoValues2D.Mode mode) |
HEC_IsoSurfaceVOL2D | setValues (final WB_IsoValues2D values) |
HEC_IsoSurfaceVOL2D | setIsolevel (final double isolevelmin, final double isolevelmax) |
HEC_IsoSurfaceVOL2D | setCenter (final WB_Coord c) |
![]() | |
HEC_Creator () | |
HEC_Creator | setCenter (final double x, final double y, final double z) |
HEC_Creator | setScale (final double s) |
HEC_Creator | setCenter (final WB_Coord 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_Coord p) |
HEC_Creator | setZAxis (final WB_Coord p0, final WB_Coord p1) |
HEC_Creator | setToModelview (final PApplet home) |
HEC_Creator | setToWorldview () |
HEC_Creator | setManifoldCheck (final boolean b) |
HEC_Creator | setOverride (final boolean b) |
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 | getName () |
void | setName (final String name) |
Static Public Member Functions | |
static void | main (final String[] args) |
Protected Member Functions | |
HE_Mesh | createBase () |
![]() | |
abstract HE_Mesh | createBase () |
Private Member Functions | |
int | index (final int i, final int j) |
double | value (final int i, final int j) |
HE_Vertex | vertex (final int i, final int j, final WB_Point offset) |
HE_Vertex | xedge (final int i, final int j, final WB_Point offset, final double isolevel) |
HE_Vertex | yedge (final int i, final int j, final WB_Point offset, final double isolevel) |
HE_Vertex | interp (final double isolevel, final WB_Point p1, final WB_Point p2, final double valp1, final double valp2) |
int | classifyCell (final int i, final int j) |
void | polygonise () |
void | getPolygons (final int i, final int j, final int cubeindex, final WB_Point offset) |
HE_Vertex | getIsoVertex (final int isopointindex, final int i, final int j, final WB_Point offset) |
Private Attributes | |
int[] | digits = new int[4] |
int[][] | entries |
WB_IsoValues2D | values |
int | resx |
double | cx |
double | dx |
double | isolevelmin |
IntObjectHashMap< HE_Vertex > | xedges |
IntObjectHashMap< HE_Vertex > | yedges |
IntObjectHashMap< HE_Vertex > | vertices |
HE_Mesh | mesh |
double | zFactor |
Additional Inherited Members | |
![]() | |
PApplet | home |
![]() | |
static final WB_ProgressTracker | tracker = WB_ProgressTracker.instance() |
![]() | |
WB_Point | center |
double | zangle |
WB_Vector | zaxis |
boolean | override |
boolean | override2D |
boolean | toModelview |
WB_Vector | Z |
boolean | manifoldCheck |
double | scale |
wblut.hemesh.HEC_IsoSurfaceVOL2D.HEC_IsoSurfaceVOL2D | ( | ) |
|
private |
Classify cell.
i | the i |
j | the j |
References wblut.hemesh.HEC_IsoSurfaceVOL2D.value().
|
protected |
|
private |
isopointindex | |
i | |
j | |
offset |
References wblut.hemesh.HEC_IsoSurfaceVOL2D.vertex(), wblut.hemesh.HEC_IsoSurfaceVOL2D.xedge(), and wblut.hemesh.HEC_IsoSurfaceVOL2D.yedge().
|
private |
Gets the polygons.
i | the i |
j | the j |
cubeindex | the cubeindex |
offset |
References wblut.hemesh.HE_Mesh.add(), wblut.hemesh.HEC_IsoSurfaceVOL2D.getIsoVertex(), wblut.hemesh.HE_Mesh.setFace(), wblut.hemesh.HE_Mesh.setHalfedge(), wblut.hemesh.HE_Mesh.setNext(), and wblut.hemesh.HE_Mesh.setVertex().
|
private |
i | |
j |
|
private |
Interp.
isolevel | the isolevel |
p1 | the p1 |
p2 | the p2 |
valp1 | the valp1 |
valp2 | the valp2 |
References wblut.math.WB_Epsilon.isEqualAbs(), wblut.geom.WB_MutableCoordinate.xd(), and wblut.geom.WB_MutableCoordinate.yd().
|
static |
|
private |
HEC_IsoSurfaceVOL2D wblut.hemesh.HEC_IsoSurfaceVOL2D.setCenter | ( | final WB_Coord | c | ) |
References wblut.geom.WB_Coord.xd(), and wblut.geom.WB_Coord.yd().
HEC_IsoSurfaceVOL2D wblut.hemesh.HEC_IsoSurfaceVOL2D.setIsolevel | ( | final double | isolevelmin, |
final double | isolevelmax | ||
) |
HEC_IsoSurfaceVOL2D wblut.hemesh.HEC_IsoSurfaceVOL2D.setResolution | ( | final int | resx, |
final int | resy | ||
) |
Number of cells.
resx | the resx |
resy | the resy |
References wblut.hemesh.HEC_IsoSurfaceVOL2D.resx.
HEC_IsoSurfaceVOL2D wblut.hemesh.HEC_IsoSurfaceVOL2D.setSize | ( | final double | dx, |
final double | dy | ||
) |
HEC_IsoSurfaceVOL2D wblut.hemesh.HEC_IsoSurfaceVOL2D.setValues | ( | final double | values[][] | ) |
Values at grid points.
values | double[resx+1][resy+1] |
HEC_IsoSurfaceVOL2D wblut.hemesh.HEC_IsoSurfaceVOL2D.setValues | ( | final float | values[][] | ) |
Values at grid points.
values | float[resx+1][resy+1] |
HEC_IsoSurfaceVOL2D wblut.hemesh.HEC_IsoSurfaceVOL2D.setValues | ( | final WB_ScalarParameter | function, |
final double | xi, | ||
final double | yi, | ||
final double | dx, | ||
final double | dy, | ||
final int | width, | ||
final int | height | ||
) |
function | |
xi | |
yi | |
dx | |
dy |
HEC_IsoSurfaceVOL2D wblut.hemesh.HEC_IsoSurfaceVOL2D.setValues | ( | final WB_HashGridDouble2D | values | ) |
values |
References wblut.geom.WB_HashGridDouble2D.getHeight(), and wblut.geom.WB_HashGridDouble2D.getWidth().
HEC_IsoSurfaceVOL2D wblut.hemesh.HEC_IsoSurfaceVOL2D.setValues | ( | final String | path, |
final PApplet | home, | ||
final int | width, | ||
final int | height | ||
) |
path | |
home | |
width | |
height |
References wblut.geom.WB_IsoValues2D.getHeight(), and wblut.geom.WB_IsoValues2D.getWidth().
HEC_IsoSurfaceVOL2D wblut.hemesh.HEC_IsoSurfaceVOL2D.setValues | ( | final String | path, |
final PApplet | home, | ||
final int | width, | ||
final int | height, | ||
final WB_IsoValues2D.Mode | mode | ||
) |
path | |
home | |
width | |
height | |
mode |
References wblut.geom.WB_IsoValues2D.getHeight(), and wblut.geom.WB_IsoValues2D.getWidth().
HEC_IsoSurfaceVOL2D wblut.hemesh.HEC_IsoSurfaceVOL2D.setValues | ( | final PImage | image, |
final PApplet | home, | ||
final int | width, | ||
final int | height | ||
) |
image | |
home | |
width | |
height |
References wblut.geom.WB_IsoValues2D.getHeight(), and wblut.geom.WB_IsoValues2D.getWidth().
HEC_IsoSurfaceVOL2D wblut.hemesh.HEC_IsoSurfaceVOL2D.setValues | ( | final PImage | image, |
final PApplet | home, | ||
final int | width, | ||
final int | height, | ||
final WB_IsoValues2D.Mode | mode | ||
) |
image | |
home | |
width | |
height | |
mode |
References wblut.geom.WB_IsoValues2D.getHeight(), and wblut.geom.WB_IsoValues2D.getWidth().
HEC_IsoSurfaceVOL2D wblut.hemesh.HEC_IsoSurfaceVOL2D.setValues | ( | final WB_IsoValues2D | values | ) |
values |
References wblut.geom.WB_IsoValues2D.getHeight(), wblut.geom.WB_IsoValues2D.getWidth(), and wblut.hemesh.HEC_IsoSurfaceVOL2D.values.
HEC_IsoSurfaceVOL2D wblut.hemesh.HEC_IsoSurfaceVOL2D.setZFactor | ( | final double | zf | ) |
|
private |
|
private |
i | |
j | |
offset |
References wblut.hemesh.HE_Mesh.add(), wblut.geom.WB_Point.addSelf(), wblut.hemesh.HEC_IsoSurfaceVOL2D.index(), and wblut.hemesh.HEC_IsoSurfaceVOL2D.value().
|
private |
Xedge.
i | i: -1 .. resx+1 |
j | j: -1 .. resy+1 |
offset | |
isolevel |
References wblut.hemesh.HE_Mesh.add(), wblut.geom.WB_Point.addSelf(), wblut.hemesh.HE_Vertex.getPosition(), wblut.hemesh.HEC_IsoSurfaceVOL2D.index(), wblut.hemesh.HEC_IsoSurfaceVOL2D.interp(), and wblut.hemesh.HEC_IsoSurfaceVOL2D.value().
|
private |
Yedge.
i | i: -1 .. resx+1 |
j | j: -1 .. resy+1 |
offset | |
isolevel |
References wblut.hemesh.HE_Mesh.add(), wblut.geom.WB_Point.addSelf(), wblut.hemesh.HE_Vertex.getPosition(), wblut.hemesh.HEC_IsoSurfaceVOL2D.index(), wblut.hemesh.HEC_IsoSurfaceVOL2D.interp(), and wblut.hemesh.HEC_IsoSurfaceVOL2D.value().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |