Class AssetInfo


  • public class AssetInfo
    extends A3DObject
    Information of asset. Asset information can be attached to a A3DObject.getScene(). Child A3DObject.getScene() can have its own AssetInfo to override parent's definition.
    • Constructor Summary

      Constructors 
      Constructor Description
      AssetInfo()
      Initializes a new instance of the AssetInfo class.
      AssetInfo​(java.lang.String name)
      Initializes a new instance of the AssetInfo class.
    • Method Summary

      Modifier and Type Method Description
      Vector4 getAmbient()
      Gets or Sets the default ambient color of this asset
      java.lang.String getApplicationName()
      Gets the application that created this asset
      java.lang.String getApplicationVendor()
      Gets the application vendor's name
      java.lang.String getApplicationVersion()
      Gets the version of the application that created this asset.
      java.lang.String getAuthor()
      Gets the author of this asset
      java.lang.String getComment()
      Gets the comment of this asset.
      CoordinatedSystem getCoordinatedSystem()
      Gets the coordinate system used in this asset.
      java.util.Calendar getCreationTime()
      Gets or Sets the creation time of this asset
      java.lang.String getKeywords()
      Gets the keywords of this asset
      java.util.Calendar getModificationTime()
      Gets or Sets the modification time of this asset
      java.lang.String getRevision()
      Gets the revision number of this asset, usually used in version control system.
      java.lang.String getSubject()
      Gets the subject of this asset
      java.lang.String getTitle()
      Gets the title of this asset
      java.lang.String getUnitName()
      Gets the unit of length used in this asset.
      double getUnitScaleFactor()
      Gets the scale factor to real-world meter.
      Axis getUpVector()
      Gets the up-vector used in this asset.
      java.lang.String getUrl()
      Gets or Sets the URL of this asset.
      void setAmbient​(Vector4 value)
      Gets or Sets the default ambient color of this asset
      void setApplicationName​(java.lang.String value)
      Sets the application that created this asset
      void setApplicationVendor​(java.lang.String value)
      Sets the application vendor's name
      void setApplicationVersion​(java.lang.String value)
      Sets the version of the application that created this asset.
      void setAuthor​(java.lang.String value)
      Sets the author of this asset
      void setComment​(java.lang.String value)
      Sets the comment of this asset.
      void setCoordinatedSystem​(CoordinatedSystem value)
      Sets the coordinate system used in this asset.
      void setCreationTime​(java.util.Calendar value)
      Gets or Sets the creation time of this asset
      void setKeywords​(java.lang.String value)
      Sets the keywords of this asset
      void setModificationTime​(java.util.Calendar value)
      Gets or Sets the modification time of this asset
      void setRevision​(java.lang.String value)
      Sets the revision number of this asset, usually used in version control system.
      void setSubject​(java.lang.String value)
      Sets the subject of this asset
      void setTitle​(java.lang.String value)
      Sets the title of this asset
      void setUnitName​(java.lang.String value)
      Sets the unit of length used in this asset.
      void setUnitScaleFactor​(double value)
      Sets the scale factor to real-world meter.
      void setUpVector​(Axis value)
      Sets the up-vector used in this asset.
      void setUrl​(java.lang.String value)
      Gets or Sets the URL of this asset.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AssetInfo

        public AssetInfo()
        Initializes a new instance of the AssetInfo class.
      • AssetInfo

        public AssetInfo​(java.lang.String name)
        Initializes a new instance of the AssetInfo class.
        Parameters:
        name - Name
    • Method Detail

      • getCreationTime

        public java.util.Calendar getCreationTime()
        Gets or Sets the creation time of this asset
      • setCreationTime

        public void setCreationTime​(java.util.Calendar value)
        Gets or Sets the creation time of this asset
        Parameters:
        value - New value
      • getModificationTime

        public java.util.Calendar getModificationTime()
        Gets or Sets the modification time of this asset
      • setModificationTime

        public void setModificationTime​(java.util.Calendar value)
        Gets or Sets the modification time of this asset
        Parameters:
        value - New value
      • getAmbient

        public Vector4 getAmbient()
        Gets or Sets the default ambient color of this asset
      • setAmbient

        public void setAmbient​(Vector4 value)
        Gets or Sets the default ambient color of this asset
        Parameters:
        value - New value
      • getUrl

        public java.lang.String getUrl()
        Gets or Sets the URL of this asset.
      • setUrl

        public void setUrl​(java.lang.String value)
        Gets or Sets the URL of this asset.
        Parameters:
        value - New value
      • getApplicationVendor

        public java.lang.String getApplicationVendor()
        Gets the application vendor's name
      • setApplicationVendor

        public void setApplicationVendor​(java.lang.String value)
        Sets the application vendor's name
        Parameters:
        value - New value
      • getApplicationName

        public java.lang.String getApplicationName()
        Gets the application that created this asset
      • setApplicationName

        public void setApplicationName​(java.lang.String value)
        Sets the application that created this asset
        Parameters:
        value - New value
      • getApplicationVersion

        public java.lang.String getApplicationVersion()
        Gets the version of the application that created this asset.
      • setApplicationVersion

        public void setApplicationVersion​(java.lang.String value)
        Sets the version of the application that created this asset.
        Parameters:
        value - New value
      • getTitle

        public java.lang.String getTitle()
        Gets the title of this asset
      • setTitle

        public void setTitle​(java.lang.String value)
        Sets the title of this asset
        Parameters:
        value - New value
      • getSubject

        public java.lang.String getSubject()
        Gets the subject of this asset
      • setSubject

        public void setSubject​(java.lang.String value)
        Sets the subject of this asset
        Parameters:
        value - New value
      • getAuthor

        public java.lang.String getAuthor()
        Gets the author of this asset
      • setAuthor

        public void setAuthor​(java.lang.String value)
        Sets the author of this asset
        Parameters:
        value - New value
      • getKeywords

        public java.lang.String getKeywords()
        Gets the keywords of this asset
      • setKeywords

        public void setKeywords​(java.lang.String value)
        Sets the keywords of this asset
        Parameters:
        value - New value
      • getRevision

        public java.lang.String getRevision()
        Gets the revision number of this asset, usually used in version control system.
      • setRevision

        public void setRevision​(java.lang.String value)
        Sets the revision number of this asset, usually used in version control system.
        Parameters:
        value - New value
      • getComment

        public java.lang.String getComment()
        Gets the comment of this asset.
      • setComment

        public void setComment​(java.lang.String value)
        Sets the comment of this asset.
        Parameters:
        value - New value
      • getUnitName

        public java.lang.String getUnitName()
        Gets the unit of length used in this asset. e.g. cm/m/km/inch/feet
      • setUnitName

        public void setUnitName​(java.lang.String value)
        Sets the unit of length used in this asset. e.g. cm/m/km/inch/feet
        Parameters:
        value - New value
      • getUnitScaleFactor

        public double getUnitScaleFactor()
        Gets the scale factor to real-world meter.
      • setUnitScaleFactor

        public void setUnitScaleFactor​(double value)
        Sets the scale factor to real-world meter.
        Parameters:
        value - New value
      • getCoordinatedSystem

        public CoordinatedSystem getCoordinatedSystem()
        Gets the coordinate system used in this asset.
      • setCoordinatedSystem

        public void setCoordinatedSystem​(CoordinatedSystem value)
        Sets the coordinate system used in this asset.
        Parameters:
        value - New value
      • getUpVector

        public Axis getUpVector()
        Gets the up-vector used in this asset.
      • setUpVector

        public void setUpVector​(Axis value)
        Sets the up-vector used in this asset.
        Parameters:
        value - New value