Table 6.15— DRM_Animation_Behaviour

Property

Description

Superclass

·         <DRM SEDRIS Abstract Base>

Class

·         <DRM Animation Behaviour>

Subclass

·         none

Definition

A component of <DRM Animation Related Geometry>. This class contains all the information necessary to define time sequence, and the frames involved.

Example(s)

·         An animation of an explosion could have many different sections. One section could represent the explosion, another section the fire, and another section smoke. The fields of this class give the duration of each frame and the beginning and ending frame sequence.

·         The <DRM Animation Related Geometry> class would have 60 ordered <DRM Geometry Hierarchy>s as components. The first <DRM Animation Behaviour> (explosion) would define frames 1 through 20 in its animation sequence. The second <DRM Animation Behaviour> (fire) would define frames 21 through 40 in its animation sequence. The third <DRM Animation Behaviour> (smoke) would define frames 41 through 60 as its sequence, with the count set to 0. The effect would be to see the animation of the explosion followed by the fire, followed by the smoke. The smoke would last forever, since its count was set to 0.

Inherited field elements

field_name

range

Field_Data_Type

none

 

 

Field elements

field_name

range

Field_Data_Type

period1

 

Long_Float

count2

 

Short_Integer_Unsigned

forward_sequence_mode3

 

Boolean

beginning_frame4

 

Short_Integer_Positive

ending_frame5

 

Short_Integer_Positive

random_beginning_frame6

 

Boolean

Associated to (one-way) (inherited)

·         none

Associated to (one-way)

·         none

Associated by (one-way) (inherited)

·         none

Associated by (one-way)

·         none

Associated with (two-way) (inherited)

·         none

Associated with (two-way)

·         none

Composed of (two-way) (inherited)

·         none

Composed of (two-way)

·         none

Composed of (two-way metadata) (inherited)

·         none

Composed of (two-way metadata)

·         none

Component of (inherited)

·         none

Component of

·         one or more <DRM Animation Related Geometry>s

Constraints

·         none

Notes

1 Duration (in seconds) of each frame

2 The number of times that the animation sequence will repeat (0 = forever)

3 If true, the animation sequence cycles from beginning to end, beginning to end, beginning to end, etc. (standard cycling). If false, the animation sequence cycles from beginning to end, end to beginning, beginning to end, end to beginning, etc. (swing mode).

4 The index of the beginning frame (1 to n)

5 The index of the ending frame (1 to n)

6 Flag The default of false indicates not random.True indicates that the beginning frame is chosen randomly. When random_beginning_frame is false, the beginning frame is ignored, and the sequence cycles towards the ending frame.

Class diagram

<DRM Animation Behaviour>