HE_Mesh
5.0.0
|
Public Member Functions | |
HEC_SuperDuper () | |
HEC_SuperDuper | setU (final int U) |
HEC_SuperDuper | setV (final int V) |
HEC_SuperDuper | setUWrap (final boolean b) |
HEC_SuperDuper | setVWrap (final boolean b) |
HEC_SuperDuper | setRadius (final double r) |
HEC_SuperDuper | setGeneralParameters (final double m1, final double n11, final double n12, final double n13, final double m2, final double n21, final double n22, final double n23, final double t1, final double t2, final double d1, final double d2, final double c1, final double c2, final double c3) |
HEC_SuperDuper | setDonutParameters (final double m1, final double n11, final double n12, final double n13, final double m2, final double n21, final double n22, final double n23, final double t, final double c) |
HEC_SuperDuper | setShellParameters (final double m1, final double n11, final double n12, final double n13, final double m2, final double n21, final double n22, final double n23, final double t, final double d1, final double d2, final double c) |
HEC_SuperDuper | setSuperShapeParameters (final double m1, final double n11, final double n12, final double n13, final double m2, final double n21, final double n22, final double n23) |
![]() | |
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) |
Protected Member Functions | |
HE_Mesh | createBase () |
![]() | |
abstract HE_Mesh | createBase () |
Private Member Functions | |
WB_Point[] | getPoints () |
WB_Point[] | getUVW () |
WB_Point | eval (final double u, final double v) |
double | superformula (final double phi, final double a, final double b, final double m, final double n1, final double n2, final double n3) |
WB_Point | superduperformula (final double r0, double u, double v, final double c1, final double c2, final double c3, final double m1, final double n11, final double n12, final double n13, final double m2, final double n21, final double n22, final double n23, final double t1, double t2, double d1, double d2) |
double | lerp (final double ll, final double ul, final double f) |
Private Attributes | |
int | U |
int | V |
boolean | uWrap |
boolean | vWrap |
double | radius |
double[] | param |
Additional Inherited Members | |
![]() | |
PApplet | home |
![]() | |
static final WB_ProgressTracker | tracker = WB_ProgressTracker.instance() |
![]() | |
WB_Point | center |
double | zangle |
WB_Vector | zaxis |
boolean | override |
boolean | toModelview |
WB_Vector | Z |
boolean | manifoldCheck |
double | scale |
/////////////////////////////////// // // // /////// superduper shapes // // // // // ///////////////////////////////// // /////////// (c) Martin Schneider 2009
// http://www.k2g2.org/blog:bit.craft
Hemesh implementation of bit.craft's superduper formula explorer
wblut.hemesh.HEC_SuperDuper.HEC_SuperDuper | ( | ) |
Instantiates a new hE c_ super duper.
|
protected |
|
private |
Eval.
u | the u |
v | the v |
|
private |
Gets the points.
|
private |
|
private |
Lerp.
ll | the ll |
ul | the ul |
f | the f |
HEC_SuperDuper wblut.hemesh.HEC_SuperDuper.setDonutParameters | ( | final double | m1, |
final double | n11, | ||
final double | n12, | ||
final double | n13, | ||
final double | m2, | ||
final double | n21, | ||
final double | n22, | ||
final double | n23, | ||
final double | t, | ||
final double | c | ||
) |
Sets the donut parameters.
m1 | the m1 |
n11 | the n11 |
n12 | the n12 |
n13 | the n13 |
m2 | the m2 |
n21 | the n21 |
n22 | the n22 |
n23 | the n23 |
t | the t |
c | the c |
HEC_SuperDuper wblut.hemesh.HEC_SuperDuper.setGeneralParameters | ( | final double | m1, |
final double | n11, | ||
final double | n12, | ||
final double | n13, | ||
final double | m2, | ||
final double | n21, | ||
final double | n22, | ||
final double | n23, | ||
final double | t1, | ||
final double | t2, | ||
final double | d1, | ||
final double | d2, | ||
final double | c1, | ||
final double | c2, | ||
final double | c3 | ||
) |
Sets the general parameters.
m1 | the m1 |
n11 | the n11 |
n12 | the n12 |
n13 | the n13 |
m2 | the m2 |
n21 | the n21 |
n22 | the n22 |
n23 | the n23 |
t1 | the t1 |
t2 | the t2 |
d1 | the d1 |
d2 | the d2 |
c1 | the c1 |
c2 | the c2 |
c3 | the c3 |
HEC_SuperDuper wblut.hemesh.HEC_SuperDuper.setRadius | ( | final double | r | ) |
Sets the radius.
r | the r |
HEC_SuperDuper wblut.hemesh.HEC_SuperDuper.setShellParameters | ( | final double | m1, |
final double | n11, | ||
final double | n12, | ||
final double | n13, | ||
final double | m2, | ||
final double | n21, | ||
final double | n22, | ||
final double | n23, | ||
final double | t, | ||
final double | d1, | ||
final double | d2, | ||
final double | c | ||
) |
Sets the shell parameters.
m1 | the m1 |
n11 | the n11 |
n12 | the n12 |
n13 | the n13 |
m2 | the m2 |
n21 | the n21 |
n22 | the n22 |
n23 | the n23 |
t | the t |
d1 | the d1 |
d2 | the d2 |
c | the c |
HEC_SuperDuper wblut.hemesh.HEC_SuperDuper.setSuperShapeParameters | ( | final double | m1, |
final double | n11, | ||
final double | n12, | ||
final double | n13, | ||
final double | m2, | ||
final double | n21, | ||
final double | n22, | ||
final double | n23 | ||
) |
Sets the super shape parameters.
m1 | the m1 |
n11 | the n11 |
n12 | the n12 |
n13 | the n13 |
m2 | the m2 |
n21 | the n21 |
n22 | the n22 |
n23 | the n23 |
HEC_SuperDuper wblut.hemesh.HEC_SuperDuper.setU | ( | final int | U | ) |
Sets the u.
U | the u |
HEC_SuperDuper wblut.hemesh.HEC_SuperDuper.setUWrap | ( | final boolean | b | ) |
Sets the u wrap.
b | the b |
HEC_SuperDuper wblut.hemesh.HEC_SuperDuper.setV | ( | final int | V | ) |
Sets the v.
V | the v |
HEC_SuperDuper wblut.hemesh.HEC_SuperDuper.setVWrap | ( | final boolean | b | ) |
Sets the v wrap.
b | the b |
|
private |
Superduperformula.
r0 | the r0 |
u | the u |
v | the v |
c1 | the c1 |
c2 | the c2 |
c3 | the c3 |
m1 | the m1 |
n11 | the n11 |
n12 | the n12 |
n13 | the n13 |
m2 | the m2 |
n21 | the n21 |
n22 | the n22 |
n23 | the n23 |
t1 | the t1 |
t2 | the t2 |
d1 | the d1 |
d2 | the d2 |
|
private |
Superformula.
phi | the phi |
a | the a |
b | the b |
m | the m |
n1 | the n1 |
n2 | the n2 |
n3 | the n3 |
|
private |
The param.
|
private |
The radius.
|
private |
The u.
|
private |
The u wrap.
|
private |
The v.
|
private |
The v wrap.