Package com.aspose.threed
Class RvmLoadOptions
- java.lang.Object
-
- com.aspose.threed.IOConfig
-
- com.aspose.threed.LoadOptions
-
- com.aspose.threed.RvmLoadOptions
-
public class RvmLoadOptions extends LoadOptions
Load options for AVEVA Plant Design Management System's RVM file.
-
-
Constructor Summary
Constructors Constructor Description RvmLoadOptions()
Construct aRvmLoadOptions
instanceRvmLoadOptions(FileContentType contentType)
Construct aRvmLoadOptions
instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.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:"boolean
getCenterScene()
Center the scene after it's loaded.int
getCylinderRadialSegments()
Gets the number of cylinder's radial segments, default value is 16int
getDishLatitudeSegments()
Gets the number of dish' latitude segments, default value is 8int
getDishLongitudeSegments()
Gets the number of dish' longitude segments, default value is 12boolean
getGenerateMaterials()
Generate materials with random colors for each objects in the scene if color table is not exported within the RVM file.boolean
getLookupAttributes()
Gets whether to load attributes from external attribute list file(.att/.attrib/.txt), default value is true.int
getRectangularTorusSegments()
Gets the number of rectangular torus' radial segments, default value is 20int
getTorusTubularSegments()
Gets the number of torus' tubular segments, default value is 20void
setAttributePrefix(java.lang.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:"void
setCenterScene(boolean value)
Center the scene after it's loaded.void
setCylinderRadialSegments(int value)
Sets the number of cylinder's radial segments, default value is 16void
setDishLatitudeSegments(int value)
Sets the number of dish' latitude segments, default value is 8void
setDishLongitudeSegments(int value)
Sets the number of dish' longitude segments, default value is 12void
setGenerateMaterials(boolean value)
Generate materials with random colors for each objects in the scene if color table is not exported within the RVM file.void
setLookupAttributes(boolean value)
Sets whether to load attributes from external attribute list file(.att/.attrib/.txt), default value is true.void
setRectangularTorusSegments(int value)
Sets the number of rectangular torus' radial segments, default value is 20void
setTorusTubularSegments(int value)
Sets the number of torus' tubular segments, default value is 20-
Methods inherited from class com.aspose.threed.IOConfig
getEncoding, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getLookupPaths, lookupForFile, setEncoding, setFileName, setFileSystem, setFileSystemFactory, setLookupPaths
-
-
-
-
Constructor Detail
-
RvmLoadOptions
public RvmLoadOptions(FileContentType contentType)
Construct aRvmLoadOptions
instance- Parameters:
contentType
-
-
RvmLoadOptions
public RvmLoadOptions()
Construct aRvmLoadOptions
instance
-
-
Method Detail
-
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
-
setGenerateMaterials
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:
value
- New value
-
getCylinderRadialSegments
public int getCylinderRadialSegments()
Gets the number of cylinder's radial segments, default value is 16
-
setCylinderRadialSegments
public void setCylinderRadialSegments(int value)
Sets the number of cylinder's radial segments, default value is 16- Parameters:
value
- New value
-
getDishLongitudeSegments
public int getDishLongitudeSegments()
Gets the number of dish' longitude segments, default value is 12
-
setDishLongitudeSegments
public void setDishLongitudeSegments(int value)
Sets the number of dish' longitude segments, default value is 12- Parameters:
value
- New value
-
getDishLatitudeSegments
public int getDishLatitudeSegments()
Gets the number of dish' latitude segments, default value is 8
-
setDishLatitudeSegments
public void setDishLatitudeSegments(int value)
Sets the number of dish' latitude segments, default value is 8- Parameters:
value
- New value
-
getTorusTubularSegments
public int getTorusTubularSegments()
Gets the number of torus' tubular segments, default value is 20
-
setTorusTubularSegments
public void setTorusTubularSegments(int value)
Sets the number of torus' tubular segments, default value is 20- Parameters:
value
- New value
-
getRectangularTorusSegments
public int getRectangularTorusSegments()
Gets the number of rectangular torus' radial segments, default value is 20
-
setRectangularTorusSegments
public void setRectangularTorusSegments(int value)
Sets the number of rectangular torus' radial segments, default value is 20- Parameters:
value
- New value
-
getCenterScene
public boolean getCenterScene()
Center the scene after it's loaded.
-
setCenterScene
public void setCenterScene(boolean value)
Center the scene after it's loaded.- Parameters:
value
- New value
-
getAttributePrefix
public java.lang.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:"
-
setAttributePrefix
public void setAttributePrefix(java.lang.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:
value
- New value
-
getLookupAttributes
public boolean getLookupAttributes()
Gets whether to load attributes from external attribute list file(.att/.attrib/.txt), default value is true.
-
setLookupAttributes
public void setLookupAttributes(boolean value)
Sets whether to load attributes from external attribute list file(.att/.attrib/.txt), default value is true.- Parameters:
value
- New value
-
-