Table 6.13 — DRM_Animation_Behaviour

Property

Description

Class

  • <DRM Animation Behaviour>

Superclass

Subclass

  • None.

Definition

An instance of this DRM class specifies, for its aggregate <DRM Animation Related Geometry> instance(s), all the information necessary to define one animation sequence among the “frames” defined by that <DRM Animation Related Geometry>.

Class diagram

Figure 6.11 — DRM_Animation_Behaviour

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 metadata) (inherited)

  • None.

Composed of (two-way metadata)

  • None.

Component of (two-way) (inherited)

  • None.

Component of (two-way)

Constraints

Clarifications

1 This specifies the duration (in seconds) of each frame.

2 This specifies the number of times that the animation sequence will repeat, where 0 indicates that it repeats endlessly.

3 If this value is TRUE, the animation sequence cycles from beginning to end, beginning to end, beginning to end, for the number of iterations specified by count; this is referred to as standard cycling. If forward_sequence_mode is FALSE, the animation sequence cycles from beginning to end, end to beginning, beginning to end, end to beginning, as specified by count; this is referred to as swing mode.

4 This specifies the index of the beginning frame (1 to n).

5 This specifies the index of the ending frame (1 to n).

6 This flag specifies whether the beginning frame is chosen randomly. If random_beginning_frame = FALSE, the beginning frame is ignored, and the sequence cycles towards the ending frame.

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> instance would have 60 ordered <DRM Geometry Hierarchy> 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.