Inviwo
0.9.10.1
Inviwo documentation
|
Public Types | |
enum | { Type = UserType + static_cast<int>(ItemTypes::KeyframeSequence) } |
Public Member Functions | |
KeyframeSequenceWidgetQt (KeyframeSequence &keyframeSequence, QGraphicsItem *parent) | |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *options, QWidget *widget) override |
KeyframeSequence & | getKeyframeSequence () |
const KeyframeSequence & | getKeyframeSequence () const |
virtual int | type () const override |
Public Member Functions inherited from inviwo::animation::KeyframeSequenceObserver | |
virtual void | onKeyframeSequenceSelectionChanged (KeyframeSequence *) |
Public Member Functions inherited from inviwo::Observer | |
Observer (const Observer &other) | |
Observer (Observer &&other) | |
Observer & | operator= (Observer &&other) |
Observer & | operator= (const Observer &other) |
virtual | ~Observer () |
void | removeObservation (ObservableInterface *observable) |
void | removeObservations () |
Protected Member Functions | |
virtual void | onKeyframeAdded (Keyframe *key, KeyframeSequence *seq) override |
virtual void | onKeyframeRemoved (Keyframe *key, KeyframeSequence *seq) override |
virtual void | onKeyframeSequenceMoved (KeyframeSequence *seq) override |
virtual QRectF | boundingRect () const override |
KeyframeWidgetQt * | getKeyframeQt (const Keyframe *keyframe) const |
Get the KeyframeQt corresponding to the given keyframe. More... | |
virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
Protected Member Functions inherited from inviwo::Observer | |
void | addObservation (ObservableInterface *observable) |
Protected Attributes | |
KeyframeSequence & | keyframeSequence_ |
QRectF | rect_ |
std::unordered_map< const Keyframe *, std::unique_ptr< KeyframeWidgetQt > > | keyframes_ |
Protected Attributes inherited from inviwo::Observer | |
ObservableSet | observables_ |
Additional Inherited Members | |
Protected Types inherited from inviwo::Observer | |
using | ObservableSet = std::unordered_set< ObservableInterface * > |
|
protected |
Get the KeyframeQt corresponding to the given keyframe.
keyframe | The keyframe to search for |