20 Float surfaceResolution;
50 const ICamera& camera)
override;
Wrapper of wxBitmap, will be possibly replaced by custom implementation.
double Float
Precision used withing the code. Use Float instead of float or double where precision is important.
Computes interpolated values of quantities between SPH particles.
#define NAMESPACE_SPH_END
Interface defining a camera or view, used by a renderer.
Interface for objects assigning colors to particles.
Interface used to implement renderers.
virtual bool isInitialized() const override
Checks if the renderer has been initialized.
virtual void cancelRender() override
Stops the rendering if it is currently in progress.
MeshRenderer(SharedPtr< IScheduler > scheduler, const GuiSettings &settings)
Array< Rgba > colors
Colors of surface vertices assigned by the colorizer.
Array< Triangle > triangles
Triangles of the surface.
virtual void initialize(const Storage &storage, const IColorizer &colorizer, const ICamera &camera) override
Prepares the objects for rendering and updates its data.
virtual void render(const RenderParams ¶ms, Statistics &stats, IRenderOutput &output) const override
Can only be called from main thread.
Object holding various statistics about current run.
Container storing all quantities used within the simulations.
Parameters of the rendered image.