Syntax
PCplot(PC)
Input Parameter
PC : | | cell list of point clouds |
Examples
SR300getPointclouds(10); PC=ans;
PCplot(PC)
Copyright 2018-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Algorithm (Workflow)
This algorithm is designed to plot a point cloud or a list of point clouds without any registration. It is part of the SolidGeometry library and was introduced in version 4.3. The function is named PCplot
and is authored by Tim Lueth.
Input Parameters
- PC: A cell list of point clouds. If the input is not a cell, it is converted into a cell array.
Algorithm Steps
- Check if the input
PC
has three columns. If true, convert it using the function PCofVL
.
- Ensure
PC
is a cell array. If not, convert it into a cell array.
- Initialize a new figure for plotting using
SGfigure
.
- Set the labels for the x, y, and z axes.
- Set the view angle to (0, 89) for the plot.
- Initialize an empty array
h
to store plot handles.
- Iterate over each point cloud in the cell array
PC
:
- Determine the color for the current point cloud using
colofn
with the index i
and a predefined color set 'rgbmcy'.
- Plot the current point cloud's location using
VLplot
and append the plot handle to h
.
Algorithm explaination created using ChatGPT on 2025-08-18 23:23. (Please note: No guarantee for the correctness of this explanation)
Last html export of this page out of FM database by TL: 2025-09-21