Class Dataset_UI

Class Documentation

class Dataset_UI

Virtual base for offline dataset sources to have a GUI within MolaViz

Virtual interface of Dataset_UI

{

virtual size_t datasetUI_size() const = 0

Number of different time steps available to call getObservations()

virtual size_t datasetUI_lastQueriedTimestep() const = 0

Returns the latest requested observation, range [0, datasetSize()]

virtual double datasetUI_playback_speed() const = 0
virtual void datasetUI_playback_speed(double speed) = 0
virtual bool datasetUI_paused() const = 0
virtual void datasetUI_paused(bool paused) = 0
virtual void datasetUI_teleport(size_t timestep) = 0

Forces continue replaying in this moment in time

Public Functions

Dataset_UI()
virtual ~Dataset_UI()