VisualSim.simulators.gr.lib
Class Torus3D


public class Torus3D
extends GRShadedShape

This actor contains the geometry and appearance specifications for a GR torus. The output port is used to connect this actor to the Java3D scene graph. This actor will only have meaning in the GR domain. The parameter hullRadius determines the radius of torus ring. The parameter crossSectionRadius determines the radius of the torus cross-section. The parameter slices determines the number of polygonal slices used in the creating the torus.

Since:
VisualSim1.0


Field Detail

crossSectionRadius

public VisualSim.data.expr.Parameter crossSectionRadius
The radius of the torus cross-section This parameter should contain a DoubleToken.

hullRadius

public VisualSim.data.expr.Parameter hullRadius
The radius of the torus outer hull This parameter should contain a DoubleToken.

angleSpan

public VisualSim.data.expr.Parameter angleSpan
The span of torus sweep angle This parameter should contain a DoubleToken.

slices

public VisualSim.data.expr.Parameter slices
The number of slices This parameter should contain a IntToken.