#include <KeyC.h>
Inheritance diagram for FloatKeyC:
Public Methods | |
virtual Edit::DataBlockI * | create () |
Create new key with zero no channels. | |
virtual Edit::DataBlockI * | create (Edit::EditableI *pOriginal) |
Creates new file handle (used internally), see Edit::EditableI::create(). | |
virtual void | copy (Edit::EditableI *pEditable) |
Deep copy from a data block, see Edit::DataBlockI::copy(). | |
virtual void | restore (Edit::EditableI *pEditable) |
Shallow copy from a editable, see Edit::EditableI::restore(). | |
virtual PajaTypes::float32 | get_ease_in () |
Returns ease in value. | |
virtual PajaTypes::float32 | get_ease_out () |
Returns ease out value. | |
virtual PajaTypes::float32 | get_tens () |
Returns tension value. | |
virtual PajaTypes::float32 | get_cont () |
Returns continuity value. | |
virtual PajaTypes::float32 | get_bias () |
Returns bias value. | |
virtual void | set_ease_in (PajaTypes::float32) |
Sets ease in value. | |
virtual void | set_ease_out (PajaTypes::float32) |
Sets ease out value. | |
virtual void | set_tens (PajaTypes::float32) |
Sets tension value. | |
virtual void | set_cont (PajaTypes::float32) |
Sets continuity value. | |
virtual void | set_bias (PajaTypes::float32) |
Sets bias value. | |
virtual void | get_value (PajaTypes::float32 *pValues) |
Returns the value of the key. | |
virtual void | set_value (const PajaTypes::float32 *pValues) |
Sets the value of the key. | |
virtual void | get_in_tan (PajaTypes::float32 *pValues) |
virtual void | set_in_tan (const PajaTypes::float32 *pValues) |
virtual void | get_out_tan (PajaTypes::float32 *pValues) |
virtual void | set_out_tan (const PajaTypes::float32 *pValues) |
virtual PajaTypes::uint32 | save (FileIO::SaveC *pSave) |
Serialize the key to a Demopaja output stream. | |
virtual PajaTypes::uint32 | load (FileIO::LoadC *pLoad) |
Serialize the key from a Demopaja input stream. | |
Static Public Methods | |
FloatKeyC * | create_new () |
Create new key with zero no channels. | |
FloatKeyC * | create_new (PajaTypes::int32 i32NumChannels) |
Create new key with specified number fo channels. | |
Protected Methods | |
FloatKeyC () | |
Default constructor. | |
FloatKeyC (PajaTypes::int32 i32Time) | |
Creates new key and assign it the specified time. | |
FloatKeyC (Edit::EditableI *pOriginal) | |
Constructor with reference to the original. | |
virtual | ~FloatKeyC () |
Default destructor. | |
Protected Attributes | |
PajaTypes::float32 * | m_pValues |
PajaTypes::int32 | m_i32NumChannels |
PajaTypes::float32 | m_f32EaseIn |
PajaTypes::float32 | m_f32EaseOut |
PajaTypes::float32 | m_f32Tens |
PajaTypes::float32 | m_f32Cont |
PajaTypes::float32 | m_f32Bias |
One float key can have maximum of KEY_MAXCHANNELS channels. Currently the maximum number of channels is 4. All the channels in the key are floating point values.
This class is implemented by the system.
|
Default constructor.
|
|
Creates new key and assign it the specified time.
|
|
Constructor with reference to the original.
|
|
Default destructor.
|
|
Deep copy from a data block, see Edit::DataBlockI::copy().
Reimplemented from KeyC. |
|
Creates new file handle (used internally), see Edit::EditableI::create().
Reimplemented from KeyC. |
|
Create new key with zero no channels.
Reimplemented from KeyC. |
|
Create new key with specified number fo channels.
|
|
Create new key with zero no channels.
Reimplemented from KeyC. |
|
Returns bias value.
|
|
Returns continuity value.
|
|
Returns ease in value.
|
|
Returns ease out value.
|
|
Returns the value of in-coming tangent.
|
|
Returns the value of out-going tangent.
|
|
Returns tension value.
|
|
Returns the value of the key. If the number of channels of the key isn't absolutely know the following method should be used to retrieve the value:
float32 f32Values[KEY_MAXCHANNELS]; pKey->get_value( f32Values ); |
|
Serialize the key from a Demopaja input stream.
Reimplemented from KeyC. |
|
Shallow copy from a editable, see Edit::EditableI::restore().
Reimplemented from KeyC. |
|
Serialize the key to a Demopaja output stream.
Reimplemented from KeyC. |
|
Sets bias value.
|
|
Sets continuity value.
|
|
Sets ease in value.
|
|
Sets ease out value.
|
|
Sets in-coming tangent.
|
|
Sets out-going tangent.
|
|
Sets tension value.
|
|
Sets the value of the key. If the number of channels of the key isn't absolutely know the following method should be used to set the value:
float32 f32Values[KEY_MAXCHANNELS]; // Set values f32Values[0] = 10.0f; pKey->set_value( f32Values ); |