Class RvmLoadOptions


  • public class RvmLoadOptions
    extends LoadOptions
    Load options for AVEVA Plant Design Management System's RVM file.
    • 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