| 
    MeVisLab Scripting Reference
    
   | 
 
#include <mlKeyFrameListWrapper.h>
Inherits QObject.
Public Slots | |
| QObject * | getFrame (int position) const | 
| QList< QObject * > | getFrames () const | 
List modifying methods. These need a touch on the owning field to propagate the changes.  | |
| QObject * | addFrame (const QVariantList &pos, const QVariantList &tangent, const QVariantList &up) | 
| QObject * | insertFrame (int index, const QVariantList &pos, const QVariantList &tangent, const QVariantList &up) | 
| void | removeFrame (int index) | 
| size_t | size () const | 
A class that wraps KeyFrameList objects for use in scripting.
      
  | 
  slot | 
Adds a new MLKeyFrameWrapper at the end of the list.
You must provide the position, tangent vector, and up vector as lists/tuples of three numeric values.
      
  | 
  slot | 
Returns the MLKeyFrameWrapper for a certain position.
      
  | 
  slot | 
Returns a list of MLKeyFrameWrapper.
      
  | 
  slot | 
Inserts a new MLKeyFrameWrapper at the given index.
Arguments are the same as above plus the position where the frame is inserted in the list.
      
  | 
  slot | 
Removes the key frame at the given position in the list. Note that the wrapper for this key frame also gets removed at this point.
      
  | 
  slot | 
Returns number of key frames in the list.