Implementation of file input/output operations for vertex group (VG) format PointCloud.
The vertex group (VG) format stores the point cloud and its segmentation information. A segment is represented by a set of indices of the points in the segment.
File format specification
num_points: N
x1 y1 z1
...
xN yN zN
num_colors: N
r1 g1 b1
...
rN gN bN
num_normals: N
nx1 ny1 nz1
...
nxN nyN nzN
num_groups: M
group_type: type
num_group_parameters: NUM_GROUP_PARAMETERS
group_parameters: float[NUM_GROUP_PARAMETERS]
group_label: label
group_color: r g b
group_num_points: N
id1 ... idN
num_children: num
...
group_type: type
num_group_parameters: NUM_GROUP_PARAMETERS
group_parameters: float[NUM_GROUP_PARAMETERS]
group_label: label
group_color: r g b
group_num_points: N
id1 ... idN
num_children: num
...