HE_Mesh
6.0.1
|
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) |
![]() | |
HEM_Modifier () | |
HE_Mesh | apply (final HE_Mesh mesh) |
HE_Mesh | apply (final HE_Selection selection) |
![]() | |
abstract HE_Mesh | apply (HE_Mesh mesh) |
abstract HE_Mesh | apply (HE_Selection selection) |
String | getName () |
void | setName (final String name) |
Protected Member Functions | |
HE_Mesh | applySelf (final HE_Mesh mesh) |
HE_Mesh | applySelf (final HE_Selection selection) |
![]() | |
abstract HE_Mesh | applySelf (final HE_Mesh mesh) |
abstract HE_Mesh | applySelf (final 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.
References wblut.geom.WB_Point.addSelf(), wblut.math.WB_Epsilon.EPSILON, wblut.geom.WB_GeometryOp3D.getClosestPoint3D(), wblut.geom.WB_GeometryOp3D.getDistance3D(), wblut.geom.WB_Plane.getNormal(), wblut.geom.WB_Plane.getOrigin(), wblut.hemesh.HE_Vertex.getPosition(), wblut.geom.WB_Point.mulSelf(), wblut.hemesh.HEM_Stretch.stretchDirection, wblut.geom.WB_Point.subSelf(), and wblut.hemesh.HE_Mesh.vItr().
|
protected |
References wblut.geom.WB_Point.addSelf(), wblut.math.WB_Epsilon.EPSILON, wblut.geom.WB_GeometryOp3D.getClosestPoint3D(), wblut.geom.WB_GeometryOp3D.getDistance3D(), wblut.geom.WB_Plane.getNormal(), wblut.geom.WB_Plane.getOrigin(), wblut.hemesh.HE_Vertex.getPosition(), wblut.geom.WB_Point.mulSelf(), wblut.hemesh.HEM_Stretch.stretchDirection, wblut.geom.WB_Point.subSelf(), and wblut.hemesh.HE_Selection.vItr().
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.