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

    • getBoundingBox

      public GaiaBoundingBox getBoundingBox()
    • clear

      public void clear()
    • clone

      public GaiaScene clone()
    • calcTriangleCount

      public long calcTriangleCount()
    • makeTriangleFaces

      public void makeTriangleFaces()
    • weldVertices

      public void weldVertices(double error, boolean checkTexCoord, boolean checkNormal, boolean checkColor, boolean checkBatchId)
    • unWeldVertices

      public void unWeldVertices()
    • extractGaiaFaces

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

      public void joinAllSurfaces()
    • getFinalVerticesCopy

      public void getFinalVerticesCopy(List<GaiaVertex> finalVertices)
    • extractPrimitives

      public List<GaiaPrimitive> extractPrimitives(List<GaiaPrimitive> resultPrimitives)
    • doNormalLengthUnitary

      public void doNormalLengthUnitary()
    • deleteNormals

      public void deleteNormals()
    • deleteDegeneratedFaces

      public void deleteDegeneratedFaces()
    • spendTranformMatrix

      public void spendTranformMatrix()
    • makeTriangularFaces

      public void makeTriangularFaces()
    • getFacesCount

      public int getFacesCount()
    • calculateNormal

      public void calculateNormal()
    • calculateVertexNormals

      public void calculateVertexNormals()