Class JavaPointCloud3D
- java.lang.Object
- 
- science.aist.imaging.api.domain.AbstractJavaPointCloud<JavaPoint3D>
- 
- science.aist.imaging.api.domain.threedimensional.JavaPointCloud3D
 
 
- 
 public class JavaPointCloud3D extends AbstractJavaPointCloud<JavaPoint3D> 3D point cloud - Since:
- 1.0
- Author:
- Christoph Praschl
 
- 
- 
Constructor SummaryConstructors Constructor Description JavaPointCloud3D(@NonNull List<JavaPoint3D> points)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaPointCloud3Dadd(JavaPoint3D vector)Adds the given JavaPoint to the point cloud.protected JavaPoint3DcalculateCenterPoint()protected <L extends AbstractJavaPointCloud<JavaPoint3D>>
 LcreatePointCloud(List<JavaPoint3D> point3DS)JavaPointCloud3Ddiv(double scalar)Divides the point cloud by the given scalar.JavaPointCloud3Dmult(JavaPoint3D vector)Multiplies the point cloud with the given scalar.JavaPointCloud3Drotate(JavaPoint3D origin, double roll, double pitch, double yaw)Rotates the point cloud around the given originJavaPointCloud3DrotateAroundCenter(double roll, double pitch, double yaw)Rotates the point cloud around the center point.JavaPointCloud3Dscale(JavaPoint3D scaleFactors)Scales the given JavaPointCloud around the center pointJavaPointCloud3Dscale(JavaPoint3D scaleFactors, JavaPoint3D scaleCenter)Scales the given JavaPointCloud around the given scale center pointJavaPointCloud3Dsub(JavaPoint3D vector)Subtracts the given JavaPoint from the point cloud.- 
Methods inherited from class science.aist.imaging.api.domain.AbstractJavaPointCloudequals, hashCode, toString, transformParallel
 
- 
 
- 
- 
- 
Constructor Detail- 
JavaPointCloud3Dpublic JavaPointCloud3D(@NonNull @NonNull List<JavaPoint3D> points)
 
- 
 - 
Method Detail- 
subpublic JavaPointCloud3D sub(JavaPoint3D vector) Subtracts the given JavaPoint from the point cloud.- Specified by:
- subin class- AbstractJavaPointCloud<JavaPoint3D>
- Parameters:
- vector- The JavaPoint to be subtracted from the point cloud
- Returns:
- A new instance holding the result of the subtraction
 
 - 
addpublic JavaPointCloud3D add(JavaPoint3D vector) Adds the given JavaPoint to the point cloud.- Specified by:
- addin class- AbstractJavaPointCloud<JavaPoint3D>
- Parameters:
- vector- The JavaPoint to be added to the point cloud
- Returns:
- A new instance holding the result of the addition
 
 - 
multpublic JavaPointCloud3D mult(JavaPoint3D vector) Multiplies the point cloud with the given scalar.- Specified by:
- multin class- AbstractJavaPointCloud<JavaPoint3D>
- Parameters:
- vector- The multiplied vector
- Returns:
- A new instance holding the result of the multiplication
 
 - 
divpublic JavaPointCloud3D div(double scalar) Divides the point cloud by the given scalar.- Specified by:
- divin class- AbstractJavaPointCloud<JavaPoint3D>
- Parameters:
- scalar- The scalar used for the division of the point cloud
- Returns:
- A new instance holding the result of the division
 
 - 
rotateAroundCenterpublic JavaPointCloud3D rotateAroundCenter(double roll, double pitch, double yaw) Rotates the point cloud around the center point.- Parameters:
- roll- Rotation around x-axis (in degrees)
- pitch- Rotation around y-axis (in degrees)
- yaw- Rotation around z-axis (in degrees)
- Returns:
- Returns a new, rotated instance
 
 - 
rotatepublic JavaPointCloud3D rotate(JavaPoint3D origin, double roll, double pitch, double yaw) Rotates the point cloud around the given origin- Parameters:
- origin- origin point around which will be rotated.
- roll- Rotation around x-axis (in degrees)
- pitch- Rotation around y-axis (in degrees)
- yaw- Rotation around z-axis (in degrees)
- Returns:
- Returns a new, rotated instance
 
 - 
scalepublic JavaPointCloud3D scale(JavaPoint3D scaleFactors) Scales the given JavaPointCloud around the center point- Specified by:
- scalein class- AbstractJavaPointCloud<JavaPoint3D>
- Parameters:
- scaleFactors- vector containing the scale values
- Returns:
- new scaled instance
 
 - 
scalepublic JavaPointCloud3D scale(JavaPoint3D scaleFactors, JavaPoint3D scaleCenter) Scales the given JavaPointCloud around the given scale center point- Specified by:
- scalein class- AbstractJavaPointCloud<JavaPoint3D>
- Parameters:
- scaleFactors- vector containing the scale values
- scaleCenter- the scaleCenter
- Returns:
- new scaled instance
 
 - 
calculateCenterPointprotected JavaPoint3D calculateCenterPoint() - Specified by:
- calculateCenterPointin class- AbstractJavaPointCloud<JavaPoint3D>
 
 - 
createPointCloudprotected <L extends AbstractJavaPointCloud<JavaPoint3D>> L createPointCloud(List<JavaPoint3D> point3DS) - Specified by:
- createPointCloudin class- AbstractJavaPointCloud<JavaPoint3D>
 
 
- 
 
-