32 RayData(RayData&& other) =
default;
33 RayData(
const RayData& other)
34 : intersections(other.intersections.clone()) {
47 const ICamera& camera)
override;
#define SPH_ASSERT(x,...)
#define NAMESPACE_SPH_END
Generic dynamically allocated resizable storage.
Interface defining a camera or view, used by a renderer.
Interface for objects assigning colors to particles.
Base class for renderers based on raytracing.
SharedPtr< IScheduler > scheduler
Container storing all quantities used within the simulations.
virtual bool isInitialized() const override
Checks if the renderer has been initialized.
Array< Rgba > colors
Particle colors.
Array< Vector > r
Particle positions.
Array< float > distention
Distention factor of each particle.
virtual void initialize(const Storage &storage, const IColorizer &colorizer, const ICamera &camera) override
Prepares the objects for rendering and updates its data.
VolumeRenderer(SharedPtr< IScheduler > scheduler, const GuiSettings &settings)
Ray given by origin and target point.
Parameters of the rendered image.