51 virtual std::string
getCaption()
const override;
55 virtual void clear()
override;
double Float
Precision used withing the code. Use Float instead of float or double where precision is important.
Smart pointer associated with a mutex.
#define NAMESPACE_SPH_END
Drawing quantity values as functions of time or spatial coordinates.
Array< PlotData > getPlotList(const GuiSettings &gui)
AutoPtr< IPlot > getDataPlot(const Path &path, const std::string &name="reference")
Generic dynamically allocated resizable storage.
Wrapper of pointer that deletes the resource from destructor.
Container of key-value pairs.
Interface for objects assigning colors to particles.
Abstraction of a drawing context.
Interface for constructing generic plots from quantities stored in storage.
Interval rangeX() const
Returns the plotted range in x-coordinate.
Interval rangeY() const
Returns the plotted range in y-coordinate.
Object representing a path on a filesystem.
Temporal plot of currently selected particle.
void selectParticle(const Optional< Size > idx)
virtual void onTimeStep(const Storage &storage, const Statistics &stats) override
Updates the plot with new data.
SelectedParticlePlot(const Float initialPeriod)
virtual void plot(IDrawingContext &dc) const override
Draws the plot into the drawing context.
virtual std::string getCaption() const override
Returns the caption of the plot.
virtual void clear() override
Clears all cached data, prepares for next run.
void setColorizer(const SharedPtr< IColorizer > &newColorizer)
Object holding various statistics about current run.
Container storing all quantities used within the simulations.
Rgba color
Color of the plot.
LockingPtr< IPlot > plot
Plot to be drawn with associated mutex.