Class Name: Stamp Behavior

Superclass - SEDRIS Abstract Base

Definition

The Geometry Hierarchy to which a Stamp Behavior is attached rotates automatically with respect to the viewer's location, attempting to continually face in the viewer's direction.

The Geometry Hierarchy rotates about the x, y and/or z axes, within the specified angular limits. The center of rotation is specified by the component Location 3D. The axes are positioned at the center of rotation, aligned with the equivalent spatial reference frame axes. Geometry with Stamp Behavior is normally planar in nature and is considered to "face" along the normal of that plane.

If an axis' clockwise limit is set to SE_POSITIVE_INFINITY and its counter-clockwise limit is set to SE_NEGATIVE_INFINITY, then the aggregating Geometry Hierarchy can rotate freely about that axis. If all axis limits are set in this way, then the Geometry Hierarchy will rotate freely in any direction about the center of rotation.

Primary Page in DRM Diagram:

Example

  1. A Union of Primitive Geometry, containing a single textured Polygon, rotating freely about the z axis to represent a tree.

    The Union of Primitive Geometry would have a component Stamp Behavior. x_axis_limits and y_axis_limits would be set to 0.0 for both clockwise and counter-clockwise limits. z_axis_limits would be set to SE_POSITIVE_INFINITY for clockwise and SE_NEGATIVE_INFINITY for counter-clockwise. The Stamp Behavior would have a component Location 3D located at the base of the tree so that the z axis runs up the center of the tree.

FAQs

--FAQs needed here --

Constraints

None.

Composed of (one-way)

Component of (one-way)

Field Elements

SE_ROTATION_DATA x_axis_limits; (notes)
SE_ROTATION_DATA y_axis_limits; (notes)
SE_ROTATION_DATA z_axis_limits; (notes)

Notes

Composed of Notes

Location_3D

 center of rotation

Fields Notes

x_axis_limits

 angular limits, in degrees

y_axis_limits

 angular limits, in degrees

z_axis_limits

 angular limits, in degrees

Prev: Spot Light. Next: State Related Features. Up:Index.