Murl::Resource::IAnimation::Iff::SingleKeysChunk Struct Reference

An IFF chunk of a native animation storing "single" (non-indexed) key types. More...

#include "murl_resource_i_animation.h"

Inheritance diagram for Murl::Resource::IAnimation::Iff::SingleKeysChunk:

Public Types

enum  {
  FOURCC_CHUNK_VISIBLE , FOURCC_CHUNK_ACTIVE , FOURCC_CHUNK_INDEX , FOURCC_CHUNK_DEPTH_ORDER ,
  FOURCC_CHUNK_ALPHA , FOURCC_CHUNK_VOLUME , FOURCC_CHUNK_TIME , FOURCC_CHUNK_AMBIENT ,
  FOURCC_CHUNK_DIFFUSE , FOURCC_CHUNK_SPECULAR , FOURCC_CHUNK_EMISSIVE , FOURCC_CHUNK_POSITION ,
  FOURCC_CHUNK_POSITION_X , FOURCC_CHUNK_POSITION_Y , FOURCC_CHUNK_POSITION_Z , FOURCC_CHUNK_SCALING ,
  FOURCC_CHUNK_SCALING_X , FOURCC_CHUNK_SCALING_Y , FOURCC_CHUNK_SCALING_Z , FOURCC_CHUNK_AXIS_ANGLE ,
  FOURCC_CHUNK_QUATERNION , FOURCC_CHUNK_EULER_ANGLE , FOURCC_CHUNK_EULER_ANGLE_X , FOURCC_CHUNK_EULER_ANGLE_Y ,
  FOURCC_CHUNK_EULER_ANGLE_Z , FOURCC_CHUNK_SHEARING_XY , FOURCC_CHUNK_SHEARING_XZ , FOURCC_CHUNK_SHEARING_YX ,
  FOURCC_CHUNK_SHEARING_YZ , FOURCC_CHUNK_SHEARING_ZX , FOURCC_CHUNK_SHEARING_ZY , FOURCC_CHUNK_EVENT_TRIGGER
}
 IFF identifiers. More...
 

Public Attributes

UInt32 mNumberOfKeys
 The number of keys in this chunk.
 
UInt32 mKeysOffset
 An offset into the chunk where the key frame data is stored. See IffOffset().
 

Additional Inherited Members

- Public Member Functions inherited from Murl::Util::IffChunk
template<class DataType >
DataType * IffOffset (UInt32 byteOffset) const
 Get a typed pointer from an offset relative to the chunk. More...
 
void SetFourCC (UInt32 fourCC)
 Set the chunk identifier. More...
 
UInt32 GetFourCC () const
 Get the chunk identifier. More...
 
void SetChunkSize (UInt32 size)
 Set the chunk size. More...
 
UInt32 GetChunkSize () const
 Get the chunk size. More...
 
UInt32 GetRawSize () const
 Get the chunk size minus sizeof(IffChunk). More...
 
- Protected Attributes inherited from Murl::Util::IffChunk
UInt32 mFourCC
 The FourCC chunk identifier.
 
UInt32 mSize
 The size of this chunk minus sizeof(IffChunk).
 

Detailed Description

An IFF chunk of a native animation storing "single" (non-indexed) key types.

The data pointed to by the mKeysOffset member must be interpreted as an array of structs of the type defined for the respective FourCC chunk identifier, e.g. a chunk of type FOURCC_DIFFUSE contains a data block consisting of mNumberOfKeys consecutive Raw::ColorKey structures, with the data size in bytes equalling mNumberOfKeys*sizeof(Raw::ColorKey).

There can only be one chunk of a specific type for a single clip, hence the name SingleKeysChunk, e.g. it is not possible to have more than one key chunk of type FOURCC_POSITION per clip.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

IFF identifiers.

Enumerator
FOURCC_CHUNK_VISIBLE 

BoolKey chunk controlling a node's "visible" property.

FOURCC_CHUNK_ACTIVE 

BoolKey chunk controlling a node's "active" property.

FOURCC_CHUNK_INDEX 

SInt32Key chunk representing an index.

FOURCC_CHUNK_DEPTH_ORDER 

SInt32Key chunk representing a depth order.

FOURCC_CHUNK_ALPHA 

FloatKey chunk representing an alpha value.

FOURCC_CHUNK_VOLUME 

FloatKey chunk representing an audio volume.

FOURCC_CHUNK_TIME 

FloatKey chunk representing a time value.

FOURCC_CHUNK_AMBIENT 

ColorKey chunk representing an ambient color.

FOURCC_CHUNK_DIFFUSE 

ColorKey chunk representing a diffuse color.

FOURCC_CHUNK_SPECULAR 

ColorKey chunk representing a specular color.

FOURCC_CHUNK_EMISSIVE 

ColorKey chunk representing an emissive color.

FOURCC_CHUNK_POSITION 

PositionKey chunk.

FOURCC_CHUNK_POSITION_X 

FloatKey chunk representing an X position.

FOURCC_CHUNK_POSITION_Y 

FloatKey chunk representing a Y position.

FOURCC_CHUNK_POSITION_Z 

FloatKey chunk representing a Z position.

FOURCC_CHUNK_SCALING 

ScalingKey chunk.

FOURCC_CHUNK_SCALING_X 

FloatKey chunk representing a scale factor in X direction.

FOURCC_CHUNK_SCALING_Y 

FloatKey chunk representing a scale factor in Y direction.

FOURCC_CHUNK_SCALING_Z 

FloatKey chunk representing a scale factor in Z direction.

FOURCC_CHUNK_AXIS_ANGLE 

AxisAngleKey chunk rotation represented in axis/angle format.

FOURCC_CHUNK_QUATERNION 

QuaternionKey chunk rotation represented as a quaternion.

FOURCC_CHUNK_EULER_ANGLE 

EulerAngleKey chunk representing euler X/Y/Z angle.

FOURCC_CHUNK_EULER_ANGLE_X 

FloatKey chunk representing an euler X angle.

FOURCC_CHUNK_EULER_ANGLE_Y 

FloatKey chunk representing an euler Y angle.

FOURCC_CHUNK_EULER_ANGLE_Z 

FloatKey chunk representing an euler Z angle.

FOURCC_CHUNK_SHEARING_XY 

FloatKey chunk representing a shear factor in X direction depending on Y.

FOURCC_CHUNK_SHEARING_XZ 

FloatKey chunk representing a shear factor in X direction depending on Z.

FOURCC_CHUNK_SHEARING_YX 

FloatKey chunk representing a shear factor in Y direction depending on X.

FOURCC_CHUNK_SHEARING_YZ 

FloatKey chunk representing a shear factor in Y direction depending on Z.

FOURCC_CHUNK_SHEARING_ZX 

FloatKey chunk representing a shear factor in Z direction depending on X.

FOURCC_CHUNK_SHEARING_ZY 

FloatKey chunk representing a shear factor in Z direction depending on Y.

FOURCC_CHUNK_EVENT_TRIGGER 

EventTriggerKey chunks.


The documentation for this struct was generated from the following file:
  • murl_resource_i_animation.h


Copyright © 2011-2024 Spraylight GmbH.