Skip to content

raisin::tcp_viewer::DeformableMesh ​

struct · #include <rayrai/TcpRemoteSceneState.hpp>

Dynamic triangle mesh data for a deformable object.

Public attributes ​

vertices ​

cpp
std::vector<float> vertices

Flattened xyz positions.

indices ​

cpp
std::vector<int32_t> indices

Triangle vertex indices.

renderVertices ​

cpp
std::vector<Vertex> renderVertices

Render vertices derived from vertices.

vertexDirty ​

cpp
bool vertexDirty

Positions changed; render vertices must be refreshed.

topologyDirty ​

cpp
bool topologyDirty

Indices changed; the render mesh must be rebuilt.

hasBounds ​

cpp
bool hasBounds

boundsMin / boundsMax are valid.

boundsMin ​

cpp
glm::vec3 boundsMin

AABB minimum of vertices.

boundsMax ​

cpp
glm::vec3 boundsMax

AABB maximum of vertices.

RaiSim — physics for robotics and AI.