Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Teddy::Imports::LWChannelEnvelope Class Reference

#include <LWChannelEnvelope.h>

List of all members.

Public Methods

 LWChannelEnvelope (int channel_id)
int getChannelId ()
void insert (LWChannelKey *channel_key)
void setBehaviors (int pre, int post)
float eval (float key_position)

Protected Attributes

list< LWChannelKey * > keys
int channel_id
int steps
int pre_behavior
int post_behavior
float last_time
float last_value


Constructor & Destructor Documentation

Teddy::Imports::LWChannelEnvelope::LWChannelEnvelope int    channel_id
 

Definition at line 46 of file LWChannelEnvelope.cpp.


Member Function Documentation

float Teddy::Imports::LWChannelEnvelope::eval float    time
 

evalEnvelope()

Given a list of keys and a time, returns the interpolated value of the envelope at that time.

Definition at line 513 of file LWChannelEnvelope.cpp.

int Teddy::Imports::LWChannelEnvelope::getChannelId  
 

Definition at line 58 of file LWChannelEnvelope.cpp.

References channel_id.

void Teddy::Imports::LWChannelEnvelope::insert LWChannelKey   channel_key
 

Definition at line 63 of file LWChannelEnvelope.cpp.

References keys.

void Teddy::Imports::LWChannelEnvelope::setBehaviors int    pre,
int    post
 

Definition at line 68 of file LWChannelEnvelope.cpp.

References post_behavior, and pre_behavior.


Member Data Documentation

int Teddy::Imports::LWChannelEnvelope::channel_id [protected]
 

Definition at line 89 of file LWChannelEnvelope.h.

Referenced by getChannelId.

list<LWChannelKey*> Teddy::Imports::LWChannelEnvelope::keys [protected]
 

Definition at line 88 of file LWChannelEnvelope.h.

Referenced by insert.

float Teddy::Imports::LWChannelEnvelope::last_time [protected]
 

Definition at line 93 of file LWChannelEnvelope.h.

float Teddy::Imports::LWChannelEnvelope::last_value [protected]
 

Definition at line 94 of file LWChannelEnvelope.h.

int Teddy::Imports::LWChannelEnvelope::post_behavior [protected]
 

Definition at line 92 of file LWChannelEnvelope.h.

Referenced by setBehaviors.

int Teddy::Imports::LWChannelEnvelope::pre_behavior [protected]
 

Definition at line 91 of file LWChannelEnvelope.h.

Referenced by setBehaviors.

int Teddy::Imports::LWChannelEnvelope::steps [protected]
 

Definition at line 90 of file LWChannelEnvelope.h.


The documentation for this class was generated from the following files: