Full Library / Result / 3D Interactive Creator / 3DAnimation-Java3D / Box3D / Scale3D
Block Name: Scale3D

public class Scale3D
extends GRTransform

Conceptually, this actor takes 3D geometry in its input and produces a scaled version in its output. In reality, this actor encapsulates a Java3D TransformGroup which is converted into a node in the resulting Java3D scene graph. This actor will only have meaning in the GR domain. Scaling can be done uniformly or non-uniformly. Uniform scaling scales the input geometry equally in all directions. Uniform scaling is done through modification of the scaleFactor parameter. Non-uniform scaling involves preferential scaling of the input geometry in a specified Cartesian axis. Non-uniform scaling is done through modification of the xScale, yScale, and zScale parameters.

Since:
VisualSim1.0

Field Detail

scaleInput

public VisualSim.actor.TypedIOPort scaleInput
The amount of rescaling during firing. If this transform is in accumulate mode, the scaling value is accumulated.

scaleFactor

public VisualSim.data.expr.Parameter scaleFactor
The scale factor. This parameter should contain a DoubleToken. The default value of this parameter is the DoubleToken 1.0.

xScale

public VisualSim.data.expr.Parameter xScale
The scale factor in the Cartesian x-axis. This parameter should contain a DoubleToken. The default value of this parameter is the DoubleToken 1.0.

yScale

public VisualSim.data.expr.Parameter yScale
The scale factor in the Cartesian y-axis. This parameter should contain a DoubleToken. The default value of this parameter is the DoubleToken 1.0.

zScale

public VisualSim.data.expr.Parameter zScale
The scale factor in the Cartesian z-axis. This parameter should contain a DoubleToken. The default value of this parameter is the DoubleToken 1.0.

_transformNode

protected javax.media.j3d.TransformGroup _transformNode