The main particle data header.
This structure contains the version of the data as the first entry (always), the cloud's bbox, number of particles in the cloud, the position vector and any optional attributes that were defined on the cloud.
The position data holds an array of miVector
values that represent each particle's position in local space. The number of entries in that array equals xsimrPointCloudData::nb_particles. The number of entries in the data array of each particle attribute is the same, unless the data is constant. In the case of constant data, only the first entry is valid and should be used for each particle. The position array is always full, never constant.
#include <xsi_miuserdata_defs.h>
Public Attributes | |
miUint | version |
miUint | nb_particles |
miTag | positions |
int | i_data |
int | n_data |
xsimrAttributeData | attributes [1] |
miUint version |
Version of the data