pointcloud [クラス]
:super cascaded-coords
:slots parray carray narray curvature pcolor psize awidth asize box height width view-coords drawnormalmode transparent tcarray
-
-
-
- Create point cloud object
:size-change &optional wd ht [メソッド]
-
- change width and height, this method does not change points data
:points &optional pts wd ht [メソッド]
-
- replace points, pts should be list of points or n matrix
:colors &optional cls [メソッド]
-
- replace colors, cls should be list of points or n matrix
:normals &optional nmls [メソッド]
-
- replace normals by, nmls should be list of points or n3 matrix
:point-list &optional (remove-nan) [メソッド]
-
- return list of points
:color-list [メソッド]
-
- return list of colors
:normal-list [メソッド]
-
- return list of normals
:centroid [メソッド]
-
- retrun centroid of this point cloud
:append point-list &key (create t) [メソッド]
-
- append point cloud list to this point cloud.
if :create is true, return appended point cloud and original point cloud does not change.
-
- this method can take the same keywords with :filter-with-indices method.
if :create is true, return filtered point cloud and original point cloud does not change.
-
- filter point cloud with list of index (points which are indicated by indices will remain).
if :create is true, return filtered point cloud and original point cloud does not change.
if :negative is true, points which are indicated by indices will be removed.
-
- create list of index where filter function retrun true.
key, ckey, nkey are filter function for points, colors, normals. They are expected to take one argument and return t or nil.
pckey, pnkey are filter function for points and colors, points and normals. They are expected to take two arguments and return t or nil.
pcnkey is filter function for points, colors and normals. It is expected to take three arguments and return t or nil.
-
- downsample points with step
:copy-from pc [メソッド]
-
- update object by pc
:transform-points coords &key (create) [メソッド]
-
- transform points and normals with coords.
if :create is true, return transformed point cloud and original point cloud does not change.
:convert-to-world &key (create) [メソッド]
-
- transform points and normals with self coords. points data should be the same as displayed
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
2016-04-05