public abstract class AbstractSceneCompilerObserver extends java.lang.Object implements SceneCompilerObserver
AbstractSceneCompilerObserver
is an abstract implementation of SceneCompilerObserver
that does nothing by default.
You may extend this class if you only want to override some of the methods in SceneCompilerObserver
.
Modifier | Constructor and Description |
---|---|
protected |
AbstractSceneCompilerObserver()
Constructs a new
AbstractSceneCompilerObserver instance. |
Modifier and Type | Method and Description |
---|---|
void |
onComparisonBoundingVolumeHierarchyRootNode(Scene scene,
long milliseconds,
int boundingVolumeHierarchyRootNodeCountAll,
int boundingVolumeHierarchyRootNodeCountUnique)
Called by a
SceneCompiler to report statistics about the BoundingVolumeHierarchy root BoundingVolumeHierarchy.Node s. |
void |
onComparisonPlane(Scene scene,
long milliseconds,
int planeCountAll,
int planeCountUnique)
Called by a
SceneCompiler to report statistics about the Plane s. |
void |
onComparisonPoint2F(Scene scene,
long milliseconds,
int point2FCountAll,
int point2FCountUnique)
Called by a
SceneCompiler to report statistics about the Point2F s. |
void |
onComparisonPoint3F(Scene scene,
long milliseconds,
int point3FCountAll,
int point3FCountUnique)
Called by a
SceneCompiler to report statistics about the Point3F s. |
void |
onComparisonPrimitive(Scene scene,
long milliseconds,
int primitiveCountAll,
int primitiveCountUnique)
Called by a
SceneCompiler to report statistics about the Primitive s. |
void |
onComparisonSphere(Scene scene,
long milliseconds,
int sphereCountAll,
int sphereCountUnique)
Called by a
SceneCompiler to report statistics about the Sphere s. |
void |
onComparisonSurface(Scene scene,
long milliseconds,
int surfaceCountAll,
int surfaceCountUnique)
Called by a
SceneCompiler to report statistics about the Surface s. |
void |
onComparisonTerrain(Scene scene,
long milliseconds,
int terrainCountAll,
int terrainCountUnique)
Called by a
SceneCompiler to report statistics about the Terrain s. |
void |
onComparisonTexture(Scene scene,
long milliseconds,
int textureCountAll,
int textureCountUnique)
Called by a
SceneCompiler to report statistics about the Texture s. |
void |
onComparisonTriangle(Scene scene,
long milliseconds,
int triangleCountAll,
int triangleCountUnique)
Called by a
SceneCompiler to report statistics about the Triangle s. |
void |
onComparisonTriangleMesh(Scene scene,
long milliseconds,
int triangleMeshCountAll,
int triangleMeshCountUnique)
Called by a
SceneCompiler to report statistics about the TriangleMesh es. |
void |
onComparisonVector3F(Scene scene,
long milliseconds,
int vector3FCountAll,
int vector3FCountUnique)
Called by a
SceneCompiler to report statistics about the Vector3F s. |
void |
onCompilationEnd(Scene scene,
long milliseconds)
Called by a
SceneCompiler to report when the compilation process ends. |
void |
onCompilationStart(Scene scene,
long milliseconds)
Called by a
SceneCompiler to report when the compilation process starts. |
protected AbstractSceneCompilerObserver()
AbstractSceneCompilerObserver
instance.public void onComparisonBoundingVolumeHierarchyRootNode(Scene scene, long milliseconds, int boundingVolumeHierarchyRootNodeCountAll, int boundingVolumeHierarchyRootNodeCountUnique)
SceneCompiler
to report statistics about the BoundingVolumeHierarchy
root BoundingVolumeHierarchy.Node
s.onComparisonBoundingVolumeHierarchyRootNode
in interface SceneCompilerObserver
scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondsboundingVolumeHierarchyRootNodeCountAll
- the BoundingVolumeHierarchy
root Node
countboundingVolumeHierarchyRootNodeCountUnique
- the unique BoundingVolumeHierarchy
root Node
countpublic void onComparisonPlane(Scene scene, long milliseconds, int planeCountAll, int planeCountUnique)
SceneCompiler
to report statistics about the Plane
s.onComparisonPlane
in interface SceneCompilerObserver
scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondsplaneCountAll
- the Plane
countplaneCountUnique
- the unique Plane
countpublic void onComparisonPoint2F(Scene scene, long milliseconds, int point2FCountAll, int point2FCountUnique)
SceneCompiler
to report statistics about the Point2F
s.onComparisonPoint2F
in interface SceneCompilerObserver
scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondspoint2FCountAll
- the Point2F
countpoint2FCountUnique
- the unique Point2F
countpublic void onComparisonPoint3F(Scene scene, long milliseconds, int point3FCountAll, int point3FCountUnique)
SceneCompiler
to report statistics about the Point3F
s.onComparisonPoint3F
in interface SceneCompilerObserver
scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondspoint3FCountAll
- the Point3F
countpoint3FCountUnique
- the unique Point3F
countpublic void onComparisonPrimitive(Scene scene, long milliseconds, int primitiveCountAll, int primitiveCountUnique)
SceneCompiler
to report statistics about the Primitive
s.onComparisonPrimitive
in interface SceneCompilerObserver
scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondsprimitiveCountAll
- the Primitive
countprimitiveCountUnique
- the unique Primitive
countpublic void onComparisonSphere(Scene scene, long milliseconds, int sphereCountAll, int sphereCountUnique)
SceneCompiler
to report statistics about the Sphere
s.onComparisonSphere
in interface SceneCompilerObserver
scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondssphereCountAll
- the Sphere
countsphereCountUnique
- the unique Sphere
countpublic void onComparisonSurface(Scene scene, long milliseconds, int surfaceCountAll, int surfaceCountUnique)
SceneCompiler
to report statistics about the Surface
s.onComparisonSurface
in interface SceneCompilerObserver
scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondssurfaceCountAll
- the Surface
countsurfaceCountUnique
- the unique Surface
countpublic void onComparisonTerrain(Scene scene, long milliseconds, int terrainCountAll, int terrainCountUnique)
SceneCompiler
to report statistics about the Terrain
s.onComparisonTerrain
in interface SceneCompilerObserver
scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondsterrainCountAll
- the Terrain
countterrainCountUnique
- the unique Terrain
countpublic void onComparisonTexture(Scene scene, long milliseconds, int textureCountAll, int textureCountUnique)
SceneCompiler
to report statistics about the Texture
s.onComparisonTexture
in interface SceneCompilerObserver
scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondstextureCountAll
- the Texture
counttextureCountUnique
- the unique Texture
countpublic void onComparisonTriangle(Scene scene, long milliseconds, int triangleCountAll, int triangleCountUnique)
SceneCompiler
to report statistics about the Triangle
s.onComparisonTriangle
in interface SceneCompilerObserver
scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondstriangleCountAll
- the Triangle
counttriangleCountUnique
- the unique Triangle
countpublic void onComparisonTriangleMesh(Scene scene, long milliseconds, int triangleMeshCountAll, int triangleMeshCountUnique)
SceneCompiler
to report statistics about the TriangleMesh
es.onComparisonTriangleMesh
in interface SceneCompilerObserver
scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondstriangleMeshCountAll
- the TriangleMesh
counttriangleMeshCountUnique
- the unique TriangleMesh
countpublic void onComparisonVector3F(Scene scene, long milliseconds, int vector3FCountAll, int vector3FCountUnique)
SceneCompiler
to report statistics about the Vector3F
s.onComparisonVector3F
in interface SceneCompilerObserver
scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondsvector3FCountAll
- the Vector3F
countvector3FCountUnique
- the unique Vector3F
countpublic void onCompilationEnd(Scene scene, long milliseconds)
SceneCompiler
to report when the compilation process ends.onCompilationEnd
in interface SceneCompilerObserver
scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in millisecondspublic void onCompilationStart(Scene scene, long milliseconds)
SceneCompiler
to report when the compilation process starts.onCompilationStart
in interface SceneCompilerObserver
scene
- the Scene
being compiledmilliseconds
- the time the compilation process has taken this far, in milliseconds