Skip to content

raisin::tcp_viewer::StreamedFluidVolume ​

struct · #include <rayrai/TcpRemoteSceneState.hpp>

A volume of liquid of the server (ViewerCommandType::SetFluidVolumes).

Public member functions ​

operator== ​

cpp
bool operator==(const StreamedFluidVolume &) const = default

Public attributes ​

box ​

cpp
std::array<double, 6> box

min x, min y, max x, max y, surface and bottom height; open bounds are infinite.

waves ​

cpp
std::vector<std::array<double, 5>> waves

Direction x and y, wavelength, amplitude and phase of each wave (raisim::FluidWave).

RaiSim — physics for robotics and AI.