Package com.aspose.threed
Class StlLoadOptions
- java.lang.Object
-
- com.aspose.threed.IOConfig
-
- com.aspose.threed.LoadOptions
-
- com.aspose.threed.StlLoadOptions
-
public class StlLoadOptions extends LoadOptions
Load options for STL
-
-
Constructor Summary
Constructors Constructor Description StlLoadOptions()
Initializes of a newStlLoadOptions
instance.StlLoadOptions(FileContentType contentType)
Initializes of a newStlLoadOptions
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getFlipCoordinateSystem()
Gets whether to flip coordinate system of control points/normal during importing.boolean
getRecalculateNormal()
Ignore the normal data that stored in STL file and recalculate the normal data based on the vertex position.void
setFlipCoordinateSystem(boolean value)
Sets whether to flip coordinate system of control points/normal during importing.void
setRecalculateNormal(boolean value)
Ignore the normal data that stored in STL file and recalculate the normal data based on the vertex position.-
Methods inherited from class com.aspose.threed.IOConfig
getEncoding, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getLookupPaths, lookupForFile, setEncoding, setFileName, setFileSystem, setFileSystemFactory, setLookupPaths
-
-
-
-
Constructor Detail
-
StlLoadOptions
public StlLoadOptions()
Initializes of a newStlLoadOptions
instance.
-
StlLoadOptions
public StlLoadOptions(FileContentType contentType)
Initializes of a newStlLoadOptions
instance.- Parameters:
contentType
-
-
-
Method Detail
-
getFlipCoordinateSystem
public boolean getFlipCoordinateSystem()
Gets whether to flip coordinate system of control points/normal during importing.
-
setFlipCoordinateSystem
public void setFlipCoordinateSystem(boolean value)
Sets whether to flip coordinate system of control points/normal during importing.- Parameters:
value
- New value
-
getRecalculateNormal
public boolean getRecalculateNormal()
Ignore the normal data that stored in STL file and recalculate the normal data based on the vertex position. Default value is false
-
setRecalculateNormal
public void setRecalculateNormal(boolean value)
Ignore the normal data that stored in STL file and recalculate the normal data based on the vertex position. Default value is false- Parameters:
value
- New value
-
-