Class GaiaScene

All Implemented Interfaces:
Serializable

public class GaiaScene extends SceneStructure implements Serializable
A class that represents a scene of a Gaia object. The largest unit of the 3D file. It contains the nodes and materials.
See Also:
  • Constructor Details

    • GaiaScene

      public GaiaScene(GaiaSet gaiaSet)
  • Method Details

    • updateBoundingBox

      public GaiaBoundingBox updateBoundingBox()
      Updates the bounding box of the scene by iterating through all nodes.
      Returns:
      the updated GaiaBoundingBox of the scene.
    • getRootNode

      public GaiaNode getRootNode()
    • clear

      public void clear()
    • clone

      public GaiaScene clone()
    • calcTriangleCount

      public long calcTriangleCount()
    • extractGaiaFaces

      public List<GaiaFace> extractGaiaFaces(List<GaiaFace> resultFaces)
    • joinAllSurfaces

      public void joinAllSurfaces()
    • doNormalLengthUnitary

      public void doNormalLengthUnitary()
    • deleteNormals

      public void deleteNormals()
    • getFacesCount

      public int getFacesCount()