MeVisLab Scripting Reference
MLABKeyFrameEditorControl Class Reference
Inheritance diagram for MLABKeyFrameEditorControl:
MLABWidgetControl

Public Slots

Scripting access


bool saveKeyFrameCollection (const QString &filename)
 
bool readKeyFrameCollection (const QString &filename)
 
void newKeyFrameCollection ()
 
void startPlaying ()
 
void stopPlaying ()
 
void pausePlaying ()
 
bool isPlaybackPaused ()
 
bool isPlaybackStopped ()
 
void setRecordingProgress (int writtenFrames)
 
void setIsRecording (bool recording)
 
MLABScriptKeyFrameModel * getKeyFrameModel ()
 
SoNode * getUpdatedCameraPath ()
 
void addField (MLABField *field)
 
void addKeyFrame (MLABField *field, int frame)
 
void addKeyFrame (MLABField *field, int frame, QString value)
 
void addKeyFrame (MLABField *field, int frame, QString value, QColor color)
 
QVariant getKeyFrame (MLABField *field, int frame)
 
QVariant getPreviousKeyFrame (MLABField *field, int frame)
 
bool removeKeyFrame (MLABField *field, int frame)
 
void gotoPreviousKeyFrame ()
 
void gotoNextKeyFrame ()
 
void undo ()
 
void redo ()
 
- Public Slots inherited from MLABWidgetControl
void adjustSize ()
 
virtual void setEnabled (bool flag)
 
virtual void setVisible (bool flag)
 
virtual bool isVisible ()
 
virtual void setFocus ()
 
virtual bool hasFocus ()
 
virtual void setToolTip (const QString &string)
 
virtual void setWhatsThis (const QString &string)
 
void displayWhatsThis ()
 
void displayWhatsThis (const QString &text)
 
virtual void setTitle (const QString &)
 
QWidget * widget ()
 
QLayout * layout ()
 
virtual QString windowHandle ()
 
virtual bool createScreenshot (const QString &filename, bool grabFromScreen=true, bool scaleToLowRes=false)
 
bool isReloadable () const
 
void reload (MLABTree *tree)
 
QString createGlobalScreenshot ()
 
QString applicationName ()
 
QSize size ()
 
int width ()
 
int height ()
 
int minWidth ()
 
int minHeight ()
 
int maxWidth ()
 
int maxHeight ()
 
virtual void setMinWidth (int s)
 
virtual void setMinHeight (int s)
 
void setMaxWidth (int s)
 
void setMaxHeight (int s)
 
QSize sizeHint ()
 
QSize minSize ()
 
QSize maxSize ()
 
void setMinSize (QSize size)
 
void setMaxSize (QSize size)
 
void updateLayout ()
 
int windowID ()
 
MLABWidgetControlcontrol (const QString &name)
 
float scaleFactor ()
 
MLABModulemodule ()
 
QString getType ()
 
QString getName ()
 
bool acceptDrops ()
 
void setAcceptDrops (bool flag)
 
void raiseWidget ()
 
void setStyleSheetFromString (const QString &styleSheetText)
 
void setStyleSheetFromFile (const QString &styleSheetFileName)
 
MLABTreetree ()
 
void updateMaxSize ()
 
bool expandX ()
 
bool expandY ()
 
MLABTreePtr getDefaultTagValues () const
 
virtual bool hasUncommittedChanges () const
 
virtual void applyUncommittedChanges ()
 
virtual void revertUncommittedChanges ()
 
MLABFieldfield () const
 

Detailed Description

Member Function Documentation

◆ isPlaybackPaused

bool MLABKeyFrameEditorControl::isPlaybackPaused ( )
slot

Returns true if playback is paused.

◆ isPlaybackStopped

bool MLABKeyFrameEditorControl::isPlaybackStopped ( )
slot

Returns true if playback is stopped.

◆ newKeyFrameCollection

void MLABKeyFrameEditorControl::newKeyFrameCollection ( )
slot

Creates a new empty key frame collection.

◆ pausePlaying

void MLABKeyFrameEditorControl::pausePlaying ( )
slot

Pauses playing.

◆ readKeyFrameCollection

bool MLABKeyFrameEditorControl::readKeyFrameCollection ( const QString &  filename)
slot

Clears the current key frame collection and reads a new one from the given file. Returns true on succes, false otherwise.

◆ saveKeyFrameCollection

bool MLABKeyFrameEditorControl::saveKeyFrameCollection ( const QString &  filename)
slot

Saves the current key frame collection. Returns true on succes, false otherwise.

◆ setRecordingProgress

void MLABKeyFrameEditorControl::setRecordingProgress ( int  writtenFrames)
slot

Sets the recording progress as number of written frames.

◆ startPlaying

void MLABKeyFrameEditorControl::startPlaying ( )
slot

Starts/resumes playing.

◆ stopPlaying

void MLABKeyFrameEditorControl::stopPlaying ( )
slot

Stops playing.