Package com.aspose.threed
Class PlySaveOptions
- java.lang.Object
-
- com.aspose.threed.IOConfig
-
- com.aspose.threed.SaveOptions
-
- com.aspose.threed.PlySaveOptions
-
public class PlySaveOptions extends SaveOptions
Save options for exporting scene as PLY file.
-
-
Constructor Summary
Constructors Constructor Description PlySaveOptions()
Constructor ofPlySaveOptions
PlySaveOptions(FileContentType contentType)
Constructor ofPlySaveOptions
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.aspose.threed.Tuple_3<java.lang.String,java.lang.String,java.lang.String>
getColorComponents()
The component names for vertex color, default value is ("red", "green", "blue")java.lang.String
getFaceElement()
The element name for the face data, default value is "face"java.lang.String
getFaceProperty()
The property name for the face data, default value is "vertex_index"boolean
getFlipCoordinate()
Flip the coordinate while saving the scene, default value is truecom.aspose.threed.Tuple_3<java.lang.String,java.lang.String,java.lang.String>
getNormalComponents()
The component names for normal data, default value is ("nx", "ny", "nz")boolean
getPointCloud()
Export the scene as point cloud, the default value is false.com.aspose.threed.Tuple_3<java.lang.String,java.lang.String,java.lang.String>
getPositionComponents()
The component names for position data, default value is ("x", "y", "z")com.aspose.threed.Tuple_2<java.lang.String,java.lang.String>
getTextureCoordinateComponents()
The component names for texture coordinate data, default value is ("u", "v")java.lang.String
getVertexElement()
The element name for the vertex data, default value is "vertex"void
setColorComponents(com.aspose.threed.Tuple_3<java.lang.String,java.lang.String,java.lang.String> value)
The component names for vertex color, default value is ("red", "green", "blue")void
setFaceElement(java.lang.String value)
The element name for the face data, default value is "face"void
setFaceProperty(java.lang.String value)
The property name for the face data, default value is "vertex_index"void
setFlipCoordinate(boolean value)
Flip the coordinate while saving the scene, default value is truevoid
setNormalComponents(com.aspose.threed.Tuple_3<java.lang.String,java.lang.String,java.lang.String> value)
The component names for normal data, default value is ("nx", "ny", "nz")void
setPointCloud(boolean value)
Export the scene as point cloud, the default value is false.void
setPositionComponents(com.aspose.threed.Tuple_3<java.lang.String,java.lang.String,java.lang.String> value)
The component names for position data, default value is ("x", "y", "z")void
setTextureCoordinateComponents(com.aspose.threed.Tuple_2<java.lang.String,java.lang.String> value)
The component names for texture coordinate data, default value is ("u", "v")void
setVertexElement(java.lang.String value)
The element name for the vertex data, default value is "vertex"-
Methods inherited from class com.aspose.threed.IOConfig
getEncoding, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getLookupPaths, lookupForFile, setEncoding, setFileName, setFileSystem, setFileSystemFactory, setLookupPaths
-
-
-
-
Constructor Detail
-
PlySaveOptions
public PlySaveOptions()
Constructor ofPlySaveOptions
-
PlySaveOptions
public PlySaveOptions(FileContentType contentType)
Constructor ofPlySaveOptions
- Parameters:
contentType
-
-
-
Method Detail
-
getPointCloud
public boolean getPointCloud()
Export the scene as point cloud, the default value is false.
-
setPointCloud
public void setPointCloud(boolean value)
Export the scene as point cloud, the default value is false.- Parameters:
value
- New value
-
getFlipCoordinate
public boolean getFlipCoordinate()
Flip the coordinate while saving the scene, default value is true
-
setFlipCoordinate
public void setFlipCoordinate(boolean value)
Flip the coordinate while saving the scene, default value is true- Parameters:
value
- New value
-
getVertexElement
public java.lang.String getVertexElement()
The element name for the vertex data, default value is "vertex"
-
setVertexElement
public void setVertexElement(java.lang.String value)
The element name for the vertex data, default value is "vertex"- Parameters:
value
- New value
-
getPositionComponents
public com.aspose.threed.Tuple_3<java.lang.String,java.lang.String,java.lang.String> getPositionComponents()
The component names for position data, default value is ("x", "y", "z")
-
setPositionComponents
public void setPositionComponents(com.aspose.threed.Tuple_3<java.lang.String,java.lang.String,java.lang.String> value)
The component names for position data, default value is ("x", "y", "z")- Parameters:
value
- New value
-
getNormalComponents
public com.aspose.threed.Tuple_3<java.lang.String,java.lang.String,java.lang.String> getNormalComponents()
The component names for normal data, default value is ("nx", "ny", "nz")
-
setNormalComponents
public void setNormalComponents(com.aspose.threed.Tuple_3<java.lang.String,java.lang.String,java.lang.String> value)
The component names for normal data, default value is ("nx", "ny", "nz")- Parameters:
value
- New value
-
getTextureCoordinateComponents
public com.aspose.threed.Tuple_2<java.lang.String,java.lang.String> getTextureCoordinateComponents()
The component names for texture coordinate data, default value is ("u", "v")
-
setTextureCoordinateComponents
public void setTextureCoordinateComponents(com.aspose.threed.Tuple_2<java.lang.String,java.lang.String> value)
The component names for texture coordinate data, default value is ("u", "v")- Parameters:
value
- New value
-
getColorComponents
public com.aspose.threed.Tuple_3<java.lang.String,java.lang.String,java.lang.String> getColorComponents()
The component names for vertex color, default value is ("red", "green", "blue")
-
setColorComponents
public void setColorComponents(com.aspose.threed.Tuple_3<java.lang.String,java.lang.String,java.lang.String> value)
The component names for vertex color, default value is ("red", "green", "blue")- Parameters:
value
- New value
-
getFaceElement
public java.lang.String getFaceElement()
The element name for the face data, default value is "face"
-
setFaceElement
public void setFaceElement(java.lang.String value)
The element name for the face data, default value is "face"- Parameters:
value
- New value
-
getFaceProperty
public java.lang.String getFaceProperty()
The property name for the face data, default value is "vertex_index"
-
setFaceProperty
public void setFaceProperty(java.lang.String value)
The property name for the face data, default value is "vertex_index"- Parameters:
value
- New value
-
-