Package com.aspose.threed
Class PointCloud
- java.lang.Object
-
- com.aspose.threed.A3DObject
-
- com.aspose.threed.SceneObject
-
- com.aspose.threed.Entity
-
- com.aspose.threed.Geometry
-
- com.aspose.threed.PointCloud
-
- All Implemented Interfaces:
INamedObject
public class PointCloud extends Geometry
The point cloud contains no topology information but only the control points and the vertex elements.
-
-
Field Summary
-
Fields inherited from class com.aspose.threed.A3DObject
name, properties
-
-
Constructor Summary
Constructors Constructor Description PointCloud()
Constructor ofPointCloud
PointCloud(java.lang.String name)
Constructor ofPointCloud
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PointCloud
fromGeometry(Geometry g)
Create a new PointCloud instance from a geometry objectstatic PointCloud
fromGeometry(Geometry g, int density)
Create a new point cloud instance from a geometry object.EntityRendererKey
getEntityRendererKey()
Gets the key of the entity renderer registered in the renderer-
Methods inherited from class com.aspose.threed.Geometry
addElement, createElement, createElement, createElementUV, createElementUV, getCastShadows, getControlPoints, getDeformers, getDeformers2, getElement, getReceiveShadows, getVertexElementOfUV, getVertexElements, getVisible, setCastShadows, setReceiveShadows, setVisible
-
Methods inherited from class com.aspose.threed.Entity
getBoundingBox, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNode
-
Methods inherited from class com.aspose.threed.SceneObject
getScene
-
Methods inherited from class com.aspose.threed.A3DObject
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setProperty
-
-
-
-
Constructor Detail
-
PointCloud
public PointCloud(java.lang.String name)
Constructor ofPointCloud
- Parameters:
name
- The name of this entity
-
PointCloud
public PointCloud()
Constructor ofPointCloud
-
-
Method Detail
-
getEntityRendererKey
public EntityRendererKey getEntityRendererKey()
Gets the key of the entity renderer registered in the renderer- Overrides:
getEntityRendererKey
in classEntity
-
fromGeometry
public static PointCloud fromGeometry(Geometry g)
Create a new PointCloud instance from a geometry object- Parameters:
g
-
-
fromGeometry
public static PointCloud fromGeometry(Geometry g, int density)
Create a new point cloud instance from a geometry object. Density is the number of points per unit triangle(Unit triangle are the triangle with maximum surface area from the mesh)- Parameters:
g
- Mesh or other geometry instancedensity
- Number of points per unit triangle
-
-