sim.getPointCloudOptions

Gets various properties of a point cloud

Synopsis

float maxVoxelS, int maxPtCntPerVoxel, int opt, float ps = sim.getPointCloudOptions(int pcHandle) float maxVoxelS, int maxPtCntPerVoxel, int opt, float ps = sim.getPointCloudOptions(int pcHandle)

Arguments

  • pcHandle: handle of the point cloud

Return values

  • maxVoxelS: maximum size of the OC tree voxels containing points
  • maxPtCntPerVoxel: maximum number of points allowed in a same OC tree voxel
  • opt: bit-coded:
    • bit0 set (1): points have random colors
    • bit1 set (2): show OC tree structure
    • bit2 set (4): reserved. keep unset
    • bit3 set (8): do not use an OC tree structure. When enabled, point cloud operations are limited, and point clouds will not be collidable, measurable or detectable anymore, but adding points will be much faster
    • bit4 set (16): color is emissive
  • ps: size of the points, in pixels


See also: