HE_Mesh
6.0.1
|
Classes | |
class | VertexRemap |
Public Member Functions | |
HEC_IsoSurface () | |
HEC_IsoSurface | setGamma (final double gamma) |
HEC_IsoSurface | setResolution (final int resx, final int resy, final int resz) |
HEC_IsoSurface | setSize (final double dx, final double dy, final double dz) |
HEC_IsoSurface | setIsolevel (final double v) |
HEC_IsoSurface | setValueFactor (final WB_ScalarParameter v) |
HEC_IsoSurface | setValueShift (final WB_ScalarParameter v) |
HEC_IsoSurface | setValues (final double[][][] values) |
HEC_IsoSurface | setValues (final float[][][] values) |
HEC_IsoSurface | setValues (final WB_ScalarParameter function, final double xi, final double yi, final double zi, final double dx, final double dy, final double dz, final int sizeI, final int sizeJ, final int sizeK) |
HEC_IsoSurface | setValues (final WB_HashGridDouble values) |
HEC_IsoSurface | setValues (final String[] images, final PApplet home, final int sizeI, final int sizeJ, final int sizeK) |
HEC_IsoSurface | setValues (final String[] images, final PApplet home, final int sizeI, final int sizeJ, final int sizeK, final WB_IsoValues3D.Mode mode) |
HEC_IsoSurface | setValues (final WB_IsoValues3D values) |
HEC_IsoSurface | setBoundary (final double v) |
HEC_IsoSurface | clearBoundary () |
HEC_IsoSurface | setInvert (final boolean invert) |
HEC_IsoSurface | 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 | |
void | mapvertices () |
void | polygonise () |
void | getPolygons (final int i, final int j, final int k, final int cubeindex, final WB_Point offset, final boolean dummyrun) |
int | classifyCell (final int i, final int j, final int k) |
HE_Vertex | vertex (final int i, final int j, final int k, final WB_Point offset) |
HE_Vertex | xedge (final int i, final int j, final int k, final WB_Point offset, final boolean dummyrun) |
HE_Vertex | yedge (final int i, final int j, final int k, final WB_Point offset, final boolean dummyrun) |
HE_Vertex | zedge (final int i, final int j, final int k, final WB_Point offset, final boolean dummyrun) |
WB_Point | interp (final double isolevel, final WB_Point p1, final WB_Point p2, final double valp1, final double valp2) |
int | index (final int i, final int j, final int k) |
double | value (final int i, final int j, final int k) |
Private Attributes | |
WB_IsoValues3D | values |
int | resx |
double | cx |
double | dx |
double | isolevel |
double | boundary |
IntObjectHashMap< HE_Vertex > | xedges |
IntObjectHashMap< HE_Vertex > | yedges |
IntObjectHashMap< HE_Vertex > | zedges |
IntObjectHashMap< HE_Vertex > | vertices |
IntObjectHashMap< VertexRemap > | vertexremaps |
IntDoubleHashMap | valueremaps |
double | gamma |
boolean | invert |
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_IsoSurface.HEC_IsoSurface | ( | ) |
References wblut.math.WB_ScalarParameter.ONE, and wblut.math.WB_ScalarParameter.ZERO.
|
private |
Classify cell.
i | the i |
j | the j |
k | the k |
References wblut.hemesh.HEC_IsoSurface.isolevel, and wblut.hemesh.HEC_IsoSurface.value().
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.clearBoundary | ( | ) |
Clear boundary level.
|
protected |
|
private |
Gets the polygons.
i | the i |
j | the j |
k | the k |
cubeindex | the cubeindex |
offset | |
dummyrun |
References wblut.hemesh.HE_Mesh.add(), wblut.hemesh.HE_Mesh.setFace(), wblut.hemesh.HE_Mesh.setHalfedge(), wblut.hemesh.HE_Mesh.setNext(), and wblut.hemesh.HE_Mesh.setVertex().
|
private |
i | |
j | |
k |
|
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(), wblut.geom.WB_MutableCoordinate.yd(), and wblut.geom.WB_MutableCoordinate.zd().
|
static |
References wblut.hemesh.HEC_IsoSurface.HEC_IsoSurface(), wblut.hemesh.HEC_IsoSurface.setBoundary(), wblut.hemesh.HEC_IsoSurface.setGamma(), wblut.hemesh.HEC_IsoSurface.setInvert(), wblut.hemesh.HEC_IsoSurface.setIsolevel(), wblut.hemesh.HEC_IsoSurface.setSize(), and wblut.hemesh.HEC_IsoSurface.setValues().
|
private |
|
private |
Polygonise.
References wblut.hemesh.HEC_IsoSurface.classifyCell(), wblut.hemesh.HEC_IsoSurface.getPolygons(), and wblut.hemesh.HEC_IsoSurface.resx.
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setBoundary | ( | final double | v | ) |
Boundary level.
v | boundary level |
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setCenter | ( | final WB_Coord | c | ) |
References wblut.geom.WB_Coord.xd(), wblut.geom.WB_Coord.yd(), and wblut.geom.WB_Coord.zd().
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setGamma | ( | final double | gamma | ) |
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setInvert | ( | final boolean | invert | ) |
Invert isosurface.
invert | true/false |
References wblut.hemesh.HEC_IsoSurface.invert.
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setIsolevel | ( | final double | v | ) |
Isolevel to render.
v | isolevel |
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setResolution | ( | final int | resx, |
final int | resy, | ||
final int | resz | ||
) |
Number of cells.
resx | the resx |
resy | the resy |
resz | the resz |
References wblut.hemesh.HEC_IsoSurface.resx.
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setSize | ( | final double | dx, |
final double | dy, | ||
final double | dz | ||
) |
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setValueFactor | ( | final WB_ScalarParameter | v | ) |
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setValues | ( | final double | values[][][] | ) |
Values at grid points.
values | double[resx+1][resy+1][resz+1] |
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setValues | ( | final float | values[][][] | ) |
Sets the values.
values | float[resx+1][resy+1][resz+1] |
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setValues | ( | final WB_ScalarParameter | function, |
final double | xi, | ||
final double | yi, | ||
final double | zi, | ||
final double | dx, | ||
final double | dy, | ||
final double | dz, | ||
final int | sizeI, | ||
final int | sizeJ, | ||
final int | sizeK | ||
) |
function | |
xi | |
yi | |
zi | |
dx | |
dy | |
dz |
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setValues | ( | final WB_HashGridDouble | values | ) |
values |
References wblut.geom.WB_HashGridDouble.getSizeI(), wblut.geom.WB_HashGridDouble.getSizeJ(), and wblut.geom.WB_HashGridDouble.getSizeK().
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setValues | ( | final String[] | images, |
final PApplet | home, | ||
final int | sizeI, | ||
final int | sizeJ, | ||
final int | sizeK | ||
) |
images | |
home | |
sizeI | |
sizeJ | |
sizeK |
References wblut.geom.WB_IsoValues3D.getSizeI(), wblut.geom.WB_IsoValues3D.getSizeJ(), and wblut.geom.WB_IsoValues3D.getSizeK().
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setValues | ( | final String[] | images, |
final PApplet | home, | ||
final int | sizeI, | ||
final int | sizeJ, | ||
final int | sizeK, | ||
final WB_IsoValues3D.Mode | mode | ||
) |
images | |
home | |
sizeI | |
sizeJ | |
sizeK | |
mode |
References wblut.geom.WB_IsoValues3D.getSizeI(), wblut.geom.WB_IsoValues3D.getSizeJ(), and wblut.geom.WB_IsoValues3D.getSizeK().
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setValues | ( | final WB_IsoValues3D | values | ) |
HEC_IsoSurface wblut.hemesh.HEC_IsoSurface.setValueShift | ( | final WB_ScalarParameter | v | ) |
|
private |
Value.
i | the i |
j | the j |
k | the k |
References wblut.hemesh.HEC_IsoSurface.boundary, wblut.math.WB_ScalarParameter.evaluate(), wblut.geom.WB_IsoValues3D.getValue(), wblut.hemesh.HEC_IsoSurface.index(), and wblut.hemesh.HEC_IsoSurface.isolevel.
|
private |
i | |
j | |
k | |
offset |
References wblut.hemesh.HE_Mesh.add(), wblut.geom.WB_Point.addSelf(), and wblut.hemesh.HEC_IsoSurface.index().
|
private |
Xedge.
i | i: -1 .. resx+1 |
j | j: -1 .. resy+1 |
k | k: -1 .. resz+1 |
offset | |
dummyrun |
References wblut.hemesh.HE_Mesh.add(), wblut.geom.WB_Point.addSelf(), wblut.hemesh.HEC_IsoSurface.dx, wblut.hemesh.HE_Vertex.getPosition(), wblut.hemesh.HEC_IsoSurface.index(), wblut.hemesh.HEC_IsoSurface.interp(), wblut.hemesh.HEC_IsoSurface.value(), and wblut.hemesh.HEC_IsoSurface.vertex().
|
private |
Yedge.
i | i: -1 .. resx+1 |
j | j: -1 .. resy+1 |
k | k: -1 .. resz+1 |
offset | |
dummyrun |
References wblut.hemesh.HE_Mesh.add(), wblut.geom.WB_Point.addSelf(), wblut.hemesh.HE_Vertex.getPosition(), wblut.hemesh.HEC_IsoSurface.index(), wblut.hemesh.HEC_IsoSurface.interp(), wblut.hemesh.HEC_IsoSurface.value(), and wblut.hemesh.HEC_IsoSurface.vertex().
|
private |
Zedge.
i | i: -1 .. resx+1 |
j | j: -1 .. resy+1 |
k | k: -1 .. resz+1 |
offset | |
dummyrun |
References wblut.hemesh.HE_Mesh.add(), wblut.geom.WB_Point.addSelf(), wblut.hemesh.HE_Vertex.getPosition(), wblut.hemesh.HEC_IsoSurface.index(), wblut.hemesh.HEC_IsoSurface.interp(), wblut.hemesh.HEC_IsoSurface.value(), and wblut.hemesh.HEC_IsoSurface.vertex().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |