RvmLoadOptions
Inheritance: java.lang.Object, com.aspose.threed.IOConfig, com.aspose.threed.LoadOptions
public class RvmLoadOptions extends LoadOptions
Load options for AVEVA Plant Design Management System’s RVM file.
Constructors
Constructor | Description |
---|---|
RvmLoadOptions(FileContentType contentType) | Construct a RvmLoadOptions instance |
RvmLoadOptions() | Construct a RvmLoadOptions instance |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getAttributePrefix() | Gets the prefix of the attributes that were defined in external attribute files, The prefix are used to avoid name conflicts, default value is “rvm:” |
getCenterScene() | Center the scene after it’s loaded. |
getClass() | |
getCylinderRadialSegments() | Gets the number of cylinder’s radial segments, default value is 16 |
getDishLatitudeSegments() | Gets the number of dish’ latitude segments, default value is 8 |
getDishLongitudeSegments() | Gets the number of dish’ longitude segments, default value is 12 |
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. |
getGenerateMaterials() | Generate materials with random colors for each objects in the scene if color table is not exported within the RVM file. |
getLookupAttributes() | Gets whether to load attributes from external attribute list file(.att/.attrib/.txt), default value is true. |
getLookupPaths() | Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load. |
getRectangularTorusSegments() | Gets the number of rectangular torus’ radial segments, default value is 20 |
getTorusTubularSegments() | Gets the number of torus’ tubular segments, default value is 20 |
hashCode() | |
notify() | |
notifyAll() | |
setAttributePrefix(String value) | Sets the prefix of the attributes that were defined in external attribute files, The prefix are used to avoid name conflicts, default value is “rvm:” |
setCenterScene(boolean value) | Center the scene after it’s loaded. |
setCylinderRadialSegments(int value) | Sets the number of cylinder’s radial segments, default value is 16 |
setDishLatitudeSegments(int value) | Sets the number of dish’ latitude segments, default value is 8 |
setDishLongitudeSegments(int value) | Sets the number of dish’ longitude segments, default value is 12 |
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. |
setGenerateMaterials(boolean value) | Generate materials with random colors for each objects in the scene if color table is not exported within the RVM file. |
setLookupAttributes(boolean value) | Sets whether to load attributes from external attribute list file(.att/.attrib/.txt), default value is true. |
setLookupPaths(ArrayList | Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load. |
setRectangularTorusSegments(int value) | Sets the number of rectangular torus’ radial segments, default value is 20 |
setTorusTubularSegments(int value) | Sets the number of torus’ tubular segments, default value is 20 |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
RvmLoadOptions(FileContentType contentType)
public RvmLoadOptions(FileContentType contentType)
Construct a RvmLoadOptions instance
Parameters:
Parameter | Type | Description |
---|---|---|
contentType | FileContentType |
RvmLoadOptions()
public RvmLoadOptions()
Construct a RvmLoadOptions instance
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getAttributePrefix()
public String getAttributePrefix()
Gets the prefix of the attributes that were defined in external attribute files, The prefix are used to avoid name conflicts, default value is “rvm:”
Returns: java.lang.String
getCenterScene()
public boolean getCenterScene()
Center the scene after it’s loaded.
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCylinderRadialSegments()
public int getCylinderRadialSegments()
Gets the number of cylinder’s radial segments, default value is 16
Returns: int
getDishLatitudeSegments()
public int getDishLatitudeSegments()
Gets the number of dish’ latitude segments, default value is 8
Returns: int
getDishLongitudeSegments()
public int getDishLongitudeSegments()
Gets the number of dish’ longitude segments, default value is 12
Returns: int
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
getGenerateMaterials()
public boolean getGenerateMaterials()
Generate materials with random colors for each objects in the scene if color table is not exported within the RVM file. Default value is true
Returns: boolean
getLookupAttributes()
public boolean getLookupAttributes()
Gets whether to load attributes from external attribute list file(.att/.attrib/.txt), default value is true.
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>
getRectangularTorusSegments()
public int getRectangularTorusSegments()
Gets the number of rectangular torus’ radial segments, default value is 20
Returns: int
getTorusTubularSegments()
public int getTorusTubularSegments()
Gets the number of torus’ tubular segments, default value is 20
Returns: int
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setAttributePrefix(String value)
public void setAttributePrefix(String value)
Sets the prefix of the attributes that were defined in external attribute files, The prefix are used to avoid name conflicts, default value is “rvm:”
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | New value |
setCenterScene(boolean value)
public void setCenterScene(boolean value)
Center the scene after it’s loaded.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | New value |
setCylinderRadialSegments(int value)
public void setCylinderRadialSegments(int value)
Sets the number of cylinder’s radial segments, default value is 16
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | New value |
setDishLatitudeSegments(int value)
public void setDishLatitudeSegments(int value)
Sets the number of dish’ latitude segments, default value is 8
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | New value |
setDishLongitudeSegments(int value)
public void setDishLongitudeSegments(int value)
Sets the number of dish’ longitude segments, default value is 12
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | New 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:
Parameter | Type | Description |
---|---|---|
value | java.nio.charset.Charset | New 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:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | New value |
setFileSystem(FileSystem value)
public void setFileSystem(FileSystem value)
Allow user to handle how to manage the external dependencies during load/save.
Parameters:
Parameter | Type | Description |
---|---|---|
value | FileSystem | New 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:
Parameter | Type | Description |
---|---|---|
value | FileSystemFactory | New value |
setGenerateMaterials(boolean value)
public void setGenerateMaterials(boolean value)
Generate materials with random colors for each objects in the scene if color table is not exported within the RVM file. Default value is true
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | New value |
setLookupAttributes(boolean value)
public void setLookupAttributes(boolean value)
Sets whether to load attributes from external attribute list file(.att/.attrib/.txt), default value is true.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | New 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:
Parameter | Type | Description |
---|---|---|
value | java.util.ArrayList<java.lang.String> | New value |
setRectangularTorusSegments(int value)
public void setRectangularTorusSegments(int value)
Sets the number of rectangular torus’ radial segments, default value is 20
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | New value |
setTorusTubularSegments(int value)
public void setTorusTubularSegments(int value)
Sets the number of torus’ tubular segments, default value is 20
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | New value |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |