7 #include <wx/dcclient.h>
21 virtual void stop()
const = 0;
31 std::map<int, Path> fileMap;
49 int positionToFrame(
const wxPoint
position)
const;
53 void onPaint(wxPaintEvent& evt);
55 void onMouseMotion(wxMouseEvent& evt);
57 void onLeftClick(wxMouseEvent& evt);
59 void onKeyUp(wxKeyEvent& evt);
70 timeline->
update(inputFile);
Helper functions to check the internal consistency of the code.
uint32_t Size
Integral type used to index arrays (by default).
#define NAMESPACE_SPH_END
NAMESPACE_SPH_BEGIN std::map< int, Path > getSequenceFiles(const Path &inputPath)
virtual void pause() const =0
virtual void startSequence(const Path &firstFile) const =0
virtual void frameChanged(const Path &newFile) const =0
virtual void stop() const =0
Object representing a path on a filesystem.
void setFrame(const Size newFrame)
TimeLinePanel(wxWindow *parent, const Path &inputFile, SharedPtr< ITimeLineCallbacks > callbacks)
void update(const Path &inputFile)
TimeLine(wxWindow *parent, const Path &inputFile, SharedPtr< ITimeLineCallbacks > callbacks)
void setFrame(const Size newFrame)
void update(const Path &inputFile)
Vector position(const Float a, const Float e, const Float u)
Computes the position on the elliptic trajectory.
Base class for all polymorphic objects.