ObjLoadOptions

Inheritance: java.lang.Object, com.aspose.threed.IOConfig, com.aspose.threed.LoadOptions

public class ObjLoadOptions extends LoadOptions

Load options for wavefront obj

Constructors

ConstructorDescription
ObjLoadOptions()Constructor of ObjLoadOptions

Methods

MethodDescription
equals(Object arg0)
getClass()
getEnableMaterials()Gets whether import materials for each object
getEncoding()Gets the default encoding for text-based files.
getFileFormat()Gets the file format that specified in current Save/Load option.
getFileName()The file name of the exporting/importing scene.
getFileSystem()Allow user to handle how to manage the external dependencies during load/save.
getFileSystemFactory()Gets the factory class for FileSystem.
getFlipCoordinateSystem()Gets whether flip coordinate system of control points/normal during importing
getLookupPaths()Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
getNormalizeNormal()Gets whether to normalize the normal vector during the loading.
getScale()Scales on x/y/z axis, default value is 1.0
hashCode()
notify()
notifyAll()
setEnableMaterials(boolean value)Sets whether import materials for each object
setEncoding(Charset value)Sets the default encoding for text-based files.
setFileName(String value)The file name of the exporting/importing scene.
setFileSystem(FileSystem value)Allow user to handle how to manage the external dependencies during load/save.
setFileSystemFactory(FileSystemFactory value)Sets the factory class for FileSystem.
setFlipCoordinateSystem(boolean value)Sets whether flip coordinate system of control points/normal during importing
setLookupPaths(ArrayList value)Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
setNormalizeNormal(boolean value)Sets whether to normalize the normal vector during the loading.
setScale(double value)Scales on x/y/z axis, default value is 1.0
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ObjLoadOptions()

public ObjLoadOptions()

Constructor of ObjLoadOptions

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getEnableMaterials()

public boolean getEnableMaterials()

Gets whether import materials for each object

Returns: boolean

getEncoding()

public Charset getEncoding()

Gets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.

Returns: java.nio.charset.Charset

getFileFormat()

public FileFormat getFileFormat()

Gets the file format that specified in current Save/Load option.

Returns: FileFormat

getFileName()

public String getFileName()

The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Returns: java.lang.String

getFileSystem()

public FileSystem getFileSystem()

Allow user to handle how to manage the external dependencies during load/save.

Returns: FileSystem

getFileSystemFactory()

public static FileSystemFactory getFileSystemFactory()

Gets the factory class for FileSystem. The default factory will create LocalFileSystem which is not suitable for server environment.

Returns: FileSystemFactory

getFlipCoordinateSystem()

public boolean getFlipCoordinateSystem()

Gets whether flip coordinate system of control points/normal during importing

Returns: boolean

getLookupPaths()

public ArrayList<String> getLookupPaths()

Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Returns: java.util.ArrayList<java.lang.String>

getNormalizeNormal()

public boolean getNormalizeNormal()

Gets whether to normalize the normal vector during the loading. Default value is true.

Returns: boolean

getScale()

public double getScale()

Scales on x/y/z axis, default value is 1.0

Returns: double

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setEnableMaterials(boolean value)

public void setEnableMaterials(boolean value)

Sets whether import materials for each object

Parameters:

ParameterTypeDescription
valuebooleanNew value

setEncoding(Charset value)

public void setEncoding(Charset value)

Sets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.

Parameters:

ParameterTypeDescription
valuejava.nio.charset.CharsetNew value

setFileName(String value)

public void setFileName(String value)

The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Parameters:

ParameterTypeDescription
valuejava.lang.StringNew value

setFileSystem(FileSystem value)

public void setFileSystem(FileSystem value)

Allow user to handle how to manage the external dependencies during load/save.

Parameters:

ParameterTypeDescription
valueFileSystemNew value

setFileSystemFactory(FileSystemFactory value)

public static void setFileSystemFactory(FileSystemFactory value)

Sets the factory class for FileSystem. The default factory will create LocalFileSystem which is not suitable for server environment.

Parameters:

ParameterTypeDescription
valueFileSystemFactoryNew value

setFlipCoordinateSystem(boolean value)

public void setFlipCoordinateSystem(boolean value)

Sets whether flip coordinate system of control points/normal during importing

Parameters:

ParameterTypeDescription
valuebooleanNew value

setLookupPaths(ArrayList value)

public void setLookupPaths(ArrayList<String> value)

Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Parameters:

ParameterTypeDescription
valuejava.util.ArrayList<java.lang.String>New value

setNormalizeNormal(boolean value)

public void setNormalizeNormal(boolean value)

Sets whether to normalize the normal vector during the loading. Default value is true.

Parameters:

ParameterTypeDescription
valuebooleanNew value

setScale(double value)

public void setScale(double value)

Scales on x/y/z axis, default value is 1.0

Parameters:

ParameterTypeDescription
valuedoubleNew value

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int