xsimrPointCloudData Struct Reference
 
 
 
xsimrPointCloudData Struct Reference

#include <xsi_miuserdata_defs.h>


Class Description

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.

See also:
xsimrPointCloudData, xsimrPointCloudIndex, PointCloud Defines, xsimrAttributeData, xsimrParticleShape
Since:
7.0

List of all members.

Public Attributes

miUint  version
miUint  nb_particles
miTag  positions
int  i_data
int  n_data
xsimrAttributeData  attributes [1]

Member Data Documentation

miUint version

Version of the data

miUint nb_particles

Number of particles in the cloud

miTag positions

Particle position in local space

Attributes (optional) defined on the cloud


The documentation for this struct was generated from the following file: