Load a 3D point cloud body model (separation of the space into n layers with equal size in x, y and z).
[X,Y,Z,Xm,XM,Ym,YM,Zm,ZM,Xi,Yi,Zi] = NL_V_LoadBody3D(P,N)
File path.
Number of layers.
X-coordinate vector.
Y-coordinate vector.
Z-coordinate vector.
Minimum X-coordinate.
Maximum X-coordinate.
Minimum Y-coordinate.
Maximum Y-coordinate.
Minimum Z-coordinate.
Maximum Z-coordinate.
X-coordinate vector (layer).
Y-coordinate vector (layer).
Z-coordinate vector (layer).
NL_V_LoadBody3D loads the 3D point cloud body model (separation of the space into N layers with equal size in x, y and z). The dataset is retrieved from the path P (by default /demos/). X, Y and Z provide respectivelly x-, y- and z-cordinates of points cloud of the body contour. The body belongs to a bounding box that is divided into layers of equal size. The values of projection planes are stored in Xi, Yi and Zi (linearly spaced inside the bounding box).
[path]=NL_F_NLPath();//path to NARVAL module path=path+'/demos/';//folder path nl=50; [X,Y,Z,Xm,XM,Ym,YM,Zm,ZM,Xi,Yi,Zi]=NL_V_LoadBody3D(path,nl);//application of NL_V_LoadBody3D //X in [-0.166:0.376687] //Y in [0.018336:1.678715] //Z in [-0.190097:0.241082] param3d(X,Y,Z); e = gce(); e.line_mode="off"; e.mark_mode="on"; a = gca(); a.isoview = "on"; | ![]() | ![]() |