HE_Mesh
5.0.0
|
Public Member Functions | |
HEM_Stretch () | |
HEM_Stretch | setGroundPlane (final WB_Plane P) |
HEM_Stretch | setGroundPlane (final double ox, final double oy, final double oz, final double nx, final double ny, final double nz) |
HEM_Stretch | setStretchFactor (final double f) |
HEM_Stretch | setCompressionFactor (final double f) |
HEM_Stretch | setPosOnly (final boolean b) |
HE_Mesh | apply (final HE_Mesh mesh) |
HE_Mesh | apply (final HE_Selection selection) |
![]() | |
HEM_Modifier () | |
abstract HE_Mesh | apply (final HE_Mesh mesh) |
abstract HE_Mesh | apply (final HE_Selection selection) |
![]() | |
abstract HE_Mesh | apply (HE_Mesh mesh) |
abstract HE_Mesh | apply (HE_Selection selection) |
Private Attributes | |
WB_Plane | groundPlane |
WB_Vector | stretchDirection |
double | stretchFactor |
double | compressionFactor |
boolean | posOnly |
Additional Inherited Members | |
![]() | |
static final WB_ProgressTracker | tracker = WB_ProgressTracker.instance() |
Stretch and compress a mesh. Determined by a ground plane, a stretch factor and a compression factor. Most commonly, the ground plane normal is the stretch direction.
wblut.hemesh.HEM_Stretch.HEM_Stretch | ( | ) |
Instantiates a new HEM_Stretch.
HE_Mesh wblut.hemesh.HEM_Stretch.apply | ( | final HE_Selection | selection | ) |
HEM_Stretch wblut.hemesh.HEM_Stretch.setCompressionFactor | ( | final double | f | ) |
Set compression factor perpendicular to stretch direction.
f | the f |
HEM_Stretch wblut.hemesh.HEM_Stretch.setGroundPlane | ( | final WB_Plane | P | ) |
Set ground plane.
P | ground plane |
HEM_Stretch wblut.hemesh.HEM_Stretch.setGroundPlane | ( | final double | ox, |
final double | oy, | ||
final double | oz, | ||
final double | nx, | ||
final double | ny, | ||
final double | nz | ||
) |
Sets the ground plane.
ox | the ox |
oy | the oy |
oz | the oz |
nx | the nx |
ny | the ny |
nz | the nz |
HEM_Stretch wblut.hemesh.HEM_Stretch.setPosOnly | ( | final boolean | b | ) |
Positive only? Only apply modifier to positive side of ground plane.
b | true, false |
HEM_Stretch wblut.hemesh.HEM_Stretch.setStretchFactor | ( | final double | f | ) |
Set stretch factor along stretch direction.
f | the f |
|
private |
Compression factor.
|
private |
Ground plane.
|
private |
Modify only positive side of ground plane?.
|
private |
Stretch direction.
|
private |
Stretch factor.