Package com.gaia3d.basic.model
Class GaiaScene
java.lang.Object
com.gaia3d.basic.model.structure.SceneStructure
com.gaia3d.basic.model.GaiaScene
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
void
void
void
clear()
clone()
void
void
void
extractGaiaFaces
(List<GaiaFace> resultFaces) extractPrimitives
(List<GaiaPrimitive> resultPrimitives) int
void
getFinalVerticesCopy
(List<GaiaVertex> finalVertices) void
void
void
void
void
void
weldVertices
(double error, boolean checkTexCoord, boolean checkNormal, boolean checkColor, boolean checkBatchId)
-
Constructor Details
-
GaiaScene
-
-
Method Details
-
getBoundingBox
-
clear
public void clear() -
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
-
joinAllSurfaces
public void joinAllSurfaces() -
getFinalVerticesCopy
-
extractPrimitives
-
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()
-