Source point cloud type
pw::Object pw::Entity pw::SourceEntity
pw:: | Source point cloud type |
Static Actions | |
create | This action creates a new source point cloud object. |
Instance Actions | |
addDomain | This action adds a domain’s points to the source point cloud. |
addPoint | This action adds a point to the source point cloud. |
addPoints | This action adds a list of points to the source point cloud. |
addSourcePoints | This action adds points to the source point cloud from another source entity, using the primitive points that a source defines when the background spacing is as given |
removePoint | This action removes a point from the source point cloud. |
removeAllPoints | This action removes all of the points from the point cloud. |
getPointCount | This action gets the number of points in the point cloud. |
getXYZ | This action gets the xyz of the point at the given index of the source point cloud. |
setXYZ | This action sets the xyz of the point at the given index of the source point cloud. |
getSpacing | This action gets the spacing of the point at the given index of the source point cloud. |
setSpacing | This action sets the spacing of the point at the given index of the source point cloud. |
getDecay | This action gets the decay of the point at the given index of the source point cloud. |
setDecay | This action sets the decay of the point at the given index of the source point cloud. |
pw::SourcePointCloud create
This action creates a new source point cloud object.
none
This action returns a new pw::SourcePointCloud object.
$cloud addDomain domain decay
This action adds a domain’s points to the source point cloud.
domain | This parameter is the pw::Domain object to be added to the cloud. |
decay | This float parameter is the decay rate, with the valid values in the range [0.0, 1.0]. |
This action returns nothing.
$cloud addPoint xyz spacing decay
This action adds a point to the source point cloud.
xyz | This vector parameter is the xyz to add to the point cloud. |
spacing | This float parameter is the spacing at the xyz, with the valid values in the range (0.0, infinity). |
decay | This float parameter is the decay at the xyz, with the valid values in the range [0.0, 1.0]. |
This action returns nothing.
$cloud addPoints point_data
This action adds a list of points to the source point cloud.
point_data | This is a list of lists with each entry consisting of an vector and two floats. The vector entry is the xyz location to add to the point cloud. The first float value is the spacing at the point, with the valid values in the range (0.0, infinity). The second float value is the decay at the point, with the valid values in the range [0.0, 1.0]. |
This action returns nothing.
$cloud addSourcePoints source ?spacing? ?multiplier?
This action adds points to the source point cloud from another source entity, using the primitive points that a source defines when the background spacing is as given
source | This pw::SourceEntity parameter is the source to get the primitive points from. |
spacing | This optional float parameter is the background spacing, with default 0.0 and valid values in the range [0.0, infinity). |
multiplier | This optional float parameter is the spacing multiplier, with default 3.0 and valid values in the range [1.0, infinity). |
This action returns nothing.
$cloud removePoint index
This action removes a point from the source point cloud.
index | This parameter is the integer index of the point to remove with the range [1, number of points]. |
This action returns nothing.
$point setXYZ index xyz
This action sets the xyz of the point at the given index of the source point cloud.
index | This parameter is the integer index of the point to set the xyz of with the range [1, number of points]. |
xyz | This vector parameter is the xyz to set on the point cloud. |
This action returns nothing.
$point setSpacing index spacing
This action sets the spacing of the point at the given index of the source point cloud.
index | This parameter is the integer index of the point to set the xyz of with the range [1, number of points]. |
spacing | This float parameter is the spacing at the xyz, with the valid values in the range (0.0, infinity). |
This action returns nothing.
$point setDecay index decay
This action sets the decay of the point at the given index of the source point cloud.
index | This parameter is the integer index of the point to set the xyz of with the range [1, number of points]. |
decay | This float parameter is the decay at the xyz, with the valid values in the range [0.0, 1.0]. |
This action returns nothing.
This action creates a new source point cloud object.
pw::SourcePointCloud create
This action adds a domain’s points to the source point cloud.
$cloud addDomain domain decay
This action adds a point to the source point cloud.
$cloud addPoint xyz spacing decay
This action adds a list of points to the source point cloud.
$cloud addPoints point_data
This action adds points to the source point cloud from another source entity, using the primitive points that a source defines when the background spacing is as given
$cloud addSourcePoints source ?spacing? ?multiplier?
This action removes a point from the source point cloud.
$cloud removePoint index
This action removes all of the points from the point cloud.
$curve removeAllPoints
This action gets the xyz of the point at the given index of the source point cloud.
$point getXYZ index
This action sets the xyz of the point at the given index of the source point cloud.
$point setXYZ index xyz
This action gets the spacing of the point at the given index of the source point cloud.
$point getSpacing index
This action sets the spacing of the point at the given index of the source point cloud.
$point setSpacing index spacing
This action gets the decay of the point at the given index of the source point cloud.
$point getDecay index
This action sets the decay of the point at the given index of the source point cloud.
$point setDecay index decay