The SEDRIS Data Representation Model
APPENDIX A - Classes
Rotation

Class Name: Rotation

Superclass - <LSR Transformation Step>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class specifies a rotation of the given angle about the specified axis, in the direction determined by the right-hand rule.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

  1. Rotate 145 degrees about the X axis
  2. Rotate -38.5 degrees about the Z axis
  3. Rotate 97 degrees about the Y axis

FAQs

How do I rotate about a point other than the origin?
Precede the <Rotation> step by a <Translation> step that translates to the desired rotation point.

Constraints

None.

Composed of (two-way)(inherited)

Composed of (two-way)

Component of (two-way)(inherited)

Component of (two-way)

Inherited Field Elements

This class has no inherited field elements.

Field Elements

SE_LSR_Transform_Axis axis; (notes)
SE_Long_Float angle; (notes)

Notes

Composed of Notes


Reference_Vector

 This <Reference Vector> shall have
 vector_type = SE_REF_VEC_TYP_LSR_TRANSFORMATION_AXIS

Fields Notes


axis

 This specifies which axis to rotate around: X, Y, Z, or a
 <Reference Vector>. Specifying "all <Axes>" is not allowed.

angle

 This specifies the angle of rotation, measured counterclockwise
 about the given axis, in degrees of arc.

Prev: Rotating Light Behaviour. Next: Rotation Control Link. Up:Index.

Last updated: October 1, 2002 Copyright © 2002 SEDRIS™