public class RvmLoadOptions extends LoadOptions
Constructor and Description |
---|
RvmLoadOptions()
Construct a
RvmLoadOptions instance |
RvmLoadOptions(FileContentType contentType)
Construct a
RvmLoadOptions instance |
Modifier and Type | Method and 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 16
|
int |
getDishLatitudeSegments()
Gets the number of dish' latitude segments, default value is 8
|
int |
getDishLongitudeSegments()
Gets the number of dish' longitude segments, default value is 12
|
boolean |
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 20
|
int |
getTorusTubularSegments()
Gets the number of torus' tubular segments, default value is 20
|
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:"
|
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 16
|
void |
setDishLatitudeSegments(int value)
Sets the number of dish' latitude segments, default value is 8
|
void |
setDishLongitudeSegments(int value)
Sets the number of dish' longitude segments, default value is 12
|
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.
|
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 20
|
void |
setTorusTubularSegments(int value)
Sets the number of torus' tubular segments, default value is 20
|
getEncoding, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getLookupPaths, lookupForFile, setEncoding, setFileName, setFileSystem, setFileSystemFactory, setLookupPaths
public RvmLoadOptions(FileContentType contentType)
RvmLoadOptions
instancecontentType
- public RvmLoadOptions()
RvmLoadOptions
instancepublic boolean getGenerateMaterials()
public void setGenerateMaterials(boolean value)
value
- New valuepublic int getCylinderRadialSegments()
public void setCylinderRadialSegments(int value)
value
- New valuepublic int getDishLongitudeSegments()
public void setDishLongitudeSegments(int value)
value
- New valuepublic int getDishLatitudeSegments()
public void setDishLatitudeSegments(int value)
value
- New valuepublic int getTorusTubularSegments()
public void setTorusTubularSegments(int value)
value
- New valuepublic int getRectangularTorusSegments()
public void setRectangularTorusSegments(int value)
value
- New valuepublic boolean getCenterScene()
public void setCenterScene(boolean value)
value
- New valuepublic java.lang.String getAttributePrefix()
public void setAttributePrefix(java.lang.String value)
value
- New valuepublic boolean getLookupAttributes()
public void setLookupAttributes(boolean value)
value
- New value