SPH
Public Member Functions | List of all members
AngularHistogramPlot Class Reference

Differential histogram of angular distribution. More...

#include <Plot.h>

Inheritance diagram for AngularHistogramPlot:
IPlot Polymorphic

Public Member Functions

 AngularHistogramPlot (const Float period)
 
virtual std::string getCaption () const override
 Returns the caption of the plot. More...
 
virtual void onTimeStep (const Storage &storage, const Statistics &stats) override
 Updates the plot with new data. More...
 
virtual void clear () override
 Clears all cached data, prepares for next run. More...
 
virtual void plot (IDrawingContext &dc) const override
 Draws the plot into the drawing context. More...
 
- Public Member Functions inherited from IPlot
Interval rangeX () const
 Returns the plotted range in x-coordinate. More...
 
Interval rangeY () const
 Returns the plotted range in y-coordinate. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Additional Inherited Members

- Protected Attributes inherited from IPlot
struct {
   Interval   x
 
   Interval   y
 
ranges
 

Detailed Description

Differential histogram of angular distribution.

Currently fixed for velocities.

Definition at line 294 of file Plot.h.

Constructor & Destructor Documentation

◆ AngularHistogramPlot()

AngularHistogramPlot::AngularHistogramPlot ( const Float  period)
explicit

Definition at line 218 of file Plot.cpp.

Member Function Documentation

◆ clear()

void AngularHistogramPlot::clear ( )
overridevirtual

Clears all cached data, prepares for next run.

Implements IPlot.

Definition at line 258 of file Plot.cpp.

◆ getCaption()

virtual std::string AngularHistogramPlot::getCaption ( ) const
inlineoverridevirtual

Returns the caption of the plot.

Implements IPlot.

Definition at line 305 of file Plot.h.

◆ onTimeStep()

void AngularHistogramPlot::onTimeStep ( const Storage storage,
const Statistics stats 
)
overridevirtual

Updates the plot with new data.

Called every time step.

Implements IPlot.

Definition at line 221 of file Plot.cpp.

◆ plot()

void AngularHistogramPlot::plot ( IDrawingContext dc) const
overridevirtual

Draws the plot into the drawing context.

Implements IPlot.

Definition at line 263 of file Plot.cpp.


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