Assimp  v4.1. (December 2018)
LWOAnimation.h File Reference

LWOAnimationResolver utility class. More...

Classes

class  Assimp::LWO::AnimResolver
 Utility class to build Assimp animations from LWO envelopes. More...
 
struct  Assimp::LWO::Envelope
 Data structure for a LWO animation envelope. More...
 
struct  Assimp::LWO::Key
 Data structure for a LWO animation keyframe. More...
 

Namespaces

 Assimp
 MACHINE-GENERATED by scripts/ICFImporter/CppGenerator.py.
 
 Assimp::LWO
 

Macros

#define AI_LWO_ANIM_FLAG_SAMPLE_ANIMS   0x1
 
#define AI_LWO_ANIM_FLAG_START_AT_ZERO   0x2
 

Enumerations

enum  Assimp::LWO::EnvelopeType {
  Assimp::LWO::EnvelopeType_Position_X = 0x1, Assimp::LWO::EnvelopeType_Position_Y = 0x2, Assimp::LWO::EnvelopeType_Position_Z = 0x3, Assimp::LWO::EnvelopeType_Rotation_Heading = 0x4,
  Assimp::LWO::EnvelopeType_Rotation_Pitch = 0x5, Assimp::LWO::EnvelopeType_Rotation_Bank = 0x6, Assimp::LWO::EnvelopeType_Scaling_X = 0x7, Assimp::LWO::EnvelopeType_Scaling_Y = 0x8,
  Assimp::LWO::EnvelopeType_Scaling_Z = 0x9, Assimp::LWO::EnvelopeType_Color_R = 0xa, Assimp::LWO::EnvelopeType_Color_G = 0xb, Assimp::LWO::EnvelopeType_Color_B = 0xc,
  Assimp::LWO::EnvelopeType_Falloff_X = 0xd, Assimp::LWO::EnvelopeType_Falloff_Y = 0xe, Assimp::LWO::EnvelopeType_Falloff_Z = 0xf, Assimp::LWO::EnvelopeType_Unknown
}
 List of recognized LWO envelopes. More...
 
enum  Assimp::LWO::InterpolationType {
  Assimp::LWO::IT_STEP, Assimp::LWO::IT_LINE, Assimp::LWO::IT_TCB, Assimp::LWO::IT_HERM,
  Assimp::LWO::IT_BEZI, Assimp::LWO::IT_BEZ2
}
 List of recognized LWO interpolation modes. More...
 
enum  Assimp::LWO::PrePostBehaviour {
  Assimp::LWO::PrePostBehaviour_Reset = 0x0, Assimp::LWO::PrePostBehaviour_Constant = 0x1, Assimp::LWO::PrePostBehaviour_Repeat = 0x2, Assimp::LWO::PrePostBehaviour_Oscillate = 0x3,
  Assimp::LWO::PrePostBehaviour_OffsetRepeat = 0x4, Assimp::LWO::PrePostBehaviour_Linear = 0x5
}
 List of recognized LWO pre or post range behaviours. More...
 

Detailed Description

LWOAnimationResolver utility class.

This is for all lightwave-related file format, not only LWO. LWS isthe main purpose.

Macro Definition Documentation

◆ AI_LWO_ANIM_FLAG_SAMPLE_ANIMS

#define AI_LWO_ANIM_FLAG_SAMPLE_ANIMS   0x1

Flag for AnimResolver, subsamples the input data with the rate specified by AnimResolver::SetSampleRate().

◆ AI_LWO_ANIM_FLAG_START_AT_ZERO

#define AI_LWO_ANIM_FLAG_START_AT_ZERO   0x2

Flag for AnimResolver, ensures that the animations starts at zero.