HE_Mesh2014
2.0.11
|
Public Member Functions | |
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) |
Public Attributes | |
PApplet | home |
Protected Member Functions | |
abstract HE_Mesh | createBase () |
Protected Attributes | |
WB_Point | center |
double | zangle |
WB_Vector | zaxis |
boolean | override |
boolean | toModelview |
WB_Vector | Z |
boolean | manifoldCheck |
double | scale |
Additional Inherited Members | |
![]() | |
static final WB_ProgressTracker | tracker = WB_ProgressTracker.instance() |
Abstract base class for mesh creation. Implementation should return a valid HE_Mesh.
wblut.hemesh.HEC_Creator.HEC_Creator | ( | ) |
Constructor.
HE_Mesh wblut.hemesh.HEC_Creator.apply | ( | final HE_Selection | sel | ) |
final HE_Mesh wblut.hemesh.HEC_Creator.create | ( | ) |
Generate a mesh, move to center and orient along axis.
|
abstractprotected |
Creates the base.
HEC_Creator wblut.hemesh.HEC_Creator.setCenter | ( | final double | x, |
final double | y, | ||
final double | z | ||
) |
Set center of mesh.
x | x-coordinate of center |
y | y-coordinate of center |
z | z-coordinate of center |
HEC_Creator wblut.hemesh.HEC_Creator.setCenter | ( | final WB_Coord | c | ) |
Set center of mesh.
c | center |
HEC_Creator wblut.hemesh.HEC_Creator.setManifoldCheck | ( | final boolean | b | ) |
b |
HEC_Creator wblut.hemesh.HEC_Creator.setOverride | ( | final boolean | b | ) |
b |
HEC_Creator wblut.hemesh.HEC_Creator.setScale | ( | final double | s | ) |
s |
HEC_Creator wblut.hemesh.HEC_Creator.setToModelview | ( | final PApplet | home | ) |
Use the applet's modelview coordinates.
home | calling applet, typically "this" |
HEC_Creator wblut.hemesh.HEC_Creator.setToWorldview | ( | ) |
Use absolute coordinates.
HEC_Creator wblut.hemesh.HEC_Creator.setZAngle | ( | final double | a | ) |
Rotation of mesh about local Z-axis.
a | angle |
HEC_Creator wblut.hemesh.HEC_Creator.setZAxis | ( | final double | x, |
final double | y, | ||
final double | z | ||
) |
Orientation of local Z-axis of mesh.
x | x-coordinate of axis vector |
y | y-coordinate of axis vector |
z | z-coordinate of axis vector |
HEC_Creator wblut.hemesh.HEC_Creator.setZAxis | ( | final double | p0x, |
final double | p0y, | ||
final double | p0z, | ||
final double | p1x, | ||
final double | p1y, | ||
final double | p1z | ||
) |
Local Z-axis of mesh.
p0x | x-coordinate of first point on axis |
p0y | y-coordinate of first point on axis |
p0z | z-coordinate of first point on axis |
p1x | x-coordinate of second point on axis |
p1y | y-coordinate of second point on axis |
p1z | z-coordinate of second point on axis |
HEC_Creator wblut.hemesh.HEC_Creator.setZAxis | ( | final WB_Coord | p | ) |
Orientation of local Z-axis of mesh.
p | axis vector |
HEC_Creator wblut.hemesh.HEC_Creator.setZAxis | ( | final WB_Coord | p0, |
final WB_Coord | p1 | ||
) |
Local Z-axis of mesh.
p0 | first point on axis |
p1 | second point on axis |
|
protected |
Center.
PApplet wblut.hemesh.HEC_Creator.home |
Calling applet.
|
protected |
|
protected |
Override.
|
protected |
|
protected |
Use applet model coordinates.
|
protected |
Base Z-axis.
|
protected |
Rotation angle about Z-axis.
|
protected |
Z-axis.