PointCloud
Inheritance: java.lang.Object, com.aspose.threed.A3DObject, com.aspose.threed.SceneObject, com.aspose.threed.Entity, com.aspose.threed.Geometry
public class PointCloud extends Geometry
점 구름에는 토폴로지 정보가 없고 제어점과 정점 요소만 포함됩니다.
생성자
| 생성자 | 설명 |
|---|---|
| PointCloud(String name) | 생성자 PointCloud |
| PointCloud() | 생성자 PointCloud |
메서드
PointCloud(String name)
public PointCloud(String name)
생성자 PointCloud
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| 이름 | java.lang.String | 이 엔터티의 이름 |
PointCloud()
public PointCloud()
생성자 PointCloud
getDeformers2()
public Collection<T> <T>getDeformers2()
지정된 변형기 유형으로 모든 변형기를 가져옵니다
Returns:
java.util.Collection
addElement(VertexElement element)
public void addElement(VertexElement element)
기존 정점 요소를 현재 기하에 추가합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| element | VertexElement | 추가할 정점 요소 |
createElement(VertexElementType type)
public VertexElement createElement(VertexElementType type)
지정된 유형으로 정점 요소를 생성하고 이를 기하에 추가합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| type | VertexElementType | 정점 요소 유형 |
Returns: VertexElement - Created element. Remarks: If type is VertexElementType.UV, a VertexElementUV with texture mapping type to TextureMapping.DIFFUSE will be created.
createElement(VertexElementType type, MappingMode mappingMode, ReferenceMode referenceMode)
public VertexElement createElement(VertexElementType type, MappingMode mappingMode, ReferenceMode referenceMode)
지정된 유형으로 정점 요소를 생성하고 이를 기하에 추가합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| type | VertexElementType | 정점 요소 유형 |
| mappingMode | MappingMode | 기본 매핑 모드 |
| referenceMode | ReferenceMode | 기본 참조 모드 |
Returns: VertexElement - Created element. Remarks: If type is VertexElementType.UV, a VertexElementUV with texture mapping type to TextureMapping.DIFFUSE will be created.
createElementUV(TextureMapping uvMapping)
public VertexElementUV createElementUV(TextureMapping uvMapping)
주어진 텍스처 매핑 유형으로 VertexElementUV를 생성합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| uvMapping | TextureMapping | 생성할 텍스처 매핑 유형 |
Returns: VertexElementUV - Created element uv
createElementUV(TextureMapping uvMapping, MappingMode mappingMode, ReferenceMode referenceMode)
public VertexElementUV createElementUV(TextureMapping uvMapping, MappingMode mappingMode, ReferenceMode referenceMode)
주어진 텍스처 매핑 유형으로 VertexElementUV를 생성합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| uvMapping | TextureMapping | 생성할 텍스처 매핑 유형 |
| mappingMode | MappingMode | 기본 매핑 모드 |
| referenceMode | ReferenceMode | 기본 참조 모드 |
Returns: VertexElementUV - Created element uv
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
findProperty(String propertyName)
public Property findProperty(String propertyName)
속성을 찾습니다. 동적 속성 (Created by CreateDynamicProperty/SetProperty) 또는 네이티브 속성 (Identified by its name)일 수 있습니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| propertyName | java.lang.String | 속성 이름. |
Returns: Property - The property.
fromGeometry(Geometry g)
public static PointCloud fromGeometry(Geometry g)
지오메트리 객체에서 새로운 PointCloud 인스턴스를 생성합니다
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| g | Geometry |
Returns: PointCloud
fromGeometry(Geometry g, int density)
public static PointCloud fromGeometry(Geometry g, int density)
지오메트리 객체에서 새로운 포인트 클라우드 인스턴스를 생성합니다. 밀도는 단위 삼각형당 포인트 수를 의미합니다(단위 삼각형은 메시에서 최대 표면적을 가진 삼각형입니다).
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| g | Geometry | 메시 또는 기타 지오메트리 인스턴스 |
| 밀도 | int | 단위 삼각형당 포인트 수 |
Returns: PointCloud
getBoundingBox()
public BoundingBox getBoundingBox()
현재 엔터티의 객체 공간 좌표계에서 경계 상자를 가져옵니다.
Returns: BoundingBox - the bounding box of current entity in its object space coordinate system. Example: The following code shows how to calculate the bounding box of a shape
Entity entity = new Sphere();
entity.setRadius(10);
var bbox = entity.getBoundingBox();
System.out.printf("The bounding box of the entity is %s ~ %s", bbox.getMinimum(), bbox.getMaximum());
getCastShadows()
public boolean getCastShadows()
이 기하학이 그림자를 드리울 수 있는지 여부를 가져옵니다.
Returns: boolean - 이 기하학이 그림자를 드리울 수 있는지 여부
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getControlPoints()
public List<Vector4> getControlPoints()
모든 제어점을 가져옵니다.
Returns: java.util.List<com.aspose.threed.Vector4> - 모든 제어점
getDeformers()
public List<Deformer> getDeformers()
이 기하학과 연결된 모든 디포머를 가져옵니다.
Returns: java.util.List<com.aspose.threed.Deformer> - 이 기하학과 연관된 모든 디포머.
getDimension()
public Vector2 getDimension()
포인트 클라우드에 차원 값이 있으면, 이는 조직된 포인트 클라우드를 나타냅니다. 크기가 지정되지 않으면 비조직 포인트 클라우드로 간주됩니다. 조직된 포인트 클라우드는 이미지와 같은 구조를 가지고 있음을 의미합니다.
Returns: Vector2 - If a dimension value is present for the point cloud, it indicates an organized point cloud. Without a specified size, it is considered an unorganized point cloud. Organized point cloud means it has an image-like structure.
getElement(VertexElementType type)
public VertexElement getElement(VertexElementType type)
지정된 유형의 정점 요소를 가져옵니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| type | VertexElementType | 찾을 정점 요소 유형 |
Returns: VertexElement - VertexElement instance if found, otherwise null will be returned.
getEntityRendererKey()
public EntityRendererKey getEntityRendererKey()
렌더러에 등록된 엔터티 렌더러의 키를 가져옵니다.
Returns: EntityRendererKey
getExcluded()
public boolean getExcluded()
내보내기 중에 이 엔터티를 제외할지 여부를 가져옵니다.
Returns: boolean - 내보내기 중에 이 엔터티를 제외할지 여부.
getName()
public String getName()
이름을 가져옵니다.
Returns: java.lang.String - 이름.
getParentNode()
public Node getParentNode()
첫 번째 상위 노드를 가져옵니다. 첫 번째 상위 노드를 설정하면 이 엔터티는 다른 상위 노드에서 분리됩니다.
Returns: Node - the first parent node, if set the first parent node, this entity will be detached from other parent nodes.
getParentNodes()
public ArrayList<Node> getParentNodes()
모든 상위 노드를 가져옵니다. 엔터티는 기하학 인스턴싱을 위해 여러 상위 노드에 연결될 수 있습니다.
Returns: java.util.ArrayList<com.aspose.threed.Node> - 모든 부모 노드, 엔터티는 기하학 인스턴싱을 위해 여러 부모 노드에 연결될 수 있습니다
getProperties()
public PropertyCollection getProperties()
모든 속성의 컬렉션을 가져옵니다.
Returns: PropertyCollection - the collection of all properties.
getProperty(String property)
public Object getProperty(String property)
지정된 속성의 값을 가져옵니다
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| 속성 | java.lang.String | 속성 이름 |
Returns: java.lang.Object - 찾은 속성의 값
getReceiveShadows()
public boolean getReceiveShadows()
이 기하학이 그림자를 받을 수 있는지 여부를 가져옵니다.
Returns: boolean - 이 기하학이 그림자를 받을 수 있는지 여부.
getScene()
public Scene getScene()
이 객체가 속한 씬을 가져옵니다.
Returns: Scene - the scene that this object belongs to
getVertexElementOfUV(TextureMapping textureMapping)
public VertexElementUV getVertexElementOfUV(TextureMapping textureMapping)
주어진 텍스처 매핑 유형으로 VertexElementUV 인스턴스를 가져옵니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| textureMapping | TextureMapping |
Returns: VertexElementUV - VertexElementUV with the texture mapping type
getVertexElements()
public List<VertexElement> getVertexElements()
모든 정점 요소를 가져옵니다.
Returns: java.util.List<com.aspose.threed.VertexElement> - 모든 정점 요소
getVisible()
public boolean getVisible()
기하학이 보이는지 여부를 가져옵니다.
Returns: boolean - 기하학이 보이는지 여부
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
removeProperty(Property property)
public boolean removeProperty(Property property)
동적 속성을 제거합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| property | Property | 제거할 속성 |
Returns: boolean - 속성이 성공적으로 제거되면 true
removeProperty(String property)
public boolean removeProperty(String property)
이름으로 식별되는 지정된 속성을 제거합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| 속성 | java.lang.String | 제거할 속성 |
Returns: boolean - 속성이 성공적으로 제거되면 true
setCastShadows(boolean value)
public void setCastShadows(boolean value)
이 기하학이 그림자를 드리울 수 있는지 여부를 설정합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| 값 | boolean | 새 값 |
setDimension(Vector2 value)
public void setDimension(Vector2 value)
포인트 클라우드에 차원 값이 있으면, 이는 조직된 포인트 클라우드를 나타냅니다. 크기가 지정되지 않으면 비조직 포인트 클라우드로 간주됩니다. 조직된 포인트 클라우드는 이미지와 같은 구조를 가지고 있음을 의미합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| value | Vector2 | 새 값 |
setExcluded(boolean value)
public void setExcluded(boolean value)
내보내기 중에 이 엔터티를 제외할지 여부를 설정합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| 값 | boolean | 새 값 |
setName(String value)
public void setName(String value)
이름을 설정합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| 값 | java.lang.String | 새 값 |
setParentNode(Node value)
public void setParentNode(Node value)
첫 번째 상위 노드를 설정합니다. 첫 번째 상위 노드를 설정하면 이 엔터티는 다른 상위 노드에서 분리됩니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| value | Node | 새 값 |
setProperty(String property, Object value)
public void setProperty(String property, Object value)
지정된 속성의 값을 설정합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| 속성 | java.lang.String | 속성 이름 |
| 값 | java.lang.Object | 속성의 값 |
setReceiveShadows(boolean value)
public void setReceiveShadows(boolean value)
이 기하학이 그림자를 받을 수 있는지 여부를 설정합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| 값 | boolean | 새 값 |
setVisible(boolean value)
public void setVisible(boolean value)
기하학이 보이는지 여부를 설정합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| 값 | boolean | 새 값 |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| arg0 | long | |
| arg1 | int |