Class FileInfoSurfaceXML

All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
FileInfoSurfaceXML_J3D

public class FileInfoSurfaceXML extends FileInfoXML
This structure contains the information that describes how an XML surface (see surface.xsd and FileSurfaceXML.java) is stored on disk.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Use serialVersionUID for interoperability.
      See Also:
    • m_iUnique_ID

      protected int m_iUnique_ID
      Unique ID, for the surface:.
    • m_kType

      protected String m_kType
      Type keyword for the surface:.
    • m_kOpacity

      protected float m_kOpacity
      surface opacity:.
    • m_kLevelDetail

      protected int m_kLevelDetail
      surface level of detail:.
    • meshIndex

      protected int meshIndex
      mesh index.
  • Constructor Details

    • FileInfoSurfaceXML

      public FileInfoSurfaceXML(String name, String directory, int format)
      Main constructor for FileInfoSurfaceXML.
      Parameters:
      name - String file name
      directory - String file directory
      format - int file format (data type)
  • Method Details

    • displayAboutInfo

      public void displayAboutInfo(JDialogBase dlog, TransMatrix kMat)
      Displays the file information.
      Specified by:
      displayAboutInfo in class FileInfoXML
      Parameters:
      dlog - JDialogBase dialog box that is written to
      kMat - DOCUMENT ME!
    • finalize

      public void finalize()
      Prepares the class for cleanup.
      Overrides:
      finalize in class FileInfoXML
    • getID

      public int getID()
      Returns the unique id for the surface:
      Returns:
      DOCUMENT ME!
    • getOpacity

      public float getOpacity()
      Returns the surface opacity value.
      Returns:
      surface opacity.
    • getLevelDetail

      public int getLevelDetail()
      Returns the surface level of detail.
      Returns:
      surface level of detail.
    • getType

      public String getType()
      Returns the surface type keyword:
      Returns:
      DOCUMENT ME!
    • setID

      public void setID(int iID)
      Set the unique id for the surface:
      Parameters:
      iID - DOCUMENT ME!
    • setOpacity

      public void setOpacity(float opacity)
      set the surface opacity keyword:
      Parameters:
      opacity - surface opacity
    • setLevelDetail

      public void setLevelDetail(int levelDetail)
      set the surface level of detail keyword:
      Parameters:
      level - of detail
    • setType

      public void setType(String kType)
      set the surface type keyword:
      Parameters:
      kType - DOCUMENT ME!
    • updateFileInfos

      public void updateFileInfos(FileInfoXML fInfo)
      Used to propogate all FileInfoSurfaceXML private variables to other FileInfosSurfaceXML.
      Specified by:
      updateFileInfos in class FileInfoXML
      Parameters:
      fInfo - FileInfoSurfaceXML file info to be copied into