Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::animation::AnimationViewQt Class Reference
+ Inheritance diagram for inviwo::animation::AnimationViewQt:

Public Member Functions

 AnimationViewQt (AnimationController &controller, AnimationEditorQt *scene)
 
void setTimelinePos (double x)
 
AnimationControllergetController ()
 
- Public Member Functions inherited from inviwo::animation::AnimationControllerObserver
virtual void onAnimationChanged (AnimationController *, Animation *, Animation *)
 
- Public Member Functions inherited from inviwo::Observer
 Observer (const Observer &other)
 
 Observer (Observer &&other)
 
Observeroperator= (Observer &&other)
 
Observeroperator= (const Observer &other)
 
virtual ~Observer ()
 
void removeObservation (ObservableInterface *observable)
 
void removeObservations ()
 

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *e) override
 
virtual void mouseMoveEvent (QMouseEvent *e) override
 
virtual void mouseReleaseEvent (QMouseEvent *e) override
 
virtual void wheelEvent (QWheelEvent *e) override
 
virtual void keyPressEvent (QKeyEvent *keyEvent) override
 
virtual void keyReleaseEvent (QKeyEvent *keyEvent) override
 
void zoom (double dz)
 
virtual void drawBackground (QPainter *painter, const QRectF &rect) override
 
virtual void drawForeground (QPainter *painter, const QRectF &rect) override
 
virtual void onStateChanged (AnimationController *controller, AnimationState oldState, AnimationState newState) override
 
virtual void onTimeChanged (AnimationController *controller, Seconds oldTime, Seconds newTime) override
 
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 

Protected Attributes

AnimationEditorQtscene_
 
AnimationControllercontroller_
 
bool pressingOnTimeline_ = false
 
QWidget * timeline_
 
- Protected Attributes inherited from inviwo::Observer
std::unordered_set< ObservableInterface * > observables_
 

Member Function Documentation

◆ onStateChanged()

virtual void inviwo::animation::AnimationViewQt::onStateChanged ( AnimationController * controller,
AnimationState oldState,
AnimationState newState )
overrideprotectedvirtual

◆ onTimeChanged()

virtual void inviwo::animation::AnimationViewQt::onTimeChanged ( AnimationController * controller,
Seconds oldTime,
Seconds newTime )
overrideprotectedvirtual

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